Package com.ibm.xsp.application

Examples of com.ibm.xsp.application.ViewHandlerEx


            writer.startElement("a", component);
            writer.writeAttribute("class", "fn url", null); // $NON-NLS-1$ $NON-NLS-2$
           
            writer.writeAttribute("style", "font-size:90%;", null); // $NON-NLS-1$ $NON-NLS-2$
            if(vals.length>=3)  {
                ViewHandlerEx viewHandler = (ViewHandlerEx)context.getApplication().getViewHandler();
                String href = viewHandler.getResourceURL(context,vals[2]);
                writer.writeURIAttribute("href", context.getExternalContext().encodeResourceURL(href), "href"); // $NON-NLS-1$
            } else {
                writer.writeURIAttribute("href", "javascript:void(0);", "href"); // $NON-NLS-1$
            }
            writer.writeText(userName, null);
View Full Code Here

TOP

Related Classes of com.ibm.xsp.application.ViewHandlerEx

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.