// Get App and Configuration Data appName = application.ptDateTime.getAppBeanName(); appConfigStruct = application.ptDateTime.getAppConfig(); // Set the UI theme from the Configuration Element UItheme = 'redmond'; if ( structKeyExists(appConfigStruct,"ui_theme") AND LEN(TRIM(appConfigStruct['ui_theme'])) ) UItheme = appConfigStruct['ui_theme']; // load jQuery headers application.ptDateTime.scripts.loadJQuery(); // load header for jQuery UI application.ptDateTime.scripts.loadJQueryUI(themeName=UItheme); // load headers for ADF lightbox application.ptDateTime.scripts.loadADFLightbox(); manageElementName = "Date Time Builder Data"; managePageTitleText = "Manage Date Time Builder Data"; addRecordLinkText = "Add New Date Time Builder Data"; // Default dataPageID for new record dpid = 0;
#ManagePageTitleText#
#Application.ptDateTime.ui.buildAddEditLink( linkTitle=addRecordLinkText ,formName=ManageElementName ,dataPageID=dpid ,refreshparent="true" ,urlParams="" ,lbTitle=addRecordLinkText ,linkClass="manageAddNewBtn ds-icons ui_button ui-state-default ui-corner-all" )#