Only properties from first panel-implementation loaded when using different
implementations of an abstract panel on the same page
---------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-1274
URL: https://issues.apache.org/jira/browse/WICKET-1274
Project: Wicket
Issue Type: Bug
Components: wicket, wicket-extensions
Affects Versions: 1.3.0-rc1
Environment: WinXP SP2, Java 6, Firefox 2.0.0.11, IE 7
Reporter: Michael Sparer
Priority: Minor
Attachments: quickstart_wrongProperties.zip
Extract from the Mailinglist entry on:
http://www.nabble.com/wrong-properties-displayed-to14753907.html
On a WebPage, I'm using a TabbedPanel containing different implementations of
MyAbstractPanel. MyAbstractPanel.html contains a <wicket:message
key="panelHeadline"></wicket:message>. Now I want a different headline for each
of my implementations of MyAbstractPanel.
So I made a properties file for each. E.g. PanelImplOne.properties with
panelHeadline=First panel headline, PanelImplTwo.properties with
panelHeadline=Second panel
When the page gets displayed the first Tab displays the right value. When I
navigate to other tabs however, the displayed message is the same as on the
first tab. The same happens if I use a <span wicket:id="headline" with a
ResourceModel.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.