cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Action XSP
Date Thu, 16 May 2002 15:24:05 GMT
> From: Konstantin Piroumian [mailto:kpiroumian@apache.org]
> 
> From: "Artur Bialecki" <artur@digitalfairway.com>
> 
> >
> > Actions are great, however it would be nice If
> > I could dynamically create them with XSP so in
> > my sitemap I have:
> > <map:action
> >   name="my-action"
> >   src="/actions/my-action.xsp"
> >   logger="action.my-action"
> > />

See also 
\src\java\org\apache\cocoon\acting\ServerPagesAction.java


Vadim

> >
> > Where my-action.xsp gets trasfomed to java using
> > some action.xsl, builtin and custom logicsheets.
> >
> > Cocoon already has everything I need other than the
> > action.xsl.
> 
> Are you looking for this:
>
xml-cocoon2\src\java\org\apache\cocoon\components\language\markup\xsp\ja
va\a
> ction.xsl ?
> 
> >
> > How would I go about adding this functionality?
> > Where do I start?
> 
> May I ask a question? Why do you need an XSP based action? IMHO,
actions
> should be pure Java classes that perform some programmatic logic and
you
> have Generators for XML generation, based on the result from actions.
> 
> Are there any real use-cases?
> 
> Konstantin
> 
> >
> > Thanks,
> >
> > Artur...


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


Mime
View raw message