This content has been marked as final.
Show 1 reply
-
1. Re: dynamic appearing data tables
daniel.soneira Sep 5, 2008 3:15 AM (in response to ajanz)either use some a4j:support (onclick) that trigger actions which in turn set some model attribute that is used to render the tables like so:
<a4j:commandLink action="#{myController.changeAttribute1}" reRender="regionTable1"/> <a4j:outputPanel id="regionTable1" rendered="#{myModel.attribute1}"> <rich:dataTable> ... </rich:dataTable> </a4j:outputPanel>
or use jQuery - that would not require an AJAX request, but on reload of the page the tables' visible state would be lost/reset without further actions.