rice-framework/krad-web/src/main/webapp/krad/scripts/krad.utility.js
/**
 * runs hidden scripts. The hidden scripts are contained in hidden input elements
 *
 * @param id - the tag id or selector expression to use. If empty, run all hidden scripts
 * @param isSelector - when present and true, the value given for the id used as jquery selector expression
 * @param skipValidationBubbling - set to true to skip processing each field - ONLY is ever true for pages since
 * they handle this during the setupPage call
 */
runs hidden scripts. The hidden scripts are contained in hidden input elements

@param id - the tag id or selector expression to use. If empty, run all hidden scripts
@param isSelector - when present and true, the value given for the id used as jquery selector expression
@param skipValidationBubbling - set to true to skip processing each field - ONLY is ever true for pages since
they handle this during the setupPage call
runs hidden scripts . The hidden scripts are contained in hidden input elements @param id - the tag id or selector expression to use . If empty run all hidden scripts @param isSelector - when present and true the value given for the id used as jquery selector expression @param skipValidationBubbling - set to true to skip processing each field - ONLY is ever true for pages since they handle this during the setupPage call
function runHiddenScripts(id, isSelector, skipValidationBubbling) {
    profile(true, "run-scripts:" + id);
    if (id) {
        var selector = "#" + id;
        if (isSelector) {
            selector = id;
        }
        evaluateScripts(selector);
        if (!isSelector) {
            runScriptsForId(id);
        }
        if (!skipValidationBubbling) {
            pageValidationPhase = true;
            jQuery(selector).find("div[data-role='InputField']").andSelf().filter("div[data-role='InputField']").each(function () {
                var id = jQuery(this).attr('id');
                var field = jQuery("#" + id);
                var data = getValidationData(field);
                var parent = field.data("parent");
                writeMessagesAtField(id);
                handleMessagesAtGroup(parent, id, data, true);
            });
            writeMessagesForPage();
            pageValidationPhase = false;
        }
    }
    else {
        evaluateScripts();
    }
    profile(false, "run-scripts:" + id);
}
function runHiddenScripts ( id , isSelector , skipValidationBubbling ) { profile ( true , "run-scripts:" + id ) ; if ( id ) { var selector = "#" + id ; if ( isSelector ) { selector = id ; } evaluateScripts ( selector ) ; if ( ! isSelector ) { runScriptsForId ( id ) ; } if ( ! skipValidationBubbling ) { pageValidationPhase = true ; jQuery ( selector ) . find ( "div[data-role='InputField']" ) . andSelf ( ) . filter ( "div[data-role='InputField']" ) . each ( function ( ) { var id = jQuery ( this ) . attr ( 'id' ) ; var field = jQuery ( "#" + id ) ; var data = getValidationData ( field ) ; var parent = field . data ( "parent" ) ; writeMessagesAtField ( id ) ; handleMessagesAtGroup ( parent , id , data , true ) ; } ) ; writeMessagesForPage ( ) ; pageValidationPhase = false ; } } else { evaluateScripts ( ) ; } profile ( false , "run-scripts:" + id ) ; }
runs hidden scripts.
runs hidden scripts .
//Interpret new server message state for refreshed InputFields and write them out
