RE: Rendering a component into a String

2013-11-21 Thread Mateusz Mieszkowski
, 2013 2:09 PM To: users@wicket.apache.org; Martin Dietze Subject: Re: Rendering a component into a String Hi, See the source of http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?2 example On Wed, Nov 13, 2013 at 3:04 PM, Martin Dietze d...@fh-wedel.de wrote: In a legacy project

Re: Rendering a component into a String

2013-11-21 Thread Martin Grigorov
the markup, but how can I avoid storing these pages? Best regards, Mateusz -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, November 13, 2013 2:09 PM To: users@wicket.apache.org; Martin Dietze Subject: Re: Rendering a component into a String

RE: Rendering a component into a String

2013-11-21 Thread Mateusz Mieszkowski
Dietze Subject: Re: Rendering a component into a String Please create a ticket. The page should be marked as stateless to avoid storing it. On Thu, Nov 21, 2013 at 10:40 AM, Mateusz Mieszkowski mmieszkow...@objectivity.co.uk wrote: Hi guys, I noticed a problem

Re: Rendering a component into a String

2013-11-21 Thread Martin Grigorov
Dietze Subject: Re: Rendering a component into a String Please create a ticket. The page should be marked as stateless to avoid storing it. On Thu, Nov 21, 2013 at 10:40 AM, Mateusz Mieszkowski mmieszkow...@objectivity.co.uk wrote: Hi guys, I noticed a problem

RE: Rendering a component into a String

2013-11-21 Thread Mateusz Mieszkowski
let me know if you see any danger in such solution. Mateusz -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, November 21, 2013 10:56 AM To: users@wicket.apache.org Subject: Re: Rendering a component into a String Option 1) Override your component's

Re: Rendering a component into a String

2013-11-21 Thread Martin Grigorov
. Mateusz -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, November 21, 2013 10:56 AM To: users@wicket.apache.org Subject: Re: Rendering a component into a String Option 1) Override your component's onInitialize/onConfigure and call

Re: Rendering a component into a String

2013-11-18 Thread MartinoSuperman
to convert to or back from Model again. That is much easier! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Rendering-a-component-into-a-String-tp4662391p4662490.html Sent from the Users forum mailing list archive at Nabble.com

Rendering a component into a String

2013-11-13 Thread Martin Dietze
In a legacy project I've inherited I've got a piece of code that no longer works since the project was upgraded from Wicket 1.4 to Wicket 6. It's about rendering a component (a Wicket panel) into a string in order to return it wrapped into a webservice reply. The webservice is based on Wicket,

Re: Rendering a component into a String

2013-11-13 Thread Martin Grigorov
Hi, See the source of http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?2 example On Wed, Nov 13, 2013 at 3:04 PM, Martin Dietze d...@fh-wedel.de wrote: In a legacy project I've inherited I've got a piece of code that no longer works since the project was upgraded from Wicket

Re: Rendering a component into a String

2013-11-13 Thread Martin Dietze
On Wed, November 13, 2013, Martin Grigorov wrote: See the source of http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?2 example In short: instanciate my component, put it into a ComponentRenderer, be happy. That was astonishingly simple :) Cheers, M'bert -- --- /