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 2011/09/17 22:47:08 UTC
[jira] [Resolved] (WICKET-3888) ResourceReference in 1.4 should
optionally behave like PackageResourceReference in 1.5 and use the
Session's locale and style
[ https://issues.apache.org/jira/browse/WICKET-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3888.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.19
Assignee: Igor Vaynberg
> ResourceReference in 1.4 should optionally behave like PackageResourceReference in 1.5 and use the Session's locale and style
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-3888
> URL: https://issues.apache.org/jira/browse/WICKET-3888
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4.17
> Reporter: Carl-Eric Menzel
> Assignee: Igor Vaynberg
> Fix For: 1.4.19
>
> Attachments: 0001-allow-ResourceReference-to-dynamically-use-the-local.patch, 0002-added-convenience-constructor.patch
>
>
> I'm trying to have a ResourceReference that is not *entirely* static, but takes into account the current session's locale and style settings, even when they change. I.e., I want to have the page style change when the session style setting changes, without having to completely rebuild the page.
> PackageResourceReference in 1.5 already does this (in getUrlAttributes(), together with getCurrentStyle() et al), but as far as I can tell, ResourceReference in 1.4 does not.
> The default behavior of 1.4-ResourceReference should not be changed, but it would be nice to have a flag that allows to have the 1.5-like behavior if needed. I'll be attaching a patch to that effect.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira