<ww:text> is for finding localized text messages... It's not a UI component
> -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 2:29 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] formatting dates and numbers > > > hmm having looked at text.vm template its used for displaying > a <input > type="text"> tag.. and what happened to textfield tag too? > > Patrick Lightbody wrote: > > Haha, examples. Good one :P > > > > Actually, the examples for 1.3 should work, since i18n > hasn't change > > in 2.0. Actually, if you know a bit about ResourceBundles > and i18n in > > general, the <ww:text/> tag shouldn't be too tough. > > > > Essentially, if your action is Foo (extends ActionSupport), > and it has > > a property "date", then you do: > > > > > > <ww:text name="'some.date'" arg0="date"/> > > > > OR > > > > <ww:text name="'some.date'"> > > <ww:param value="date"/> > > </ww:text> > > > > OR > > > > <ww:property value="text('some.date', {date})'/> > > > > All of those will result in ActionSupport.getText() being called. > > You'll need a file called Foo.properties that has an entry: > > > > some.date = {0,date} > > > > -Pat > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > On Behalf Of > > Paul Knepper > > Sent: Monday, November 17, 2003 1:46 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [OS-webwork] formatting dates and numbers > > > > I'm using WebWork2. Are there any examples? > > > > > > -----Original Message----- > > From: Cuong Tran [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 17, 2003 12:21 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [OS-webwork] formatting dates and numbers > > > > > > > > I'd use the <ww:text> tag for that. > > > > --- Paul Knepper <[EMAIL PROTECTED]> wrote: > > > >>I'm using jsp pages with <ww:property> tags to output data. > >> > >>How do I format dates and numbers? I would like to specify > dates as > >>yyyy/mm/dd. And I'd like to format numbers regarding > number of digits > >>for precision etc... > >> > >>Thanks, > >>Paul > >> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF. Net email is sponsored by: GoToMyPC > >>GoToMyPC is the fast, easy and secure way to access your > computer from > >>any Web browser or wireless device. Click here to Try it Free! > >> > > > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tm > > pl > > > >>_______________________________________________ > >>Opensymphony-webwork mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > __________________________________ > > Do you Yahoo!? > > Protect your identity with Yahoo! Mail AddressGuard > > http://antispam.yahoo.com/whatsnewfree > > > > > > ------------------------------------------------------- > > This SF. Net email is sponsored by: GoToMyPC > > GoToMyPC is the fast, easy and secure way to access your > computer from > > any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tm > > pl > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > > This SF. Net email is sponsored by: GoToMyPC > > GoToMyPC is the fast, easy and secure way to access your > computer from > > any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_> 2003/t/g22lp?Target=/g22lp.tmpl > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > > This SF. Net email is sponsored by: GoToMyPC > > GoToMyPC is the fast, easy and secure way to access your > computer from > > any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_> 2003/t/g22lp?Target=mm/g22lp.tm > > pl > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your > computer from any Web browser or wireless device. Click here > to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ g22lp.tmpl _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork