Btw, we're thinking about changing Wicket's path seperator from '.' to e.g. '-'. The good thing about that would be that you could do:

add (new RequiredTextField("company.name"));

instead of

add (model.bind(new RequiredTextField("company_name", "company.name")));

See https://sourceforge.net/tracker/index.php?func=detail&aid=1232524&group_id=119783&atid=684978

Eelco


    class CreateNewConferenceForm extends Form {
public CreateNewConferenceForm(String id, IFeedback fb, Conference conf) {
            super(id, model, fb);
            BoundCompoundPropertyModel model =
                new BoundCompoundPropertyModel(conf);
add (model.bind(new RequiredTextField("stringProperty", "stringProperty")); add (model.bind(new RequiredTextField("company_name", "company.name");

        }
    }




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to