You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pr...@ubsw.com on 2002/11/25 20:26:09 UTC
How do I format text to be displayed
Hi
Is there a way to control the format of text displayed to users using the html taglib?
When converting from ActionForm to a model, you can use the ConvertUtils to intercept the conversion. Is there a way of doing this the other way round?
For example, if I have
<html:text name="bean" property="amount" />
Can I intercept the call to bean.getAmount().toString() so that I can format it appropriately instead of relying on the default formatting?
TIA
Praful
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>