[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    Help needed with multiple bundles of i18n tag
From:       Pankaj Malviya <PMalviya () jareva ! com>
Date:       2002-05-29 0:16:39
[Download RAW message or body]


Consider the following code in my JSP page which is utilizing resource
string from a global resource file for labels on OK , Cancel buttons as well
as page specific resource file titled "snapshot".



<%@ taglib uri="http://jakarta.apache.org/taglibs/i18n" prefix="i18n" %>

<%@ taglib uri="http://jakarta.apache.org/taglibs/i18n" prefix="global" %>

<% Locale localeVar = JarevaLocale.getLocale();%>

<i18n:bundle baseName="com.jareva.webclient.ui.resources.snapshot"
locale="<%=localeVar%>"/>

<global:bundle baseName="com.jareva.webclient.ui.resources.global"
locale="<%=localeVar%>"/>

While invoking the page, only first bundle takes effect, The second one
doesn't work. The JSP page fails to display labels fetched from global
propeties file. Can you tell me where my understanding has problem ?

Thanks,

Pankaj

       

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic