Hi, On Sat, Apr 20, 2013 at 11:08 AM, Frederic <[email protected]>wrote:
> Hi, > > thanks for this link to the ticket. > Could it also be a common way to overwrite getCallbackUrl at > AjaxEventBehaviour and append the short url at the callback url? > > You can do this. Just make sure that you have the dispatcher the server side. And that there are no two ajax behaviors "mounted" on the same url. > > > On 04/18/2013 12:59 PM, Martin Grigorov wrote: > >> Hi, >> >> See >> https://issues.apache.org/**jira/browse/WICKET-5087<https://issues.apache.org/jira/browse/WICKET-5087> >> >> >> On Thu, Apr 18, 2013 at 1:08 PM, Fred!!! <[email protected]> >> wrote: >> >> Hi, >>> >>> I was wondering if there is a way to mount components or Ajax events like >>> pages in wicket. For example I execute a simple Ajax link I get this URL: >>> http://localhost:8012/Cart?0-****1.IBehaviorListener.0-**<http://localhost:8012/Cart?0-**1.IBehaviorListener.0-**> >>> shoppingCart-form-view-****shoppingCart-shoppingCart-** >>> shoppingCart.entries-0-****shoppingCart.entry-delete-**link< >>> http://localhost:8012/**Cart?0-1.IBehaviorListener.0-** >>> shoppingCart-form-view-**shoppingCart-shoppingCart-** >>> shoppingCart.entries-0-**shoppingCart.entry-delete-link<http://localhost:8012/Cart?0-1.IBehaviorListener.0-shoppingCart-form-view-shoppingCart-shoppingCart-shoppingCart.entries-0-shoppingCart.entry-delete-link> >>> **> >>> >>> Is there a way to render these URL like the following example? >>> http://localhost:8012/Cart/****entry/1/delete<http://localhost:8012/Cart/**entry/1/delete> >>> <http://**localhost:8012/Cart/entry/1/**delete<http://localhost:8012/Cart/entry/1/delete> >>> > >>> >>> >>> I tried to write my own IRequestHandler and IRequestMapper to handle it >>> at >>> Component:urlFor but that wasn’t successful. >>> >>> Cheers Fred. >>> >>> >>> ------------------------------****----------------------------** >>> --**--------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@wicket.**apa**che.org<http://apache.org> >>> <users-unsubscribe@**wicket.apache.org<[email protected]> >>> > >>> >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@wicket.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
