Chris,
now I can format my output to the forms. But why is it this strange way.
I had expected that the formatting is
much easier for the textfields...
thank you very much
Marc
Chris Pratt schrieb:
Maybe try:
s:text name=format.currency id=model.currency
s:param
I'm not crazy about the tag libraries that are included with Struts 2,
I've just learned ways to make them work. In this case, what the
work-around is doing is formatting the value and storing it on the
value stack, then referencing it from the textfield for it's value.
It works, but like you
Hi,
I've got a s:textfield where I show an double value. But I wanted to
change the value to an currency (EUR).
But I only get the standard 100.00 instead of 100,00. When I only wants
to publish it in a website I use
s:text name=format.currency
s:param name=value
Hi,
This page may help you:
http://www.roseindia.net/struts/struts2/struts-2-format.shtml
Regards.
On 4/29/08, Marc Ende [EMAIL PROTECTED] wrote:
Hi,
I've got a s:textfield where I show an double value. But I wanted to
change the value to an currency (EUR).
But I only get the standard
This is the another page:
http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html
On 4/30/08, Okan Özeren [EMAIL PROTECTED] wrote:
Hi,
This page may help you:
http://www.roseindia.net/struts/struts2/struts-2-format.shtml
Regards.
Hi,
the examples are for output formatting in s:text but this doesn't work
for s:textfield.
This...
s:textfield name=text.message
s:param value=userName/
/s:textfield
doesn't work... :(
Regards
Marc
Okan Özeren schrieb:
This is the another page:
Maybe try:
s:text name=format.currency id=model.currency
s:param name=value value=model.price /
/s:text
s:textfield name=text.message value=%{model.currency}/
(*Chris*)
On Tue, Apr 29, 2008 at 10:27 PM, Marc Ende [EMAIL PROTECTED] wrote:
Hi,
7 matches
Mail list logo