Hi.
I'm trying to use the new RIO theme, but I found a big issue related with the layout menu, I need to put the all menu inside of a FORM tag to use actions atts, but unfortunately when I place it in a form, the menu items not working and children are not displayed. Even with the demo app included in the package this issue is displayed.
This did not happen to me before when using sentinel...... very frustrating issue :S
Big Issue with rio menu inside of FORM
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I've replicated the issue. I think you can change with .find() selector instead of .children() selector in layout.js for now (resources/rio-layout/js/layout.js). We will add a similar solution for next Rio Release.
Code: Select all
//in init() function
this.menu = this.menuWrapper.find('.rio-menu');
this.menulinks = this.menuWrapper.find('.layout-menu a.menulink');
Github Profile: https://github.com/mertsincan
Thank you aragorn, it works like a charmaragorn wrote:I've replicated the issue. I think you can change with .find() selector instead of .children() selector in layout.js for now (resources/rio-layout/js/layout.js). We will add a similar solution for next Rio Release.Code: Select all
//in init() function this.menu = this.menuWrapper.find('.rio-menu'); this.menulinks = this.menuWrapper.find('.layout-menu a.menulink');
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
you're welcome.
Github Profile: https://github.com/mertsincan
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Fixed for 1.0.1 due 22th.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Rio 1.1 Released; http://blog.primefaces.org/?p=3560
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests