Package org.auraframework.def

Examples of org.auraframework.def.ComponentDefRef.newInstance()


                        if (section instanceof List) {
                            for (Object obj : (List<?>) section) {
                                if (obj instanceof ComponentDefRef) {
                                    ComponentDefRef cdr = (ComponentDefRef) obj;
                                    Component cmp = cdr.newInstance(component.getAttributes().getValueProvider());
                                    Aura.getRenderingService().render(cmp, out);
                                } else if (obj instanceof Component) {
                                    Aura.getRenderingService().render((Component) obj, out);
                                }
                            }
View Full Code Here


    @Override
    public Object initialize(Object config, BaseComponent<?, ?> valueProvider) throws QuickFixException {
        ComponentDefRef defRef = (ComponentDefRef) config;
        try {
            return defRef.newInstance(valueProvider);
        } catch (DefinitionNotFoundException e) {
            throw new AuraRuntimeException(e);
        }
    }
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.