Hi.
I'm facing problem to render Modena Menu when applying Spring Security.
The menu <pm:menu> showing 'X Red Icon' when I clicked on it without showing Menu list.
But it can show the list with <p:menu> but without proper render.
(Snapshot) https://drive.google.com/open?id=0ByXfn ... UZPUmdtRms
Thanks.
/Hairi
Modena Menu not render with Spring Security
Hi.
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-modena.taglib.xml,/WEB-INF/springsecurity.taglib.xml</param-value>
</context-param>
I notice that the taglib is replacing each others.
Which one is the last will take effect.
In above config, modena.taglib will not work but springsecurity.taglib will work.
If I switch their position, the thing will work vise versa.
Anybody know how to combine to make both work???
Thanks
/Hairi
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-modena.taglib.xml,/WEB-INF/springsecurity.taglib.xml</param-value>
</context-param>
I notice that the taglib is replacing each others.
Which one is the last will take effect.
In above config, modena.taglib will not work but springsecurity.taglib will work.
If I switch their position, the thing will work vise versa.
Anybody know how to combine to make both work???
Thanks
/Hairi
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
If you use modena theme.jar in your project, you don't need to add modena tag lib into web.xml. We add tag lib into jar. If not, please try;
Code: Select all
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-modena.taglib.xml;/WEB-INF/springsecurity.taglib.xml</param-value>
</context-param>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest