ok, thanks pozdrawiam Paweł Kamiński
kami...@gmail.com pkaminski....@gmail.com ______________________ On 15 May 2012 08:43, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources > Instead of serving images you can serve whatever you need. > > On Tue, May 15, 2012 at 1:19 AM, kamiseq <kami...@gmail.com> wrote: >> hej, >> I have few questions about how to do few things in wicket, right now I >> m focusing on 6th version. >> >> I would like to create global service that returns for example JSON or >> html. and given I have stateless page with components that supports >> AJAX I would like to point my JS components to this global service. >> >> I think it best to accomplish this with mounting >> 1) mount resource and then use >> getRequestCycle().urlFor(resourceReference, parameters); >> 2) if I have to return html maybe it is better to mount page >> >> I ve also found somewhere that I could implement custom renderers that >> could render simple html or jason or whatever text I need, but I >> cannot find anything about right now. >> >> what about adding custom RequestCycleListener, or something like that? >> >> pozdrawiam >> Paweł Kamiński >> >> kami...@gmail.com >> pkaminski....@gmail.com >> ______________________ >> >> --------------------------------------------------------------------- >> 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 > > --------------------------------------------------------------------- > 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