and how do i validate the resulting value? in updateModel, if i find the 
combined value is not right, there's not much i can do.

also, there's a convert() method in Component, what if i want it to be employed 
also?

ittay

Igor Vaynberg wrote:


On 5/8/06, *Ittay Dror* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:



    Igor Vaynberg wrote:
     > but you can make it generic pretty easily:
     >
     > class AggreatingAtomicFormComponent extends FormComponent {
     >
     >
     > updateModel() {
     >   visitChildren(new FormComponent.IVisitor() { ... updatemodel(); });

    the sub components will try to use their ancesstor's model, and set
    the object there, which will probably fail.


only if there is a compound model up the hiearchy AND you create the components inside the aggregator w/out a model - which of course you shouldnt do if you are putting them in there

-Igor



--
===================================
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to