>Right, a bit annoying ... but that makes me think that we can use the >'format.numer' directly in the converter
Some kind of formatting would be useful and possibly eliminate the getText() call. Tried number, but it is an output field only, also <s:number name="bean.size" maximumFractionDigits="1" /> still shows 10, does not seem to do anything? On 28 November 2017 at 08:27, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 2017-11-28 9:21 GMT+01:00 Greg Huber <gregh3...@gmail.com>: > > It works ok, but I want to show the digits (.0). Is there any way I can > > now easily do this? > > Sorry but no :( > > > My price fields I have to manually set the value: > > > > <s:textfield name="bean.price" > > value="%{getText('format.number',{bean.price})}" size="5" maxlength="6" > /> > > Right, a bit annoying ... but that makes me think that we can use the > 'format.numer' directly in the converter > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >