This content has been marked as final.
Show 3 replies
-
1. Re: Problem of updating component on a page after ajax?s cal
pmuir Sep 18, 2007 8:02 AM (in response to jquery)You'll need to do a partial page refresh on that bit of the page e.g. using RichFaces. Or do it manually using Remoting.
-
2. Re: Problem of updating component on a page after ajax?s cal
jquery Sep 18, 2007 8:43 AM (in response to jquery)Thanks for the answer. As I understood one way to achieve what I expect is to return from changeList() method a long string (i.e comma separated values) then in JavaScript reparse it to appropriate values and eventually load selectOneMenu with those values. This is of course not very convenient way! But how to do a partial refresh using rich faces (what components should I use?) assuming the following part of jsf page:
... <h:selectOneMenu value="#{employeeHome.instance.person}" > <s:selectItems value="#{personList.resultList}" var="person" label="#{person.lastName}" /> <s:convertEntity/> </h:selectOneMenu> ...
-
3. Re: Problem of updating component on a page after ajax?s cal
pmuir Sep 18, 2007 12:25 PM (in response to jquery)a:support and reRender I think (actually you'll probably find it easier to do all of this using RichFaces.