mount your page - that way you will always know what the url will be
and there is no need to have it constructed at runtime by wicket.
-igor
On Wed, May 20, 2009 at 10:10 AM, Kent Larsson kent.lars...@gmail.com wrote:
I have a follow up question, a harder one.
I want to send the mail from a
Thank you, it worked!
PageParameters pars = new PageParameters();
pars.add(confirmationCode, some conf?codestring);
System.out.println(URL: + urlFor(ForgotPasswordRequest.class, pars));
Best regards, Kent
On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
Component.urlFor(ForgotPasswordRequest.class,pars);
(not a static...call it as urlFor(...) from your page or component)
-Clint
On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com wrote:
Hi,
I have created a BookmarkablePageLink and I would like to grab a
properly escaped
I have a follow up question, a harder one.
I want to send the mail from a Spring Bean using the Spring Framework.
The Spring Beans mark my transaction boundary. When I call a method in
a Spring bean a transaction is started, and when the method returns
the transaction is commited. Inside my
If you need the url creation to happen in the tx and you can't
programatically start the tx (say with JTA's UserTransaction API)
before invoking your bean, you'll have to pass your component or the
RequestCycle (or an adaptor for either) to your spring bean.
Out of curiousity, why would you need
On Wed, May 20, 2009 at 7:21 PM, Clint Popetz cl...@42lines.net wrote:
If you need the url creation to happen in the tx and you can't
programatically start the tx (say with JTA's UserTransaction API)
before invoking your bean, you'll have to pass your component or the
RequestCycle (or an
I'll look into it, it sounds good, thank you!
Best regards, Kent
On Wed, May 20, 2009 at 7:31 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
mount your page - that way you will always know what the url will be
and there is no need to have it constructed at runtime by wicket.
-igor
On
Hi,
I have created a BookmarkablePageLink and I would like to grab a
properly escaped URL-string which I can then send through e-mail.
For my first try noHtmlSensitiveChars fullyEscaped contained the
empty () string:
PageParameters pars = new PageParameters();
pars.add(confirmationCode,