Hi Hans,

You say you are using "current myfaces with Sun RI". What does that
mean? You can use *either* the myfaces JSF implementation *or* the Sun
RI (Reference Implementation), but not both; they do exactly the same
thing.

Perhaps you mean you're using myfaces-tomahawk on Sun RI? But I can't
see any tomahawk tags in your example...

The issue Dennis is referring to below only applies when using
myfaces-tomahawk t:dataTable component with the Sun JSF implementation,
which I don't *think* you're doing, though it's not entirely clear...

Regards,

Simon


On Fri, 2006-01-13 at 00:01 +0000, Dennis Byrne wrote:
> You may want to add your self as a watcher on this one.
> 
> http://issues.apache.org/jira/browse/MYFACES-1010
> 
> Dennis Byrne
> 
> >-----Original Message-----
> >From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, January 12, 2006 06:40 PM
> >To: 'MyFaces Discussion'
> >Subject: 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
> >
> >
> >
> 
> 

Reply via email to