Could you please explain better the option 2?

If do you have an example it could be useful.

Thanks.
___
André Matheus

On 8/21/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Basically you have the choice between either:
> 1) using observers/ event listeners for notification much like you
> would probably do with swing;
> 2) use a hierarchal model that is shared between components so that
> any change in that model is automatically cascaded.
>
> 1) is probably more work and has the danger that it causes a domino
> effect letting you end up with a zillion listeners, but the advantage
> is that you don't need a foreign model and it is more loosely bound.
>
> My personal preference is usually 2). Not that this model hierarchy
> can be on the actual model objects as well as on the IModels
> themselves.
>
> Eelco
>
> -------------------------------------------------------------------------
> 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
>


-- 
__
André Matheus

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