[ http://issues.apache.org/jira/browse/MYFACES-627?page=all ] Mathias Broekelmann reopened MYFACES-627: -----------------------------------------
We now have a client id with double _0_0, _1_1 and so on. To solve this we have to copy the implementation from UIComponentBase.getClientId() to the derived UIData components. I will not do this since if someone changes this implementation we have to copy the code again and again. Having the rowid duplicated into the client id isn´t preverable either. I rather suggest the ri users either to make an issue for the sun ri implemtation to use getRowIndex(). This will be the most elegant solution but can´t be achived by myfaces. > valueChangeListener not called for elements in HtmlDataTable > ------------------------------------------------------------ > > Key: MYFACES-627 > URL: http://issues.apache.org/jira/browse/MYFACES-627 > Project: MyFaces > Type: Bug > Components: Tomahawk > Versions: 1.1.1 > Environment: JSF RI 1.1.01 > Reporter: Keith Lynch > Assignee: Mathias Broekelmann > Priority: Critical > Fix For: Nightly > Attachments: HtmlDataTableHack.patch > > The processValueChange method is never called in some cases and called only > for the first element in the list for others. > If the value of the first row inside the inputText component is changed then > the valueChangeListener is called. If the inputText component in any other > row is changed the valueChangeListener is not called. > The valueChangeListener is never called for the selectBooleanCheckbox. > I have not tested with any other sub-components. > This is possibly an RI compatibility issue however I cannot test with the > myfaces impl as I am using components which are not compatible with it. > x:dataTable value="#{ilrTestsMgr.details.currentPageContent}" > var="test" > rendered="true" > rowClasses="even-row,odd-row" > styleClass="bluelist" > width="100%"> > <h:column> > <f:facet name="header"> > <h:outputText value="#{bundle.generic_enabled}"/> > </f:facet> > <h:selectBooleanCheckbox value="#{test.enabled}" > valueChangeListener="#{ilrTestsMgr.details.processValueChange}"/> > </h:column> > <h:column> > <f:facet name="header"> > <h:outputText value="#{bundle.testcase_value}"/> > </f:facet> > <h:inputText value="#{test.expected}" > valueChangeListener="#{ilrTestsMgr.details.processValueChange}"/> > </h:column> > > </x:dataTable> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
