I would like to bound the getAddress method of the Profile class to a repeat control to display the values.
From what I understand is that the getAddress method returns an object and not a map. Otherwise I could have tried:
<xp:repeat id="repeat1" rows="30"
value="#{javascript:ServiceBean.getMyProfile().getAddress()}" var="rowData" indexVar="rowIndex">
<xp:panel>
<xp:text escape="true" id="computedField10">
<xp:this.value><![CDATA[#{javascript:rowData.getKey()}]]></xp:this.value>
</xp:text>-
<xp:text escape="true" id="computedField11" value="#{javascript:rowData.getValue()}">
</xp:text>
<xp:br></xp:br></xp:panel>
</xp:repeat>
What can I try instead/how to handle the returned object?