litesoft
Diff Revisions
49
vs
712
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/OurLabel.java
|
@@ -2,6 +2,7 @@ |
2 |
2 |
|
package org.litesoft.GWT.client.widgets; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.core.util.*; |
|
5 |
+ |
import org.litesoft.core.util.HTMLConstants; |
5 |
6 |
|
|
6 |
7 |
|
import com.google.gwt.user.client.*; |
7 |
8 |
|
import com.google.gwt.user.client.ui.*; |
|
@@ -40,7 +41,7 @@ |
40 |
41 |
|
pLabelText = UtilsCommon.deNull( pLabelText ); |
41 |
42 |
|
if ( pLabelText.length() == 0 ) |
42 |
43 |
|
{ |
43 |
|
- |
pLabelText = " "; |
|
44 |
+ |
pLabelText = HTMLConstants.NBSP; |
44 |
45 |
|
pAsHTML = true; |
45 |
46 |
|
} |
46 |
47 |
|
if ( pAsHTML ) |