Re: urlFor() outside wicket session

2010-01-24 Thread Help System
Thanks Igor

That's just what I'll do.


2010/1/22 Igor Vaynberg igor.vaynb...@gmail.com

 mount the page so the url is well known, then you do not need wicket
 to construct it for you.

 -igor

 On Fri, Jan 22, 2010 at 1:29 PM, Help System i...@squir.es wrote:
  Hi,
 
  I have a quartz job that sends emails containing links to pages rendered
 by
  Wicket.  All these links have parameters.
 
  Is there a way of doing the equivalent of
  RequestCycle.get().urlFor(pageclass, parameters) from a quartz job?
 
  At the moment it's hardcoded to generate the url but if the Wicket
  application configuration changes, the quartz job is something else to
  remember to modify.
 
  Thanks,
  Tim
 

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




urlFor() outside wicket session

2010-01-22 Thread Help System
Hi,

I have a quartz job that sends emails containing links to pages rendered by
Wicket.  All these links have parameters.

Is there a way of doing the equivalent of
RequestCycle.get().urlFor(pageclass, parameters) from a quartz job?

At the moment it's hardcoded to generate the url but if the Wicket
application configuration changes, the quartz job is something else to
remember to modify.

Thanks,
Tim


urlFor() outside wicket session

2010-01-22 Thread Help System
Hi,

I have a quartz job that sends emails containing links to pages rendered by
Wicket.  All these links have parameters.

Is there a way of doing the equivalent of RequestCycle.get().urlFor(
pageclass, parameters) from a quartz job?

At the moment it's hardcoded to generate the url but if the Wicket
application configuration changes, the quartz job is something else to
remember to modify.

Thanks,
Tim


Re: urlFor() outside wicket session

2010-01-22 Thread Igor Vaynberg
mount the page so the url is well known, then you do not need wicket
to construct it for you.

-igor

On Fri, Jan 22, 2010 at 1:29 PM, Help System i...@squir.es wrote:
 Hi,

 I have a quartz job that sends emails containing links to pages rendered by
 Wicket.  All these links have parameters.

 Is there a way of doing the equivalent of
 RequestCycle.get().urlFor(pageclass, parameters) from a quartz job?

 At the moment it's hardcoded to generate the url but if the Wicket
 application configuration changes, the quartz job is something else to
 remember to modify.

 Thanks,
 Tim


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