Package org.conventionsframework.util

Examples of org.conventionsframework.util.StateBuilder


        if(ignoreEvent){
            return;
        }

        if(Boolean.valueOf(dinamic)){
            StateBuilder builder = stateBuilder.type(bean.getClass()).callback(callback).entity(entity).state(state).value(value)
                    .oncomplete(oncomplete).update(update).outcome(outcome).title(title);
            if (Boolean.valueOf(global)) {
                builder.global();
            }
            if (Boolean.valueOf(ajax)) {
                builder.ajax();
            }
            if (Boolean.valueOf(immediate)) {
                builder.immediate();
            }
            if (Boolean.valueOf(resetValues)) {
                builder.resetValues();
            }
            if (Boolean.valueOf(addEntityIdParam)) {
                builder.addEntityIdParam();
            }

            builder.buildAndRegister();
        }
        else{
            try{
                Object managedBean = BeanManagerController.getBeanByType(bean.getClass().getSuperclass());
                StateMBean stateMBean = (StateMBean)managedBean;
View Full Code Here

TOP

Related Classes of org.conventionsframework.util.StateBuilder

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.