public void renderInitialization(Widget widget) throws IOException { ControlDecorator decorator = (ControlDecorator) widget; IClientObject clientObject = ClientObjectFactory.getClientObject(decorator); clientObject.create(TYPE); clientObject.set("parent", WidgetUtil.getId(decorator.getParent())); clientObject.set("style", WidgetLCAUtil.getStyles(decorator, ALLOWED_STYLES)); }
public void renderInitialization(Widget widget) throws IOException { ToolTip toolTip = (ToolTip) widget; IClientObject clientObject = ClientObjectFactory.getClientObject(toolTip); clientObject.create(TYPE); clientObject.set("parent", WidgetUtil.getId(toolTip.getParent())); clientObject.set("style", WidgetLCAUtil.getStyles(toolTip, ALLOWED_STYLES)); }