Thanks. I ended up constructing the URL manually as you suggested.

On Mon, Mar 21, 2011 at 1:29 AM, Wilhelmsen Tor Iver <toriv...@arrive.no> wrote:
>> We have a Quartz thread which periodically sends emails with a link to
>> a Wicket page. Calling RequestCycle.get().urlFor(Class,
>> PageParameters) doesn't work because the thread is not a part of
>> Wicket request cycle. Is there a way to ask Wicket to generate the URL
>> in this case?
>
> What you really want is to use a bookmarkable page mounted in the 
> application, and create a URL string with the necessary parameters in the 
> Quartz job.
>
> Or create a simple Wicket servlet that generates it for you, which you then 
> call from the job using e.g. a standard URLConnection.
>
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to