Currently, you can't do:
add (new RequiredTextField("company.name"));(which is: use company.name as an id) as Wicket thinks that company and name are seperate components because of the '.', which is Wicket's path seperateor. This is unfortunate, as it is a valid Ognl expression (which means to get the name property of the company property of the target object).
Eelco Gili wrote:
I somewhat object... I like the current behavior. Maybe I don't understand what you are refering to by a "component path". Where is this used in Wicket? Can you give me an example String where the dot is ambigious whether it is a OGNL thing or component path thing? Is it really possible to have a subcomponent having the exact same name as a OGNL "member of a class" and have it refer to two different objects?Thanks, Gili
------------------------------------------------------- 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
