[jboss-user] [JBoss Seam] - rendered="#{not identity.loggedIn}"

tony.herstell@gmail.com do-not-reply at jboss.com
Mon Feb 26 21:27:18 EST 2007


The state of the identity is either 
  logged in
  or 
  not logged in.

Would it be possible to add another flag to identity (user controlled) to show if the user is registering 
  registering
  or
  not registering


I have got round this, so far, by storing a scope variable myself as to whether the user is currently registering?

rendered="#{(not identity.loggedIn) and (not xxxxx.registering)}"


Naturally setting whether the joe is registering is up to the programmer and will be basically transparent if not used.


Is this a common enough requirement to merit its inclusion in the identity object?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022813#4022813

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022813



More information about the jboss-user mailing list