Topbar Menu Point as href

Locked
mrgn157
Posts: 8
Joined: 31 Aug 2012, 11:17

10 Jul 2016, 20:38

Hello,

I wanted to Use the Loginbutton in the Topbar to redirect to my Loginpage.
Unfortunatly the href link is not executing, could you tell how I get it to work.

Here is a little sample.

Code: Select all

  	<li>
	      <a class="ripplelink" href="#{request.contextPath}/security/login.xhtml"><i class="fa fa-sign-in"></i> <span class="ShowOnMobile"> #{label['LOGIN']}</span></a>
	</li>
Example Pic -----> https://pl.vc/a920d

Thanks
- Primefaces: 7.0
- JSF: 2.2.8
- Wildfly: 8.2
- Java: 8

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

11 Jul 2016, 15:09

I think you can use jsf:outcome with JSF2.2 in your html anchor as outcome of menuitem OR <a jsf:action="..." /> . Please see; http://www.beyondjava.net/blog/jsf-2-2- ... eat-sheet/

Locked

Return to “Modena”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests