i agree, but each component sets the object individually. with a
ComponentController (name changed for marketing reasons ;-) ), the controller
is asked to update the model, it can then query m components and set n values.
also, i think of IModel as an adapter to the actual model, so it reflects the
underlying model 1:1.
Igor Vaynberg wrote:
on the same page two components can share an IModel instance, so you can
fold the manager abstraction directly into the IModel implementation.
you have the context already - setObject(Component context, Object o)
-Igor
On 5/17/06, *Ittay Dror* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Eelco Hillenius wrote:
> On 5/17/06, Ittay Dror <[EMAIL PROTECTED]
<mailto:[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
<http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
===================================
Ittay Dror,
Chief architect, openQRM TL,
R&D, Qlusters Inc.
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
+972-3-6081994 Fax: +972-3-6081841
http://www.openQRM.org <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
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
_______________________________________________
Wicket-user mailing list
[email protected]
<mailto:[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