On 7/20/05, Eelco Hillenius <[EMAIL PROTECTED]> 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.
> 
> The EventRequestHandler is a very early draft, so it may change a lot.
> But looking at it should give you a basic idea in which way we're
> thinking. Play with it if you want, and give us feeback! :)
> 
> Eelco

Ooo, I like it! That's exactly what I was talking about too.


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