Modena Menu not render with Spring Security

Post Reply
hairi11
Posts: 21
Joined: 18 Apr 2016, 16:13

18 Sep 2016, 16:20

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

hairi11
Posts: 21
Joined: 18 Apr 2016, 16:13

11 Nov 2016, 09:37

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

User avatar
aragorn
Posts: 2607
Joined: 29 Jun 2013, 12:38

11 Nov 2016, 10:36

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>

hairi11
Posts: 21
Joined: 18 Apr 2016, 16:13

13 Nov 2016, 03:01

Thanks Mr aragorn for your reply.

It's solved my problem.

User avatar
aragorn
Posts: 2607
Joined: 29 Jun 2013, 12:38

15 Nov 2016, 14:51

Glad to hear, thanks for the update!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest