-
1. Re: Rerender a DataScroller problem.
rammi123 Oct 4, 2007 8:36 AM (in response to claudionor)hi
i am also facing the same problem, when i am trying to reRender the DataScroller on change of the Select Menu that is giving Duplicate ID error of DataScrollerFirst ..
Any Suggestion on this
Thanks in advance -
2. Re: Rerender a DataScroller problem.
ilya_shaikovsky Oct 4, 2007 12:12 PM (in response to claudionor)Paste environment information. And pages.
-
3. Re: Rerender a DataScroller problem.
rammi123 Oct 5, 2007 2:42 AM (in response to claudionor)hi
<t:selectOneMenu id="jobtypesmenu" value="#{JobDetailsTable.selectedJobType}">
<f:selectItems value="#{JobDetailsTable.jobtypes}"/>
<a4j:support actionListener="#{JobDetailsTable.showJobdetailsbyType}" ajaxSingle="true"
event="onchange" reRender="jobsblock,jobsscroller">
</a4j:support>
</t:selectOneMenu>
above is the select menu, i where i wil have job types, on change of this menu i am executing the action method and extracting the jobs from the server, based on the job count my dataScroller also need to be refreshed. so i placed data scroller in a a4j:outputPanel and reRendering that when iam changing the menu.
Here i am able to see th changed jobs, but the datascoller is not refreshed. if initially it is having 5 pages, after changing the job type, if job count is only 1 then it should not display the datascroller, but it is still showing the old count and paginator links. -
4. Re: Rerender a DataScroller problem.
rammi123 Oct 5, 2007 5:34 AM (in response to claudionor)it has solution .. refer ....
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054097#4054097