if you want just one component in the hierarchie to be rendered to a
String you have to make a Behaviour and use the StringResponse-class to
replace the hole Response in beforeRender for this component.
in onRendered you can add the string again to the hole Response. We do
this for caching HTML Fragments  via  EHCache. 

Martin

Luca Provenzani schrieb:
> oops, yes, you are right! :-)
>
> 2009/9/30 Peter Arnulf Lustig <[email protected]>
>
>   
>> getMarkupStream().toString();
>> maybe?
>>
>>
>>
>>
>> ----- Ursprüngliche Mail ----
>> Von: Luca Provenzani <[email protected]>
>> An: [email protected]
>> Gesendet: Mittwoch, den 30. September 2009, 12:32:19 Uhr
>> Betreff: Rendered html to string
>>
>> Hi all,
>>
>> does someone know how to render a wicket component into a String?
>>
>> Thanks
>> Luca
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to