cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject Re: action + jxgenerator
Date Thu, 11 Nov 2004 09:59:48 GMT
Good morning Jorg,

replacing <xsp-request:set-parameter to set-attribute does not make any 
difference. Output is the same: empty elements.

Thanks, Joose

11.11.2004 kello 09:30, Jorg Heymans kirjoitti:

  dunno it's early morning here but, shouldn't you set it as a request 
attribute or session attribute instead?
>
> Joose Vettenranta wrote:
>> Hi,
>> I have an action, which creates java Object.. something like this:
>> MyClass obj = new MyClass();
>> obj.setId (10);
>> I'm trying to save that object to a requst object:
>> <xsp-request:set-parameter name="dong">obj</xsp-request:set-parameter>
>> Then I have in jxgenerator like this:
>> <page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
>> <test>${request.dong.id}</test>
>> <test>#{request.dong.id}</test>
>> <hop>${dong.id}</hop>
>> </page>
>> and nothing comes out to between those elements.. what do I do 
>> wrong?=)
>> In sitemap I have:
>>    <map:match pattern="test">
>>     <map:act type="xsp-action" src="xsp/action/test.xsp">
>>      <map:generate type="jx" src="jx/action.jx" />
>>      <map:serialize type="xml" />
>>     </map:act>
>>    </map:match>
>> Thanks,
>> Joose
>> -- 
>> "Always remember that you are unique, just like everyone else!"
>> * http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *


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


Mime
View raw message