Johan, I think you're making it a bit harder then it needs to be. I've
actually got it working (depending on how you define "working") on my
test machine right now with just that serialization class and a
subclass of form. Since a form has easy access to it's page and all
it's components, it can add javascript to every link it finds for
onClick submits, serialize its page on render on right it to a hidden
field, unserialize the page on beginRequest, and find it's submitting
link on validate to call onClick(). Granted, it would probably be nice
to move some of these things out of the form, page unserialization
probably, but it can be pretty simple.

The only problem I'm having is that I have to use an
IFormSubmitListener, which means that while the page IS restored from
the client, it's first taken from the session, which doesn't really
make any sense. I haven't figured out the "right" way to create a new
page on every request. I'll probably take a look at how bookmarkable
pages work.

-Phil

On 7/1/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Your mailbox is full. We (Martijn and I) keep getting warnings from your
> box.
> 
> Eelco
> 
> Johan Compagner wrote:
> 
> > i didn't see the patch yet (where is that mail?? sourceforge problem?)
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Wicket-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to