This content has been marked as final.
Show 3 replies
-
1. Re: Dynamic java code for DataTable ?
nbelaevski Oct 22, 2008 6:07 AM (in response to prasad_k)Use binding for dataTable and add component using javax.faces.component.UIComponent.getFacets().
Another option: use ui:component Facelets tag inside your facet and bind it to what you want. -
2. Re: Dynamic java code for DataTable ?
prasad_k Oct 22, 2008 8:10 AM (in response to prasad_k)Hi nbelaevski,
Thank for reply.
I doing dynamic datatable but i don't know how to do dynamic java code for <f:facet name="footer"> in richfaces . please help me ...........
Thank You -
3. Re: Dynamic java code for DataTable ?
nbelaevski Oct 22, 2008 9:18 AM (in response to prasad_k)The same as in JSF:
HtmlDatascroller datascroller = new HtmlDatascroller(); datascroller.setAjaxSingle(false); this.dataTable.getFacets().put("footer", datascroller);