You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "ihepda@libero.it" <ih...@libero.it> on 2003/05/14 09:39:29 UTC
Velocity Session Attribute
Hi,
I've understood the problem:
If $data.session.getAttribute("title") return null Velocity don't change the statement:
that is:
<input type=text name=title value='$data.session.getAttribute("title")' />
if $data.session.getAttribute("title") == null
<input type=text name=title value='$data.session.getAttribute("title")' />
if $data.session.getAttribute("title") == HI
<input type=text name=title value='HI' />
It's correct?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org