Hi,
Sorry for the late reply:
Hmm, I don't remember right off the bat - but I think there should be a "IModel buttonModel" constructor argument for the filter panel, if there is not, it is probably an omission, bit since it has a wicket:id I would presume that it has this.
So: simply put in your IModel with the text into that argument, and it should render your custom label.
wadi wrote:
Hi All again. I could solve the i18n problem. The thing is that I don't understand how to change the text of an input item of a custom panel, let's say FilterPanel:
<input type="submit" value="Filter" wicket:id="button"/>
How can I change the value="Filter" without changing the html and rebuilding the project?
Thanks in advance,
Wadi