you have the context already - setObject(Component context, Object o)
-Igor
On 5/17/06, Ittay Dror <[EMAIL PROTECTED]> wrote:
Eelco Hillenius wrote:
> On 5/17/06, Ittay Dror <[EMAIL PROTECTED]> wrote:
>> what if the framework will allow a ComponentManager to be associate
>> with a component?
>
> What would it do though? The naming implies it might do anything,
> while this topic is about models or even more specifically model
> updates.
it will be the mediator between the components and the model (like the Controller in MVC)
>
>> it can then manage these issues. by default, every component will have
>> its own manager (or, > set the manager to 'this')
>
> I'm looking for the general case, which seems to be either
> transactional updating of models (though that wouldn't really help
> with immutables) or a more sophisticated mechanism for cooperating
> models.
if the framework interacts with the manager, rather than directly with the components, for the purpose of updating the model, then one manager can be associated with two components. thus, when its 'updateModel()' method is called, it will interact with the two components, query their raw value and set it in the model.
this allows an n:m relationship between components and model values.
>
> 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=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
===================================
Ittay Dror,
Chief architect, openQRM TL,
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841
http://www.openQRM.org
- Keeps your Data-Center Up and Running
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
