As Craig did, there is a int param for the ActionServlet that set to true 
does the same that your fix.

                <init-parameter>
                        <name>null</name>
                        <value>false</value>
                </init-parameter>

Hope I did not missuderstand the problem.

Adolfo

>From: Frederico Schuh <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Re: Struts1.1-b1 - generated buttons tags has wierd default titles 
>and alt attributes
>Date: Fri, 5 Apr 2002 10:06:17 -0300 (ART)
>
>I had the same problem.
>All you have to do is call the setReturnNull(true)
>method on the PropertyMessageResources object that
>struts uses to holds the messages.
>I don't know if there is a better solution, but I
>think they forgot to set that property to true to
>avoid getting those ???en_US.null??? stuff when it
>doesn't find entries on the MessageResources object...
>So on the load-startup I have a servlet that sets the
>property to true.
>You can do it like this:
>
>((org.apache.struts.util.PropertyMessageResources)getServletContext().getAttribute("org.apache.struts.action.MESSAGE")).setReturnNull(true);
>
>If someone knows of a configuration parameter to avoid
>doing this, please let us know.
>
>
>  --- Struts Newsgroup <[EMAIL PROTECTED]> escreveu:
> > Subject: Struts1.1-b1 - generated buttons tags has
> > wierd default titles and alt attributes
> > From: "Lian Seng, Loh" <[EMAIL PROTECTED]>
> >  ===
> > Hi,
> > Never noticed this before with 1.0, but view source
> > on a Struts page and my
> > buttons looked like :-
> >
> > <input type="text" name="address1" value=""
> > title="???en_US.null???"
> > alt="???en_US.null???">
> >
> > Is this a configuration problem ?
> >
> > Thanks for any help
> > LS
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>=====
>----------------------------------------
>Frederico Ferro Schuh
>[EMAIL PROTECTED]
>ICQ: 20486081
>
>_______________________________________________________________________________________________
>Yahoo! Empregos
>O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no 
>Yahoo! Empregos e tenha acesso a milhares de vagas abertas!
>http://br.empregos.yahoo.com/
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to