Examples of UIViewRootEx


Examples of com.ibm.xsp.component.UIViewRootEx

        return CONTENT_TYPES;
    }

    public boolean render(FacesContext context, UIComponent component, ResponseWriter writer, String contentType, String value) throws IOException {
        if(contentType.equals(CONTENT_TYPE_PROFILE_VCARD)) {
            UIViewRootEx rootEx = (UIViewRootEx)context.getViewRoot();
            if(UISbtClient.isClientEnabled(rootEx)) {
                renderProfilesCard(context, writer, rootEx, component, value);
            } else {
                renderConnectionsText(context, writer, rootEx, component, value);
            }
            return true;
        } else if (contentType.equals(CONTENT_TYPE_PROFILE_VCARD_INLINE)) {
            UIViewRootEx rootEx = (UIViewRootEx)context.getViewRoot();
            if(UISbtClient.isClientEnabled(rootEx)) {
                renderProfilesCardInline(context, writer, rootEx, component, value);
            } else {
                renderConnectionsText(context, writer, rootEx, component, value);
            }
View Full Code Here

Examples of com.ibm.xsp.component.UIViewRootEx

    writer.endElement("div");
    
        if (isAnonymous) {
            // Add the dijit.TooltipDialog module
            DojoModuleResource module = new DojoModuleResource("dijit.TooltipDialog");
            UIViewRootEx rootEx = (UIViewRootEx)paramFacesContext.getViewRoot();
            rootEx.addEncodeResource(module);

            ScriptResource res = new ScriptResource("mypic.js", true);
            rootEx.addEncodeResource(res);           
           
          writer.startElement("div", null);
          writer.writeAttribute("id", paramUIComponent.getClientId(paramFacesContext) + ":loginDialog", "id");
          writer.writeAttribute("style", "display:none;", null);
          writer.writeAttribute("closable", "true", null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.