Resource Bundle problem

Andrés Torres García <[email protected]> Wed, 22 Apr 2009 13:02:26 +0200
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
--===============8639810751242807755==
Content-Type: multipart/alternative; boundary=0015174bf27e1c7a32046822b856

--0015174bf27e1c7a32046822b856
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!

I=B4m having problems while using the resources bundle in struts menu. In
getting the key in the properties file instead the value. In this case i=B4=
m
getting oficina.menu instead Departamentos.

ApplicationResources.properties
*oficina.menu =3D Departamentos*

My configuration files have:

*struts-config*

*<message-resources parameter=3D"resources.ApplicationResources" />*

*menu-config*
*
    <Menu name=3D"MenuOficinas" title=3D"oficina.menu"
action=3D"/oficinas?buttons[0]=3DnewOficina">
    </Menu>*

*menu.jsp*

*<%@ taglib uri=3D"http://struts-menu.sf.net/tag" prefix=3D"menu" %>*

*<html:xhtml />
<!-- GENERACION DE MENU Strus-menu 2.0 -->
<menu:useMenuDisplayer name=3D"PrincastTabbedMenu"
bundle=3D"org.apache.struts.action.MESSAGE" permissions=3D"rolesAdapter">*

--0015174bf27e1c7a32046822b856
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!<br><br>I=B4m having problems while using the resources bundle in struts=
 menu. In getting the key in the properties file instead the value. In this=
 case i=B4m getting oficina.menu instead Departamentos.<br><br>
ApplicationResources.properties<br><i>oficina.menu =3D Departamentos</i><br=
><br>My configuration files have:<br><br><b>struts-config</b><br><br><i>&lt=
;message-resources parameter=3D&quot;resources.ApplicationResources&quot; /=
&gt;</i><br>

<br><b>menu-config</b><br><i><br>=A0=A0=A0 &lt;Menu name=3D&quot;MenuOficin=
as&quot; title=3D&quot;oficina.menu&quot; action=3D&quot;/oficinas?buttons[=
0]=3DnewOficina&quot;&gt;<br>=A0=A0=A0 &lt;/Menu&gt;</i><br><br><b>menu.jsp=
</b><br><br><i>&lt;%@ taglib uri=3D&quot;<a href=3D"http://struts-menu.sf.n=
et/tag">http://struts-menu.sf.net/tag</a>&quot; prefix=3D&quot;menu&quot; %=
&gt;</i><br>

<br><i>&lt;html:xhtml /&gt;<br>&lt;!-- GENERACION DE MENU Strus-menu 2.0 --=
&gt;<br>&lt;menu:useMenuDisplayer name=3D&quot;PrincastTabbedMenu&quot; bun=
dle=3D&quot;org.apache.struts.action.MESSAGE&quot; permissions=3D&quot;role=
sAdapter&quot;&gt;</i><br>

<br><br><br>

--0015174bf27e1c7a32046822b856--


--===============8639810751242807755==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
--===============8639810751242807755==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

--===============8639810751242807755==--