|
Hi, IM using myfaces with ajax4jsf for my application. ON typing
on some values in the input text, my datatable gets Updated accordingly. But the problem im facing is the setter for the bean gets
updated after the datatable [model] is called. Hence The application fails. That is after I enter something, the
requests goes to the server but the bean attribute is set after the
datamodel is called by the datatable. I thought it might be ajax4jsf problem, so I removed the I was wondering if anybody could tell me how to get the correct
order ie the setter sets the bean and then the datatable gets called. Thanx ABhi I have added the code for my jsf < <h:inputText id="input" value="#{chooserHandler.userId}" > <
</h:inputText>
<h:dataTable id="namesList"
value="#{chooserHandler.user}"
var="nlist" headerClass="chartheader"
footerClass="chartfooter"
rowClasses="chartrow2,
chartrow1" columnClasses="chartbody" styleClass="charttable" cellpadding="0" cellspacing="0"> <h:column> <f:facet name="header"> <h:outputText value="Employee Details" /> </f:facet> <h:commandLink action="#{chooserHandler.navigateNext}"> <h:outputText value="#{nlist.lastName}" /> </h:commandLink> </h:column>
</h:dataTable>
</ |
Title: Locating components by id
- RE: Locating components by id Rhys Parry
- AJAX - JSF issue Abhishek Chatterjee
- RE: Locating components by id James Richards

