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
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
?
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
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
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
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
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/>
"
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
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:
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
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
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
£ 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
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
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"
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
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
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
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
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
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
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
22 matches
Mail list logo