Package org.richfaces.component

Examples of org.richfaces.component.AbstractWatermark


        addOptionIfSetAndNotDefault("text", getInputValue(context, watermark), options);
        return options;
    }

    protected void writeInitFunction(FacesContext context, UIComponent component) throws IOException {
        AbstractWatermark watermark = (AbstractWatermark) component;
        ResponseWriter writer = context.getResponseWriter();
        String clientId = watermark.getClientId(context);
        final Map<String, Object> options = getOptions(context, watermark);
        options.put("targetId", watermark.getTargetClientId(context));
        writer.writeText(new JSObject("RichFaces.ui.Watermark", clientId, options).toScript(), null);
    }
View Full Code Here

TOP

Related Classes of org.richfaces.component.AbstractWatermark

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.