-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Try something along these lines...

first page:

add(new Link(id) {
   public void onClick() {
      setResponsePage(new SomePage(getPage());
   }
}

the other page:

public class SomePage extends Page {
   private Page page;

   public SomePage(Page back) {
      page = back;

      add(new Link("back") {
         public void onClick() {
            setResponsePage(page);
         }
      }
   }
}

Vincent Renaville wrote:
> Dear,
> 
>       I try to make an application with different pages (extends WebPage).
> The user can switch from a page to an other.
> I try to implement a serialization solution, so  when a person switch
> from a page to an other and after that he wanst to comeback to a
> previous page (with Link, not with go back button of IE) all the data is
> still there event if he doesn't press the submit button.
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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

- --
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
Skype : evanchooly
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iD4DBQFFU1RJJnQfEGuJ90MRAyTEAJ9CAQk+Zbn68jD8U+9f7Qzy3NXv2wCWIr7s
ZCUG4lGi92eQFx8Qt0OC1A==
=MXFA
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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