Re: Currency Formatting

2010-07-15 Thread Chris Miles
this. Thanks for your help Chris Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Thursday, July 15, 2010 10:17 PM Subject: Re: Currency Formatting I just use Tiles to do my page composition, so I don't have places where

Re: Currency Formatting

2010-07-15 Thread Chris Pratt
reated. Bit much to > ask. If it helps yourself or anyone I can make up a dummy project showing > the issue to take out the leg work? > > > Chris > > - Original Message - From: "Chris Pratt" > To: "Struts Users Mailing List" > Sent: Thurs

Re: Currency Formatting

2010-07-15 Thread Chris Miles
? Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Thursday, July 15, 2010 8:24 PM Subject: Re: Currency Formatting If that's actually a cut-n-paste job from the files, I can see the error, if you retyped it, it's p

Re: Currency Formatting

2010-07-15 Thread Chris Pratt
ing the include above. > > Can not figure this out? > > Thanks > > Chris > > - Original Message - From: "Chris Miles" > > To: "Struts Users Mailing List" > Sent: Wednesday, July 14, 2010 11:21 PM > > Subjec

Re: Currency Formatting

2010-07-15 Thread Chris Miles
am? This is recreatable if you try doing the include above. Can not figure this out? Thanks Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Wednesday, July 14, 2010 11:21 PM Subject: Re: Currency Formatting On further diggin

Re: Currency Formatting

2010-07-14 Thread Chris Miles
y further light on it? Something in the including mechanism which is messing things up? Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Wednesday, July 14, 2010 12:10 AM Subject: Re: Currency Formatting That's weird

RE: Currency Formatting

2010-07-14 Thread James Cook
riginal Message- From: Chris Pratt [mailto:thechrispr...@gmail.com] Sent: 13 July 2010 23:28 To: Struts Users Mailing List Subject: Re: Currency Formatting I've never used the iterator tag like that, the standard way to use the Struts 2 Iterator would be: http://product.name/> "

Re: Currency Formatting

2010-07-13 Thread Chris Miles
Yeah I was hoping I did not need to. Not at midnight though. Will look tomorrow now haha. Thanks very much for the help. Chrid - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Wednesday, July 14, 2010 12:10 AM Subject: Re: Currency

Re: Currency Formatting

2010-07-13 Thread Chris Pratt
t point. I get the following: > > This is a product name > > > And nothing else for the rest of the page. Nothing in the logs. Nothing :) > > > Chris > - Original Message - From: "Chris Pratt" > To: "Struts Users Mailing List" > Sent:

Re: Currency Formatting

2010-07-13 Thread Chris Miles
esday, July 14, 2010 12:03 AM Subject: Re: Currency Formatting Define "fails", you get a stack trace? you don't get the output you expected? If so, what were you expecting vs. what did you get? I've used that code a thousand times, so I'm not sure what could be going wron

Re: Currency Formatting

2010-07-13 Thread Chris Pratt
it for learning and > trial sake and it fails with the line > > value="price"/> > > I can put > > > > and it displays the value fine. > > > Chris > > - Original Message - From: "Chris Pratt" > To: "Struts Users Mai

Re: Currency Formatting

2010-07-13 Thread Chris Miles
sake and it fails with the line value="price"/> I can put and it displays the value fine. Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Tuesday, July 13, 2010 11:28 PM Subject: Re: Currency Formatting I&#x

Re: Currency Formatting

2010-07-13 Thread Chris Pratt
£ name="format.currency"> > > > > Chris > - Original Message - From: "Chris Pratt" > To: "Struts Users Mailing List" > Sent: Tuesday, July 13, 2010 11:04 PM > > Subject: Re: Currency Formatting > > > puts t

Re: Currency Formatting

2010-07-13 Thread Chris Miles
Chris, I have a list of products which contain a double price. I now have. £name="format.currency"> Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Tuesday, July 13, 2010 11:04 PM Subject: Re: Currency

Re: Currency Formatting

2010-07-13 Thread Chris Pratt
getProduct > > Is there places where different mechanisms need to be used here? I dont > understand the inconstistant result I now get. > > Nothing in the log files on TRACE > > > Thanks > > Chris > - Original Message - From: "Chris Pratt"

Re: Currency Formatting

2010-07-13 Thread Chris Miles
day, July 13, 2010 8:16 PM Subject: Re: Currency Formatting try instead of . (*Chris*) On Tue, Jul 13, 2010 at 12:11 PM, Chris Miles wrote: At the moment I have in my struts.xml value="ApplicationResources" /> ApplicationResources.properties is being packaged within WEB-I

Re: Currency Formatting

2010-07-13 Thread Chris Pratt
Pratt" > To: "Struts Users Mailing List" > Sent: Sunday, July 11, 2010 1:25 AM > Subject: Re: Currency Formatting > > > > Define something like: >> >> format.currency={0,number,currency} >> >> In your applications.properties file, the

Re: Currency Formatting

2010-07-13 Thread Chris Miles
is displayed (a Double). When the s:text is included all I get is: {0} thanks Chris - Original Message - From: "Chris Pratt" To: "Struts Users Mailing List" Sent: Sunday, July 11, 2010 1:25 AM Subject: Re: Currency Formatting Define something like: format.c

Re: Currency Formatting

2010-07-10 Thread Chris Pratt
Define something like: format.currency={0,number,currency} In your applications.properties file, then use: HTH (*Chris*) On Sat, Jul 10, 2010 at 5:53 AM, Chris Miles wrote: > Hi > > If I am displaying a Double to a JSP page what is the recommended way to > format this is as a currency to

RE: Currency Formatting

2010-03-09 Thread CRANFORD, CHRIS
I needed to specify my encoding in a filter inside web.xml. Once I did that, it resolved the issue. Thanks Chris > -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: Tuesday, March 09, 2010 10:23 AM > To: Struts Users Mailing List > Subjec

RE: Currency Formatting

2010-03-09 Thread CRANFORD, CHRIS
e the issue yet my cost fields are being printed as " 3,90 ?" Any other thoughts? > -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: Tuesday, March 09, 2010 10:23 AM > To: Struts Users Mailing List > Subject: Re: Currency Formatting

Re: Currency Formatting

2010-03-09 Thread Chris Pratt
If I had to make a guess, I'd say the font you're using doesn't support the Euro symbol. But, that's just a guess. (*Chris*) On Tuesday, March 9, 2010, CRANFORD, CHRIS wrote: > > I had defined in my applicationMessages.properties a currency string > format as follows: > > format.currency={0,nu