View | Details | Raw Unified | Return to bug 6239
Collapse All | Expand All

(-)index.html (-1 / +5 lines)
Lines 156-162 Link Here
156
message tag.  In the example below, text2 is mapped to
156
message tag.  In the example below, text2 is mapped to
157
"{0,date,short} {1,number,currency}" which automatically formats the date and
157
"{0,date,short} {1,number,currency}" which automatically formats the date and
158
currency according to the defaults for that locale, but a given locale could
158
currency according to the defaults for that locale, but a given locale could
159
override that if it wanted to be explicit.</p>
159
override that if it wanted to be explicit.  Note that if you use arguments for
160
your message tags, java.util.MessageFormat puts some restrictions on the
161
characters you are allowed to use.  The one that is most likely to affect you
162
is the requirement that single apostrophies should be escaped by another
163
apostrophe (so, you replace ' with '' in your resource bundle properties file).</p>
160
164
161
Examples:<br>
165
Examples:<br>
162
<code>
166
<code>

Return to bug 6239