ou
> so much in advance.
>
--
View this message in context:
http://old.nabble.com/Render-a-Wicket-page-to-a-string-for-HTML-email-tp20325702p27916505.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
sponse.SC_NOT_FOUND));
> }
> requestCycle.detach();
>
> } finally {
> requestCycle.getResponse().close();
> }
>
> return webResponse.toString();
> }
>
> }
>
> Cheers,
> Xavier
>
) ?
>
>
> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>
> Cheers,
> Xavier
>
> 2010/3/16 rolandpeng
>
>
>> That works , thank you!
>> But I have another question:
>> when I use requestLogger.getLiveSessions() to get the
artPage();
> > }
> >
> > }
> >
> > -----------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
zed String render(WebPage page) {
> startPage(page);
> return renderStartPage();
> }
>
> }
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
--
View this message in
;>
>> Here is a largely equivalent class that I created. It simply extends
>> BaseWicketTester.
>> ...
>>
>
> --
> View this message in context:
> http://www.nabble.com/Render-a-Wicket-page-to-a-string-for-HTML-email-tp20325702p20372800.html
> Sent from the Wicket - User
ketTester.
> ...
>
--
View this message in context:
http://www.nabble.com/Render-a-Wicket-page-to-a-string-for-HTML-email-tp20325702p20372800.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsu
Here is a largely equivalent class that I created. It simply extends
BaseWicketTester.
public class PageRenderer extends BaseWicketTester {
private final Locale locale;
public PageRenderer(Locale locale) {
this.locale = locale;
}
public PageRender
ket-page-to-a-string-for-HTML-email-tp20325702p20370600.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
ponse().getCharacterEncoding());
...
--
View this message in context:
http://www.nabble.com/Render-a-Wicket-page-to-a-string-for-HTML-email-tp20325702p20370600.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---
);
}
}
Peter Ertl wrote:
>
> ...
>return new
> String(tester.getServletResponse().getBinaryContent(),
> tester.getServletResponse().getCharacterEncoding());
>
> ...
>
--
View this message in context:
http://www.nabble.com/Render-a-Wicket-p
've found this article on how to render a page to a String:
http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
It seemed to be exactly what I was looking for. Copying the
code
into
my app, I got a compiler error on the line where the
WebRequest is
cr
questCycle.wasHandled() == false) {
>>>>>requestCycle.setRequestTarget(new
>>>>> WebErrorCodeResponseTarget(
>>>>>
>>>>> HttpServletResponse.SC_NOT_FOUND));
>>>>> }
>>>>>
d this article on how to render a page to a String:
http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
It seemed to be exactly what I was looking for. Copying the
code into
my app, I got a compiler error on the line where the
WebRequest is
created.
a ticket to request it for Wicket 1.5?
>>>
>>> Jörn
>>>
>>> On Tue, Nov 4, 2008 at 5:55 PM, Martijn Dashorst
>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Are you in New Orleans in some voodoo bar? Why not join us at
>>>&g
thout seeing your code we have to resort to waving a dead
chicken in
front of our screens or making swags.
-igor
On Tue, Nov 4, 2008 at 9:19 AM, Jörn Zaefferer
<[EMAIL PROTECTED]> wrote:
Hi,
I've found this article on how to render a page to a String:
http://www.danwalmsley.com/200
icken in
>>> front of our screens or making swags.
>>>
>>> -igor
>>>
>>> On Tue, Nov 4, 2008 at 9:19 AM, Jörn Zaefferer
>>> <[EMAIL PROTECTED]> wrote:
>>>> Hi,
>>>>
>>>> I've found this article on how
voodoo bar? Why not join us at ApacheCon? :)
>>
>> Martijn
>>
>> On Tue, Nov 4, 2008 at 10:43 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>> without seeing your code we have to resort to waving a dead chicken in
>>> front of our screens or making
Hi,
I've found this article on how to render a page to a String:
http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
It seemed to be exactly what I was looking for. Copying the code
into
my app, I got a compiler error on the line where the WebRequest is
>>> Hi,
>>>
>>> I've found this article on how to render a page to a String:
>>> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>>>
>>> It seemed to be exactly what I was looking for. Copying the
t; Hi,
>>>
>>> I've found this article on how to render a page to a String:
>>> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>>>
>>> It seemed to be exactly what I was looking for. Copying the code into
; -igor
>
> On Tue, Nov 4, 2008 at 9:19 AM, Jörn Zaefferer
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I've found this article on how to render a page to a String:
>> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>>
danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>
> It seemed to be exactly what I was looking for. Copying the code into
> my app, I got a compiler error on the line where the WebRequest is
> created. Using the constructor to ServletWebRequest helped.
&
Hi,
I've found this article on how to render a page to a String:
http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
It seemed to be exactly what I was looking for. Copying the code into
my app, I got a compiler error on the line where the WebRequest is
cr
24 matches
Mail list logo