Search the mail list - there's a lot of examples of this.  Basically, you'll
need to use WicketTester - it will set up a mock request cycle, etc. for
you.

-- 
Jeremy Thomerson
http://www.wickettraining.com

On Fri, Mar 6, 2009 at 10:03 AM, Wayne Pope <
waynemailingli...@googlemail.com> wrote:

> Hi,
>
> We have some Bookmarkable pages that display some given content. I
> would like to email these links out to a set of users. We have a set
> of classes that knows how to build the good bookmarkable link
> depending on the content. Now this works all fine and good.
>
> However we need to move the email sending aspect to a batch/thread
> (for daily updates). I would like create the bookmarkable link the
> same way and call toString() to get the good URL. However I get an
> exception about not running inside a request/application.
>
> Is it possible to create a new RequestCycle outside of a request (it
> doesn't appear so) or is there any other way of creating the link
> aside from hand coding/crafting them?
>
> thanks for any pointers
> Wayne
>
>
>
>
>
>
>
>
> www.glasscubes.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to