javascript-console-share/src/main/amp/web/fme/components/jsconsole/javascript-console.js
/**
             * Called by the ConsolePanelHandler when this panel shall be loaded
             *
             * @method onLoad
             */
Called by the ConsolePanelHandler when this panel shall be loaded

@method onLoad
Called by the ConsolePanelHandler when this panel shall be loaded @method onLoad
function onLoad()
         {
             parent.widgets.pathField = Dom.get(parent.id + "-pathField");
             parent.widgets.documentField = Dom.get(parent.id + "-documentField");
             parent.widgets.nodeField = Dom.get(parent.id + "-nodeRef");
             parent.widgets.scriptInput = Dom.get(parent.id + "-jsinput");
             parent.widgets.scriptOutput = Dom.get(parent.id + "-jsoutput");
             parent.widgets.repoInfoOutput = Dom.get(parent.id + "-repoInfo");
             parent.widgets.dumpInfoOutput = Dom.get(parent.id + "-dump");
             parent.widgets.jsonOutput= Dom.get(parent.id + "-jsonOutput");
             parent.widgets.templateInput = Dom.get(parent.id + "-templateinput");
             parent.widgets.templateOutputHtml = Dom.get(parent.id + "-templateoutputhtml");
             parent.widgets.templateOutputText = Dom.get(parent.id + "-templateoutputtext");
             parent.widgets.config = {
                     runas : Dom.get(parent.id + "-runas"),
                     transaction : Dom.get(parent.id + "-transactions"),
                     urlargs : Dom.get(parent.id + "-urlarguments"),
                     runlikecrazy : Dom.get(parent.id + "-runlikecrazy")
             };
             parent.widgets.selectDestinationButton = Alfresco.util.createYUIButton(parent, "selectDestination-button", parent.onSelectDestinationClick);
             parent.widgets.executeButton = Alfresco.util.createYUIButton(parent, "execute-button", parent.onExecuteClick);
             parent.widgets.refreshButton = Alfresco.util.createYUIButton(parent, "refresh-button", parent.onRefreshServerInfoClick);
             Dom.addClass(parent.widgets.refreshButton._button.parentNode.parentNode, 'refresh-button-env');
         }
function onLoad ( ) { parent . widgets . pathField = Dom . get ( parent . id + "-pathField" ) ; parent . widgets . documentField = Dom . get ( parent . id + "-documentField" ) ; parent . widgets . nodeField = Dom . get ( parent . id + "-nodeRef" ) ; parent . widgets . scriptInput = Dom . get ( parent . id + "-jsinput" ) ; parent . widgets . scriptOutput = Dom . get ( parent . id + "-jsoutput" ) ; parent . widgets . repoInfoOutput = Dom . get ( parent . id + "-repoInfo" ) ; parent . widgets . dumpInfoOutput = Dom . get ( parent . id + "-dump" ) ; parent . widgets . jsonOutput = Dom . get ( parent . id + "-jsonOutput" ) ; parent . widgets . templateInput = Dom . get ( parent . id + "-templateinput" ) ; parent . widgets . templateOutputHtml = Dom . get ( parent . id + "-templateoutputhtml" ) ; parent . widgets . templateOutputText = Dom . get ( parent . id + "-templateoutputtext" ) ; parent . widgets . config = { runas : Dom . get ( parent . id + "-runas" ) , transaction : Dom . get ( parent . id + "-transactions" ) , urlargs : Dom . get ( parent . id + "-urlarguments" ) , runlikecrazy : Dom . get ( parent . id + "-runlikecrazy" ) } ; parent . widgets . selectDestinationButton = Alfresco . util . createYUIButton ( parent , "selectDestination-button" , parent . onSelectDestinationClick ) ; parent . widgets . executeButton = Alfresco . util . createYUIButton ( parent , "execute-button" , parent . onExecuteClick ) ; parent . widgets . refreshButton = Alfresco . util . createYUIButton ( parent , "refresh-button" , parent . onRefreshServerInfoClick ) ; Dom . addClass ( parent . widgets . refreshButton . _button . parentNode . parentNode , 'refresh-button-env' ) ; }
Called by the ConsolePanelHandler when this panel shall be loaded
Called by the ConsolePanelHandler when this panel shall be loaded
// Buttons
 //             Dom.addClass(parent.widgets.refreshButton, 'refresh-button');
