• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

newbie: message format question

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FORGET THIS POST
seems to be a problem of SEAM or JAVA...
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100761

in the .properties file, I have a text that includes standard java message formatting - e.g.



in the web-page i use the following code to generate the output:


but the rendered string is:


why does the #.## not work with h:outputFormat?

is this my mistake, or does h:outputFormat not support all java message format identifiers?
http://java.sun.com/javase/6/docs/api/java/text/MessageFormat.html

thanks in advance


well, after some other checks, it turned out, that the message string is not read corectly from the .properties file

when I output the message string in the HTML page,

it is rendered, as:

string {1} currency {0} integer {2} date {3}.



is this a JSF issue, or might it be a problem with my application server (JBoss) or the framework (SEAM) I use?

[ October 31, 2007: Message edited by: Martin Trummer ]
[ October 31, 2007: Message edited by: Martin Trummer ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic