> From: Stefano Bonnin [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> I want check if the session is new, so, I have to use
<xsp-session:is-new>
> tag.
> 
> How can I use this tag?
> 
> Can I write a code as following
> 
> boolean isNew = <xsp-session:is-new/>;

Yes. Try it.


> or
> 
> if (<xsp-session:is-new/>) .....

Yep. Try it also.


> In other words, how can I use this tag?

As shown above :)

 
> (I ask this because I didn't see any example about it.

(See
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/docs/samples/xs
p/session.xsp?rev=1.4&content-type=text/vnd.viewcvs-markup)

Vadim



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to