cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: Action XSP
Date Thu, 16 May 2002 15:11:59 GMT
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"
> />
>
> 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\java\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
>

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


Mime
View raw message