Introduce tabbed area.
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / ui / util / CmsUiUtils.java
index 65228aa5d559f7cb54a1e01418b8a94bd4d6d9ad..915b033365d8adab08ab6ab538e088fd946ca183 100644 (file)
@@ -178,6 +178,8 @@ public class CmsUiUtils implements CmsConstants {
 
        /** Style widget */
        public static <T extends Widget> T style(T widget, String style) {
+               if (style == null)
+                       return widget;// does nothing
                widget.setData(CmsConstants.STYLE, style);
                return widget;
        }