RE: Can an AJAX event navigate to a page using a BookmarkablePageLink

2011-10-28 Thread Chris Colman
>BookmarkablePageLink
>
>setResonsePage(class, params) should still work
>
>also if you have a bpl you can do something like
>target.appendjavascript("window.location='"+bpl.geturl()+"';");

Ah! That's exactly what I was looking for. I already have a bpl
available so I was trying to leverage the data I had already built up in
that rather than construct a PageParameters with all the required
parameters.

>
>-igor
>
>
>On Fri, Oct 28, 2011 at 2:51 PM, Chris Colman
> wrote:
>> Are BookmarkablePageLinks only for use with  tags use or is
it
>> possible to catch an AJAX event and use the BookmarkablePageLink as
the
>> 'destination specifier' for the navigation or does navigation under
AJAX
>> always have to be via setReponsePage()?
>>
>> Chris
>>
>
>-
>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



Re: Can an AJAX event navigate to a page using a BookmarkablePageLink

2011-10-28 Thread Igor Vaynberg
setResonsePage(class, params) should still work

also if you have a bpl you can do something like
target.appendjavascript("window.location='"+bpl.geturl()+"';");

-igor


On Fri, Oct 28, 2011 at 2:51 PM, Chris Colman
 wrote:
> Are BookmarkablePageLinks only for use with  tags use or is it
> possible to catch an AJAX event and use the BookmarkablePageLink as the
> 'destination specifier' for the navigation or does navigation under AJAX
> always have to be via setReponsePage()?
>
> Chris
>

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



Can an AJAX event navigate to a page using a BookmarkablePageLink

2011-10-28 Thread Chris Colman
Are BookmarkablePageLinks only for use with  tags use or is it
possible to catch an AJAX event and use the BookmarkablePageLink as the
'destination specifier' for the navigation or does navigation under AJAX
always have to be via setReponsePage()?
 
Chris