Wicket
  1. Wicket
  2. WICKET-1274

Only properties from first panel-implementation loaded when using different implementations of an abstract panel on the same page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-rc1
    • Fix Version/s: 1.3.1
    • Component/s: wicket, wicket-extensions
    • Labels:
      None
    • Environment:
      WinXP SP2, Java 6, Firefox 2.0.0.11, IE 7

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Michael Sparer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development