Unlike setResponsePage, urlFor does not seem to take an instance of a Page,
but only Class. What if I want to pass an instance of Page itself?



igor.vaynberg wrote:
> 
> if you update to latest code from svn wicket_1_2 branch setresponsepage()
> will work. if you cannot upgrade then you have to do
> target.appendJavascript
> ("window.location="+urlFor(page, IRedirectListener.INTERFACE));
> 
> -Igor
> 
> 
> On 8/17/06, samyem <[EMAIL PROTECTED]> wrote:
>>
>>
>> What do I need to do to go to a different page as a result the user
>> pressing
>> an ajax link? My problem is that depending on the result of state the
>> page
>> is on, pressing on the link could either lead to a different or change
>> portion of the same page (it's a bit more complex than this, but this
>> should
>> give some idea).
>> However, the setResponsePage() method does not work for onClick for
>> AjaxLink. What could be a possible solution?
>> --
>> View this message in context:
>> http://www.nabble.com/AjaxLink-setresponse-tf2124210.html#a5860434
>> Sent from the Wicket - User forum at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxLink-setresponse-tf2124210.html#a5860761
Sent from the Wicket - User forum at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to