cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [C2] Suggestion for FlowMap
Date Mon, 28 May 2001 15:53:55 GMT


Giacomo Pati a écrit :
> 
> Quoting "Piroumian, Konstantin" <KPiroumian@flagship.ru>:
> 
> > Hi, Cocooners!
> >
> > How do you feel about having a possibility to inherit action sets and
> > extend
> > them by other actions. In this case you can have one root action-set for
> > the
> > whole web application, which can include: session tracking, language
> > selection, authorization, etc. actions. Then in every particular case
> > the
> > sub-system can add its own behavior by extending that actions set. E.g.:
> >
> > <action-set name="main">
> >     <act type="check-session" />
> >     <act type="lang-select" />
> >     <act type="some-other-action" />
> > </action-set>
> >
> > Then it can be extended:
> >
> > <action-set name="forms" extends="main">
> >     <act type="form-validate" />
> >     <act type="navigate" />
> > </action-set>
> >
> > <action-set name="menu" extends="main">
> >     <act type="menu-action" />
> > </action-set>
> 
> IIRC this is already addressed by:
> 
>  <action-set name="forms">
>      <act set="main"/>
>      <act type="form-validate" />
>      <act type="navigate" />
>  </action-set>
> 
> This way you can controll the point where a super-set takes place as well.
> 
> Giacomo
> 
Going further on Konstantin's question : is it possible to define
sitemap logicsheets that could be used to augment the sitemap syntax
with higher level concerns, such as the ones proposed in the above
action-sets ?

There's some code in SitemapMarkupLanguage to handle <?xml-logicsheet?>
PIs and <map:logicsheet> tags, but I've never used them. Does someone
have some experience with this ?

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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


Mime
View raw message