Hm, curious, there is no significant difference to the MyFaces example page as I see.
The master/detail MyFaces example works for you?


Manfred



Matt Crockett 8441 wrote:
Hi all,

I am having a problem with submitting the correct value to the 'detail'
portion of a master/detail. It keeps submitting the id of the last
element displayed in the table.

The generated html looks something like this this:
<a href="#" onclick="....." id="data:_id25";>239109</a>
<a href="#" onclick="....." id="data:_id25";>317089</a>
<a href="#" onclick="....." id="data:_id25";>810569</a>
...etc...

But I think is should look like this:
<a href="#" onclick="....." id="data_1:_id25">239109</a>
<a href="#" onclick="....." id="data_2:_id25">317089</a>
<a href="#" onclick="....." id="data_3:_id25">810569</a>

I'm out of ideas. Any suggestions? I am using myfaces-1.0.7.

Thanks,

Matthew Crockett
[EMAIL PROTECTED]


-------------------------------
<x:dataTable
styleClass="scrollerTable"
headerClass="standardTable_Header"
footerClass="standardTable_Header"
rowClasses="standardTable_Row1,standardTable_Row2"
columnClasses="standardTable_ColumnCentered" id="data" var="customer"
value="#{customerSearch.customers}" preserveDataModel="true">

<h:column>
<f:facet name="header">
<h:outputText value="Cust ID" />
</f:facet>
<x:commandLink action="go_customer" immediate="true">
<h:outputText value="#{customer.customer_id}" />
<x:updateActionListener
property="#{customerSearch.selectedCustomerID}" value="#{customer.customer_id}" />
</x:commandLink>
</h:column>


</x:dataTable>



Reply via email to