shiro-faces icon indicating copy to clipboard operation
shiro-faces copied to clipboard

Composite component woes

Open fusiongyro opened this issue 12 years ago • 0 comments

This looked like a reasonable way to implement a login/logout link:

  <shiro:guest>
    Welcome, guest! <h:link outcome="pretty:login" value="Login"/>
  </shiro:guest>
  <shiro:authenticated>
    Welcome back, <shiro:principal/>! 
    <h:commandLink value="Logout" action="#{authenticationUI.logout}"/>
  </shiro:authenticated>

This works perfectly in an ordinary Facelets page. But if I move it into a composite component, it works fine except the <shiro:principal/> tag displays the empty string.

Thanks!

fusiongyro avatar Jul 13 '12 14:07 fusiongyro