Stefan Arentz wrote:


On Jul 20, 2005, at 1:39 PM, Eelco Hillenius wrote:

An example of how it would work:

RequiredTextField integerTextField = new RequiredTextField("integerProperty", Integer.class); integerTextField.add(new ValidationEventRequestHandler ("onchange"));
           add(integerTextField);

where the ValidationEventRequestHandler is an ajax event handler, which is attached to the onchange javascript event handler of the tag in question.

ValidationEventRequestHandler can write out anything it wants by overriding getResourceStream.


So what happens with that output?

 S.

Well, that's the thing we have to tackle. If you would do it by hand, you could attach a dojo function to it (see ValidationEventRequestHandler.printHead (which is very ugly currently) and .onRenderComponentTag which updates fields.

Our plan is however, to not bother you with this, but let Wicket do the whole communication/ client updating part, so you would only have to care about the rendering of components just like you have to do now.

Eelco




-------------------------------------------------------
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_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to