Hi,

In a form, I have multiple fields each one with its corresponding
FormComponentLabel, with proper <wicket:message> content in the markup file.
Now, I'm facing the fact that I need to provide the same keys I provided in
<wicket:message> in a StringResourceModel in component's setLabel() method.

Although I'm aware it's not straightforward (setLabel requires a Model, and
<label>'s body is just body markup), it would be great if there was some way
to avoid this duplication telling Wicket to use the same key provided in the
FormComponentLabel's body...

Does anyone have a hint ?

Thanks,
Xavier

Reply via email to