The scoped variable is used to pass the selected rowdata id to a panel which displays more detail. This works when the link column is in a view control, but not a Data Table. The example below uses a requestScope
but I have also tried sessionScope
and viewScope
for a dialogToolTip version of the details panel. In each case, full or partial refresh will occur, but the scoped variable is always null. Note: the data table is normally nested within a tabbed panel, but I have also tested it on a clean XPage with no table nesting, with the same result. Domino release 8.5.3 w/ extension lib.
<xp:column id="column11">
<xp:this.facets>
<xp:label value="INVOICE NBR" id="label7" xp:key="header"
style="font-weight:bold">
</xp:label>
</xp:this.facets>
<xp:link escape="true" id="link1" value="#{id:column11}">
<xp:this.text><![CDATA[#{javascript:return rowdoc.getItemValueString("StorInvID");}]]>
</xp:this.text>
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete">
<xp:this.action><![CDATA[#{javascript:requestScope.invCompare = rowdoc.getItemValueString("StorInvID");}]]></xp:this.action>
</xp:eventHandler>
</xp:link>
</xp:column>