Hi all,

I have a question regarding property binding when using localized property files, consider following:

UserHomePage page has one property for localization and that is "title=User's Home" which is then used in markup as:

<head>
<title><wicket:message key=""title" /></title>
</head>
...

This page has inside an UserAddPanel with form with following properties:

formContainer.uaForm.title=Title
formContainer.uaForm.name=First Name
...

for markup:

<wicket:panel>
<div wicket:id="formContainer">
<form wicket:id="uaForm">
<label for="title"><wicket:message key="title" /></label>
<label for="name"><wicket:message key="name" /></label>
...

The name and other labels are generated fine (no reason not to) but the title is set to "User's Home" which is not desired. I would understood this behavior if I hadn't defined such 'fine-grained' property as formContainer.uaForm.title but why is it overriden when there is precise declaration on lower level? Is there a way to achieve behavior which I described or do I have to rename title in form to something else?

TIA,

Marek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to