JIRA issue created:  https://issues.apache.org/jira/browse/WICKET-959
WICKET-959 


Eelco Hillenius wrote:
> 
> Could you open a JIRA issue please so that we can fix either the WIKI or a
> bug?
> 
> Eelco
> 
> On 8/27/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
>>
>> The
>> http://cwiki.apache.org/confluence/display/WICKET/I18n+and+resource+bundles
>> wicket wiki page  states that "you can use MyApplication.properties for
>> site
>> wide messages and override these in any of the other properties files.".
>>
>> But there is a case where this is not true:
>>
>> I have a BaseApplicationPage.properties file with the following resource
>> message:
>> <code>
>> nullValid=All
>> </code>
>>
>> And another, component specific file: NewBookingPeriod.properties with
>> the
>> same resource message:
>> <code>
>> nullValid=Empty Prices
>> </code>
>>
>> I would expect that the latest resource message (Empty Prices) would
>> override the generic nullValid resource message. But it doesn't work this
>> way.
>>
>> My workaround is to change (prepend to nullValid the component id) the
>> resource message from NewBookingPeriod.properties to:
>> <code>
>> bookingPeriods.nullValid=Empty Prices
>> </code>
>> This way it works. Shouldn't it work also when the
>> NewBookingPeriod.properties defines nullValid the same way as
>> BaseApplicationPage.properties does?
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/I18n-and-resource-bundles-prioritization-tf4334243.html#a12344041
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/I18n-and-resource-bundles-prioritization-tf4334243.html#a12629173
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to