Hi all I have a tool bar that is included in the head of the html page and it contains 3 buttons on witch I would like to change the content of the same html page: each button show a data table in the content of the page.
the data tables are already prepared using managed beans and the html page(in a <ui:include /> tags)
how can I get that work?
thanks for help( I am using primefaces 3.3.1 and jsf 2.0)
events handling on tool bar
There is no URL attribute for commandbutton to work with toolbar so i went for menubar instead toolbar.If you use menubar instead toolbar then create <ui:insert...> for header,content and footer section in one template and define the content section in other page with URL attribute for each menu item.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
I mean we don't have url attribute for command button to work with toolbar so i used menubar with menuitems in template page content section.And we will see different content section with respect to each page.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
-
- Information
-
Who is online
Users browsing this forum: No registered users and 44 guests