Hi,
Good morning,
I am using pe:masterDetail component in my project and it is working fine in most of the scenarios as per my requirement.
But i have one more scenario like i have to visit any menu item randomly.
For Example,
MenuItem1 -> MenuItem2 -> MenuItem3
For this i want to make all menu items(MenuItem1, MenuItem2 and MenuItem3) active so that I can visit or goto any menu item randomly.
Presently, I am unable to achieve this scenario.
Kindly guide me to achieve this scenario using masterDetail component.
thanks.
how to make all menu items active in pe:masterDetail compont
-
- Posts: 36
- Joined: 19 Jul 2013, 11:01
Sreenivasulu N
Primefaces-5.0
primefaces-extensions-2.0
JSF2.1.7
JBoss 7.1.1
Primefaces-5.0
primefaces-extensions-2.0
JSF2.1.7
JBoss 7.1.1
Hi,
Try to use custom items in breadcrumb like these ones: http://www.primefaces.org/showcase-ext/ ... gation.jsf (setting showBreadcrumb="false" is required). Aftherthat you can code breadcrumb items als buttons or links which invoke an acrion / actionListener. Action / actionListener should set the proper currentLevel (see the property level="#{wizardMasterDetailController.currentLevel}" in the pe:masterDetail) and update the whole pe:masterDetail component. It should work.
Try to use custom items in breadcrumb like these ones: http://www.primefaces.org/showcase-ext/ ... gation.jsf (setting showBreadcrumb="false" is required). Aftherthat you can code breadcrumb items als buttons or links which invoke an acrion / actionListener. Action / actionListener should set the proper currentLevel (see the property level="#{wizardMasterDetailController.currentLevel}" in the pe:masterDetail) and update the whole pe:masterDetail component. It should work.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
It is not really a hard work.Try this one by one and get success.To know more details about academic editors available, please follow this link.
academic editors available
academic editors available
-
- Posts: 36
- Joined: 19 Jul 2013, 11:01
Hi Mr.Oleg,
Thank you very much for your advice.
I have done as you said, It is working very nicely.
Now i can able to visit any menu item randomly.
Thank you very much...
Thank you very much for your advice.
I have done as you said, It is working very nicely.
Now i can able to visit any menu item randomly.
Thank you very much...
Sreenivasulu N
Primefaces-5.0
primefaces-extensions-2.0
JSF2.1.7
JBoss 7.1.1
Primefaces-5.0
primefaces-extensions-2.0
JSF2.1.7
JBoss 7.1.1
Nice to hear it worsk. Enjoy.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests