cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hill Karimov <hillolid...@yahoo.com>
Subject logic in sitemap.xmap
Date Mon, 02 Jun 2003 16:21:17 GMT
Hi all,

Is possible to use complex logic in sitemap?
How I know I can use this code:
        <map:select type="request-attribute">
          <map:parameter name="attribute-name"
value="cocoon-action-run"/>
          <map:when test="true">
          ...
for logic:
  if (
"true".equals(request.getAttribute("cocoon-action-run"))
) {
    ...

so now I want more, how can I check for null:
   if ( session.getAttribute("my-attribute") == null )
{
       ...

What logics possible in sitemap?

Any advice, tips, links, docs,
Thanks a lot,
Hill

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message