hi hill,

geoff refers to the flow layer (the layer supposed to control the web app
flow). check out the cocoon wiki (http://wiki.cocoondev.org/) and search for
'flow'.

the language for the flow layer is basically pluggable (though it has to
support continuations), it defaults to javascript.

> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Auftrag von Hill Karimov
> Gesendet: Dienstag, 3. Juni 2003 07:27
> An: [EMAIL PROTECTED]
> Betreff: Re: logic in sitemap.xmap
>
>
> 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 <[EMAIL PROTECTED]> 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:
> > [EMAIL PROTECTED]
> > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________
> 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]

Reply via email to