Yeah, I've seen it somewhere. I think it's a great idea. Actually, I
think I've some components with "-" in their name, but it wouldn't take
longer than few minutes to change :)
Btw. what about other separators? (':' or '#' for example). Not that "-"
would't be ok :)
Eelco Hillenius wrote:
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
-------------------------------------------------------
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