litesoft
Diff Revisions
818
vs
819
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/WidgetHidingFormComponent.java
|
@@ -1,7 +1,7 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.forms.client.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
import org.litesoft.GWT.client.*; |
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
5 |
5 |
|
|
6 |
6 |
|
import com.google.gwt.user.client.ui.*; |
7 |
7 |
|
import com.google.gwt.user.client.*; |
|
@@ -37,7 +37,7 @@ |
37 |
37 |
|
public boolean isVisible() |
38 |
38 |
|
{ |
39 |
39 |
|
Object zValue = getCurrentValue(); |
40 |
|
- |
return (zValue != null) && !Boolean.FALSE.equals( UtilsGwt.toBoolean( zValue.toString() ) ); |
|
40 |
+ |
return (zValue != null) && !Boolean.FALSE.equals( Booleans.fromString( zValue.toString() ) ); |
41 |
41 |
|
} |
42 |
42 |
|
|
43 |
43 |
|
private void adjustWidgetVisibility() |