You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Superbiji@gmail.com" <su...@gmail.com> on 2004/09/15 11:54:11 UTC

instead of writing XSP in Java

If you don't like writing XSP in Java.
There is another solution....

create action with Script Action :)

In docs:

<map:action type="script" src="action/my-action.js">

Actually:

<map:act type="script" src="action/my-action.js">

You can also generate using script:

<map:generate src="{0}" type="script"> 

NOTE: Till now, I just can't make ActionScript works :(
It only send blank page.
I've try python and javascript, none works. Only groovy language work.

Please help...

-- 
Superbiji @ gmail.com

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


Re: instead of writing XSP in Java

Posted by "Superbiji@gmail.com" <su...@gmail.com>.
Yup,
would you please help me use Script Action, 
it does not work at all...


On Wed, 15 Sep 2004 13:12:39 +0200, Thomas Kjeldahl Nilsson
<tn...@marcello.no> wrote:
> 
> 
> Superbiji@gmail.com wrote:
> > If you don't like writing XSP in Java.
> > There is another solution....
> >
> > create action with Script Action :)
> 
> Or put your businesslogic in java classes, instantiate and call these
> from your flowscripts.
> 



-- 
Indonesia Cocoon: idcocoon-subscribe @ yahoogroups.com
Superbiji @ gmail.com

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


Re: instead of writing XSP in Java

Posted by Thomas Kjeldahl Nilsson <tn...@marcello.no>.

Superbiji@gmail.com wrote:
> If you don't like writing XSP in Java.
> There is another solution....
> 
> create action with Script Action :)

Or put your businesslogic in java classes, instantiate and call these
from your flowscripts.

--
Regards,
Thomas Kjeldahl Nilsson
Oslo, Norway


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