You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jarry Liu <ja...@gmail.com> on 2005/04/20 19:02:16 UTC
Can I use both types of "jx" and "serverpages" in one generator
Hi, everyone,
In my sitemap, I have
<map:generate type="jx" src="addmultifiles.xsp"/>
I need some value from javascript, and at the same time, I need use
xsp to handle this value, so I need <map:generate
type="serverpages".....> too. Now I can solve this problem in two
steps with two seperate generator. Is there any solution to put this
two ( "jx and serverpages" ) together in the same generate? Or any
idea to solve this problem?
Best regard.
Jarry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Can I use both types of "jx" and "serverpages" in one generator
Posted by Philippe Guillard <pg...@citycita.net>.
I think if you really need XSP you use XSP and pass your value from your
flow via sitemap parameters or request attributes.
Phil
Ben Pope wrote:
> Jarry Liu wrote:
>
>> Hi, everyone,
>>
>> In my sitemap, I have
>> <map:generate type="jx" src="addmultifiles.xsp"/>
>>
>> I need some value from javascript, and at the same time, I need use
>> xsp to handle this value, so I need <map:generate
>> type="serverpages".....> too. Now I can solve this problem in two
>> steps with two seperate generator. Is there any solution to put this
>> two ( "jx and serverpages" ) together in the same generate? Or any
>> idea to solve this problem?
>
>
> CInclude
> http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html
>
>
> XInclude
> http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.html
>
>
> map:aggregate
> http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#Aggregating
>
> Should get you started :-)
>
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Can I use both types of "jx" and "serverpages" in one generator
Posted by Ben Pope <be...@gmail.com>.
Jarry Liu wrote:
> Hi, everyone,
>
> In my sitemap, I have
>
> <map:generate type="jx" src="addmultifiles.xsp"/>
>
> I need some value from javascript, and at the same time, I need use
> xsp to handle this value, so I need <map:generate
> type="serverpages".....> too. Now I can solve this problem in two
> steps with two seperate generator. Is there any solution to put this
> two ( "jx and serverpages" ) together in the same generate? Or any
> idea to solve this problem?
CInclude
http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html
XInclude
http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.html
map:aggregate
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#Aggregating
Should get you started :-)
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org