Modena Menu not render with Spring Security

Locked
hairi11
Posts: 25
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: 25
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

mert.sincan
Posts: 5281
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: 25
Joined: 18 Apr 2016, 16:13

13 Nov 2016, 03:01

Thanks Mr aragorn for your reply.

It's solved my problem.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

15 Nov 2016, 14:51

Glad to hear, thanks for the update!

Locked

Return to “Modena”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests