Package com.sun.webui.jsf.component

Examples of com.sun.webui.jsf.component.Field


            @HandlerInput(name="moduleField", type=com.sun.webui.jsf.component.Field.class),
            @HandlerInput(name="policyValue", type=String.class)}
        )
    public static void setDisableModuleField(HandlerContext handlerCtx) {
        String policyValue = (String)handlerCtx.getInputValue("policyValue");
        Field moduleField = (Field)handlerCtx.getInputValue("moduleField");
        if("user-defined".equals(policyValue)){
            moduleField.setDisabled(false);
        }else
            moduleField.setDisabled(true);
    }
View Full Code Here


            @HandlerInput(name="tableField", type=com.sun.webui.jsf.component.Field.class),
            @HandlerInput(name="methodValue", type=String.class)}
        )
    public static void setDisableConnectionPoolTableField(HandlerContext handlerCtx) {
        String methodValue = (String)handlerCtx.getInputValue("methodValue");
        Field tableField = (Field)handlerCtx.getInputValue("tableField");
        if("table".equals(methodValue)){
            tableField.setDisabled(false);
        }else
            tableField.setDisabled(true);
    }
View Full Code Here

TOP

Related Classes of com.sun.webui.jsf.component.Field

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.