Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why is outputLink not outputting correctly?

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have this JSF:

<hutputLink value='#{ConfigLoginBean.logoutURL}'>Sign Out</hutputLink>

but what is being output to the browser is

Sign Out<a id="_idJsp2:_idJsp4" name="_idJsp2:_idJsp4" href="https://rhonti:8020/npsconfiggui/jsp/login.jsf?logout=true"></a>

I'm sure this is something really obvious, but could you advise me how to get my "Sign Out" link to be hyperlinked?

Thanks, - Dave
 
Andres Quinones
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should work for you.

<hutputLink value="#{ConfigLoginBean.logoutURL}"> <hutputText value="Sign Out"/> </hutputLink>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic