cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hill Karimov <hillolid...@yahoo.com>
Subject Re: logic in sitemap.xmap
Date Tue, 03 Jun 2003 05:27:03 GMT
I use cocoon 2.1 dev.
How more complex logics I can use?
Is there some docs, examples or links?
What is 'check out "flow"' ?
Could you give me some example?

Thanks a lot,
Hill

--- Geoff Howard <cocoon@leverageweb.com> wrote:
> 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:
> cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


__________________________________
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