You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Khan, Asim" <as...@shami.com> on 2002/09/19 07:30:39 UTC

More than One Application Resource Bundles

Hello,

Can it possible I define more than one resource bundle in Struts.
like.
ApplicationResourceLabels.
ApplicationResourceErrors.
ApplicationResourceFieldValues.

any idea.

with thanks,
Asim Khan

----- Original Message -----
From: "Khan, Asim" <as...@shami.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, September 18, 2002 10:29 PM
Subject: Re: Formatting output with Struts 1.02


> Hello,
>
> Can it possible I define more than one resource bundle in Struts.
> like.
> ApplicationResourceLabels.
> ApplicationResourceErrors.
> ApplicationResourceFieldValues.
>
> any idea.
>
> with thanks,
> Asim Khan
>
> ----- Original Message -----
> From: "Eddie Bush" <ek...@swbell.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Wednesday, September 18, 2002 7:08 PM
> Subject: Re: Formatting output with Struts 1.02
>
>
> > You might look for something analagous in the jakarta taglibs projects.
> >  The JSTL provides the ability to do this too.
> >
> > (Sorry, I don't know of a 1.0 way to do it - someone else very well may
> > though)
> >
> > HTH,
> >
> > Eddie
> >
> > Norman Klein wrote:
> >
> > >How do you control the formatting of output in Struts 1.02 (going to
> Struts
> > >1.1 isn't an option here).
> > >
> > >We want to carry data around in our form beans and leave all of the
> > >formatting issues to the JSP file.
> > >Suppose our form bean contains the value "12345.67788", we want this to
> be
> > >displayed as $12,345.68
> > >
> > >It is my understanding that in Struts 1.1, the bean:write command can
> look
> > >like this (hopefully I have expressed this correctly):
> > >
> > > <bean:write name="transBean" property="amount" format="$###,###.##"
> > >/>
> > >
> > >But this isn't supported in Struts 1.02. Is there a suitable
> alternative??
> > >
> > >Thanks, Norman
> > >
> >
> > --
> > Eddie Bush
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>