You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Struts2 Fan <st...@gmail.com> on 2007/08/03 09:50:16 UTC
How to use JFreeChartPlugin in tag
Hi all,
I am trying to put a JFreeChart in a <s:div> tag
---jsp file---
...
<s:url id="testChart" value="/TestChart.html" />
<s:div
id="once"
theme="ajax"
cssStyle="border: 1px solid yellow;"
href="%{testChart}">
Initial Content</s:div>
...
---eof---
/TestChart.html displays correctly but when I try to put it in a <s:div> tag
it displays weird characters.
http://www.nabble.com/file/p11978932/message.jpg
Any thoughts?
--
View this message in context: http://www.nabble.com/How-to-use-JFreeChartPlugin-in-%3Cs%3Adiv%3E-tag-tf4211109.html#a11978932
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: How to use JFreeChartPlugin in tag
Posted by vamsi <va...@gmail.com>.
Is that escaping the output ?
Can u post that weird characters.
----- Original Message -----
From: "Struts2 Fan" <st...@gmail.com>
To: <us...@struts.apache.org>
Sent: Friday, August 03, 2007 1:20 PM
Subject: How to use JFreeChartPlugin in <s:div> tag
>
> Hi all,
>
> I am trying to put a JFreeChart in a <s:div> tag
>
> ---jsp file---
> ...
> <s:url id="testChart" value="/TestChart.html" />
> <s:div
> id="once"
> theme="ajax"
> cssStyle="border: 1px solid yellow;"
> href="%{testChart}">
> Initial Content</s:div>
> ...
> ---eof---
>
> /TestChart.html displays correctly but when I try to put it in a <s:div>
> tag
> it displays weird characters.
> http://www.nabble.com/file/p11978932/message.jpg
>
> Any thoughts?
> --
> View this message in context:
> http://www.nabble.com/How-to-use-JFreeChartPlugin-in-%3Cs%3Adiv%3E-tag-tf4211109.html#a11978932
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
[S2] Submitting a Double => pb of locale
Posted by ML...@abusinessware.com.
Hi,
When I submit a numeric in a form, the validation accepts only dotted
numbers (12,34) (I'm with a French locale). If a set 12.34, the validation
failed and I have the message : "Invalid field value for field "xx""
But when a submit 12,34 and another field has an error, I come back to my
JSP with 12.34 has my number's value. So when correct the error and
re-submit, the numeric field has now an error.
Where is the problem ? My field is a Double in my bean.
How can I correct the problem ? In an Intercetor ? (extending
ParametersInterceptor ?)
And How could I change the default message "Invalid field value for field
"xx"" ? What is the key to put in my package_xx.properties ?
Thanks a lot.