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
What I do in solving such problems, is making my own custom component class in Java, in which extension takes place. Example: I wanted to get text out of a TextField. Example code: TextFieldString tfExample = new TextFieldString(name, Model.of*)) This example code generates an empty text

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 -- --- /