You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/01/11 22:32:34 UTC

[jira] Resolved: (WICKET-1274) Only properties from first panel-implementation loaded when using different implementations of an abstract panel on the same page

     [ https://issues.apache.org/jira/browse/WICKET-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1274.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.1

fixed. localizer was generating bad cache keys which would sometimes result in false positive cache hits. now the keys are longer, but much more accurate.

> 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
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.3.1
>
>         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.