Hi,

i have a form containing text fields with borders. I am using a CompoundPropertyModel with field navigation e.g.
"seller.firstName" to define the sellers firstname.

form.add(new FormComponentFeedbackBorder("borderFirstName")
        .add(new RequiredTextField<String>("seller.firstName")));

So I define my validation messages in the property file like this:
form.borderFirstName.seller.firstName.Required=Bitte geben Sie Ihren Vornamen ein.

This does not work as the delimiter for components is "." and so "seller.firstName" is interpreted as component navigation and not as the wicket:id "seller.firstName" referring to the CompoundPropertyModel .

What is the right to handle this?

Is there a global place to change the delimiter for resource key loading ("/" would work)?


Thanks,
Oliver

Reply via email to