• Post Reply Bookmark Topic Watch Topic
  • New Topic

newbie: message format question

 
Martin Trummer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 hutputFormat?

is this my mistake, or does hutputFormat 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!