litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/AccordionTable.java
|
@@ -3,8 +3,8 @@ |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.GWT.client.widgets.datatables.DetailRowModel.*; |
5 |
5 |
|
import org.litesoft.GWT.client.widgets.nonpublic.*; |
|
6 |
+ |
import org.litesoft.commonfoundation.base.*; |
6 |
7 |
|
import org.litesoft.commonfoundation.html.*; |
7 |
|
- |
import org.litesoft.commonfoundation.typeutils.*; |
8 |
8 |
|
|
9 |
9 |
|
import com.google.gwt.dom.client.*; |
10 |
10 |
|
import com.google.gwt.event.dom.client.*; |
|
@@ -107,7 +107,7 @@ |
107 |
107 |
|
} |
108 |
108 |
|
|
109 |
109 |
|
// setup w/ some fake data so we can calculate row heights |
110 |
|
- |
mTable.setFooter( 0, HTMLConstants.NBSP, null, 0 ); |
|
110 |
+ |
mTable.setFooter( 0, HtmlEntity.NBSP, null, 0 ); |
111 |
111 |
|
mTable.resizeRows( 2 ); |
112 |
112 |
|
final Element detailTr = mTable.getRowElement( 0 ); |
113 |
113 |
|
final Element normalTr = mTable.getRowElement( 1 ); |
|
@@ -440,8 +440,8 @@ |
440 |
440 |
|
if ( pAlign != null ) { |
441 |
441 |
|
innerTd.setPropertyString( "align", pAlign.getTextAlignString() ); |
442 |
442 |
|
} |
443 |
|
- |
String stringValue = Strings.noEmpty( (String) pValue ); |
444 |
|
- |
innerTd.setInnerHTML( (stringValue != null) ? stringValue : HTMLConstants.NBSP ); |
|
443 |
+ |
String stringValue = ConstrainTo.significantOrNull( (String) pValue ); |
|
444 |
+ |
innerTd.setInnerHTML( (stringValue != null) ? stringValue : HtmlEntity.NBSP ); |
445 |
445 |
|
return innerTd; |
446 |
446 |
|
} |
447 |
447 |
|
|
|
@@ -456,8 +456,8 @@ |
456 |
456 |
|
Style style = td.getStyle(); |
457 |
457 |
|
style.setPropertyPx( "paddingRight", pPaddingRight ); |
458 |
458 |
|
} |
459 |
|
- |
String stringValue = Strings.noEmpty( (String) pValue ); |
460 |
|
- |
td.setInnerHTML( (stringValue != null) ? stringValue : HTMLConstants.NBSP ); |
|
459 |
+ |
String stringValue = ConstrainTo.significantOrNull( (String) pValue ); |
|
460 |
+ |
td.setInnerHTML( (stringValue != null) ? stringValue : HtmlEntity.NBSP ); |
461 |
461 |
|
} |
462 |
462 |
|
|
463 |
463 |
|
public void setFooterAlignment( int pCol, HorizontalAlignmentConstant pAlign ) { |