[PJUG Javamail] Easy Way to Do It the Hard Way?
Richard Johnson
richardj at lingosys.com
Thu Nov 13 15:57:16 EST 2008
In the finest "you never find it RTFM'ing until you ask someone"
tradition ...
it's escape="false".
I *knew* it worked the other way around . :-)
<h:outputText escape="false" value="£ "
rendered="#{client.organization == 'Foo Bank'}"/>
--
Richard Johnson, Systems Architect
Lingo Systems
15115 SW Sequoia Pkwy #200
Portland Oregon 97224
richardj at lingosys.com
http://www.lingosys.com <http://www.lingosys.com/>
voice 503-419-4889 or 800-878-8523
FAX 503-419-4873
________________________________
From: javamail-bounces at pjug.org [mailto:javamail-bounces at pjug.org] On
Behalf Of Richard Johnson
Sent: Thursday, November 13, 2008 12:43 PM
To: javamail at pjug.org
Subject: [PJUG Javamail] Easy Way to Do It the Hard Way?
Hi,
I have a nonlocalized app with the following:
<h:panelGroup>
<h:outputText value="$" rendered="#{client.organization !=
'Foo Bank'}"/>
<h:outputText value="£ "
rendered="#{client.organization == 'Foo Bank'}"/>
<h:outputText value="#{projectVendorCost}"
converter="converters.USCurrencyConverter"/>
</h:panelGroup>
which naturally enough prints out either $_<box> or £_<box>
Is there an easy or straightforward way to tell JSF to issue the
appropriate ISO symbol code such as & or £ ?
Yes, for now I'm avoiding localizing. This would be laughably easy if
the app actually used localization as per the standard. Ironic, you
betcha!
--
Richard Johnson, Systems Architect
Lingo Systems
15115 SW Sequoia Pkwy #200
Portland Oregon 97224
richardj at lingosys.com
http://www.lingosys.com <http://www.lingosys.com/>
voice 503-419-4889 or 800-878-8523
FAX 503-419-4873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20081113/33064442/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 50186 bytes
Desc: attc127c.bmp
Url : http://www.pjug.org/pipermail/javamail/attachments/20081113/33064442/attachment.bmp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 50186 bytes
Desc: untitled.bmp
Url : http://www.pjug.org/pipermail/javamail/attachments/20081113/33064442/attachment-0001.bmp
More information about the Javamail
mailing list