Complex logic is intentionally excluded. What version are you using? 2.0 you are limited to Actions, Selectors and Matchers. In 2.1 you have the same, but check out "flow" which allows more complex logic.
Geoff
At 12:21 PM 6/2/2003, you wrote:
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
