Package org.auraframework.impl.javascript.controller

Examples of org.auraframework.impl.javascript.controller.JavascriptPseudoAction


        private final Action action;
        private final String jsStack;

        public AuraClientException(String desc, String id, String message, String jsStack) {
            super(message);
            JavascriptPseudoAction action = null;
            try {
                action = (JavascriptPseudoAction) Aura.getInstanceService().getInstance(desc,
                        ActionDef.class);
                action.setId(id);
                action.addError(this);
            } catch (QuickFixException e) {
                // Uh... okay, we fell over running an action we now can't even define.
            }
            this.action = action;
            this.jsStack = jsStack;
View Full Code Here


            fail("Should not be able to create an instance of the client action on the server side");
        } catch (Exception e) {// Expect a definition not found Exception
            checkExceptionFull(e, DefinitionNotFoundException.class,
                    "No ACTION named js://test.testJSController/ACTION$newAction found");
        }
        JavascriptPseudoAction action = (JavascriptPseudoAction) obj.createAction("functionName1", null);
        assertEquals(State.ERROR, action.getState());

        // 2.3 Extract the action defs and verify each of them in Step 3
        // Get all the actions defined in the Javascript
        Map<String, JavascriptActionDef> controllerActions = obj
                .getActionDefs();
View Full Code Here

TOP

Related Classes of org.auraframework.impl.javascript.controller.JavascriptPseudoAction

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.