Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0-rc1
    • 1.3.1
    • wicket, wicket-extensions
    • None
    • 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.

      Attachments

        1. quickstart_wrongProperties.zip
          9 kB
          Michael Sparer

        Activity

          People

            ivaynberg Igor Vaynberg
            msparer Michael Sparer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: