On Fri, Apr 19, 2013 at 5:12 PM, Guillaume Smet <guillaume.s...@gmail.com>wrote:

> Hi,
>
> On Thu, Apr 18, 2013 at 11:36 AM, Martijn Dashorst <dasho...@apache.org>
> wrote:
> > Render a page or component to a String
> >
> > ComponentRenderer exposes two methods: `renderComponent` and
> > `renderPage` and they do exactly what their names suggest. Happy
> > emailing!
>
> This is really nice. We did it in a quite complicated way before that.
>
> Any chance the same could be done to generate links from outside of
> Wicket, which is also quite difficult to get right at the moment?
>
> I'm especially thinking about this recent thread on this subject:
> http://markmail.org/thread/a34vmcm6ulxgr3ed


What exactly you mean by "outside of Wicket" ?
What Wicket objects you have access to ?
The application name will be needed and a base url. Usually the current
request's baseUrl is used to construct a full url. Without the base url
Wicket can generate only context-absolute url.


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


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to