See https://issues.apache.org/jira/browse/WICKET-4228. Please check the
attached patch whether it works.
Locally it works the way intented.
Dirk Forchel
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page
icket-examples?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4042895.html
> Sent from the Users forum maili
Finally I've implemented my customized IRequestMapper
(CapturingRequestMapper). How can I contribute this little working example
to the wicket-examples?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-pa
Sorry for all the hassle. This sounds now obvious to me. Thank you for your
hint.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4042521.html
Sent from the Users forum mailing list
void onCapture(StringResponse emailResponse)
> {
> // Here send the email instead of dumping it
> to stdout!
> System.out.println(emailResponse.toString());
> }
> };
> }
> }
>
> App
p://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4042468.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: us
ow should I implement the forward to the other static result page? And
> what is the equivalent for
> CapturingBookmarkablePageRequestTarget#onCapture(stringResponse)?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-requ
pache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4039748.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-uns
sage if the generation was successful.
The only difference I see is that instead of displaying the generated
html (as MailTemplate does) you want to check whether it was generated
or not...
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Capture
1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4039567.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.
inalResponse);
> RequestCycle.get().setRequestTarget(new
> BookmarkablePageRequestTarget(displayedPageClass, getPageParameters()));
> }
>
> protected abstract void onCapture(StringResponse stringResponse);
> }
>
>
> --
> View this message in conte
ssage in context:
http://apache-wicket.1842946.n4.nabble.com/Capture-the-response-of-a-page-request-and-displays-another-page-as-result-tp4039468p4039468.html
Sent from the Users forum mailing list archive at Nabble.com.
---
12 matches
Mail list logo