scripts = server.ADF.objectFactory.getBean("Scripts_1_0");
CEdata = server.ADF.objectFactory.getBean("CEData_1_0");
formID = CEData.getFormIDFromPageID(Request.DatasheetRow.pageid);
scripts.loadJQuery();
scripts.loadJQueryUI();
scripts.loadADFLightbox();
uniqueID = Request.Datasheet.currentColumnValue;
AjaxPath = application.ADF.ajaxProxy;
AjaxBean = "forms_1_0";
editForm = "renderAddEditForm";
lbAction = "refreshparent";
DeleteBean = "managePodForms";
DeleteMethod = "renderDeletePodForm";
EditTitle = "Edit";
DeleteTitle = "Delete";
lightboxwidth = 500;
lightboxheight = 500;
deletelightboxwidth = 350;
deletelightboxheight = 150;
if ( NOT structKeyExists(request.params,"hasRTE") )
request.params.hasRTE = application.ADF.cedata.containsFieldType(formID, "formatted_text_block");
if ( NOT structKeyExists(request.params,"hasLargeText") )
request.params.hasLargeText = application.ADF.cedata.containsFieldType(formID, "large_textarea");
if ( (request.params.hasRTE) OR (request.params.hasLargeText) )
lightboxwidth = 750;
|