For 1.2 you have to use the wicket_1_2 branch.

Eelco


On 8/18/06, samyem <[EMAIL PROTECTED]> wrote:
>
> I guess I do not have the latest version. I am trying to use the trunk
> version and almost all my code broke due to Component's constructor
> signature change. thanks Anyway.
>
>
> igor.vaynberg wrote:
> >
> > RequestCycle.java:
> >
> >     /**
> >      * Returns a URL that references the given page. It also
> >      * [EMAIL PROTECTED] Session#touch(Page) touches} the page in the 
> > session so that
> > it is
> >      * put in the front of the page stack. Use this method only if you
> > plan
> > to
> >      * use it the next request.
> >      *
> >      * @param page
> >      *            The page
> >      * @return The url pointing to the provided page
> >      */
> >     public final CharSequence urlFor(final Page page)
> >
> > -Igor
> >
> >
> > On 8/17/06, samyem <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> 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
> >>
> >
> > -------------------------------------------------------------------------
> > 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#a5874546
> 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

Reply via email to