webtier@glassfish.java.net

JSF issue about space

From: <forums_at_java.net>
Date: Mon, 26 Sep 2011 22:09:30 -0500 (CDT)

I am a green bird in JSF, now I was puzzled by the text of it.

when I assign the value of the outputText with some spaces, the result shown
in IE has only one space.

ex:

the code is like <h:outputText id="name" value="aa     bbb"
></h:outputText>

the result text shown in IE is "aa bbb"

can anyone tell me why the spaces disappear without trace?

 


--
[Message sent by forum member 'PhoenixCA']
View Post: http://forums.java.net/node/847353