I have a textfield in my JSP like this -
<s:textfield name="chargeAmount" value="%{getText('{0,number,#,##0.00}', chargeAmount)}"/>
The getText() takes care of formatting the number when the page is loaded. But, how do I format a number after I enter it into the textfield?
How do I right-align the value in this textfield? I want it displayed right-aligned when the page is loaded and after I enter something into the textfield.
Thanks !!