You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hansjörg Meuschel <hj...@gmx.de> on 2006/01/13 00:40:25 UTC
commandlink/button client-id bug
Hi guys,
the following jsf code:
<h:form id="theForm">
<h:dataTable value="#{myBean.allXYBeans}" var="myBeanXYBean" id="table1">
<h:column>
<h:dataTable value="#{myBeanXYBean.allZBeans}" var="ZBean" id="table2">
<h:column>
<h:input type="text" value="#{ZBean.username}" id="username"/>
<h:commandButton value="SAVE" action="#{ZBean.saveUsername}"
id="savebutton"/>
</h:column>
</h:dataTable>
</h:column>
</h:dataTable>
</h:form>
--> all data can be submitted, but commandButton / commandlink
components get identical client-ids:
theForm:table1:savebutton
--> very strange about this - the iteration on the text input is
correctly done: [that's why the data can be submitted]
theForm:table1:0:table2:username ... theForm:table1:6:table2:username
Do you experience the same problem or is there any know bug?
Any ideas for a workarround/bugfix ?
Thanks for anyreplies!
Regards,
Hans
PS. I'm using the current myfaces implementation with JSF RI 1.1.01 on
apache tomcat 5