// Create a script obj
application.ADF.scripts.loadJQuery();
application.ADF.scripts.loadJQueryUI(themeName="ui-lightness");
application.ADF.scripts.loadADFLightbox();
// the fields current value
currentValue = attributes.currentValues[fqFieldName];
// the param structure which will hold all of the fields from the props dialog
xparams = parameters[fieldQuery.inputID];
if ( NOT StructKeyExists(xparams, "fieldID") )
xparams.fieldID = fqFieldName;
if ( (NOT StructKeyExists(xparams, "fieldClass")) OR ( LEN(TRIM(xparams.fieldClass)) LTE 0) )
xparams.fieldClass = "";
// find if we need to render the simple form field
renderSimpleFormField = false;
if ( (StructKeyExists(request, "simpleformexists")) AND (request.simpleformexists EQ 1) )
renderSimpleFormField = true;
// Get the action page URL
actionPage = xparams.actionPage;
// Get the formid
linkDataFormID = application.ADF.ceData.getFormIDByCEName("Date Time Builder Data");
if ( structKeyExists(request, "element") ) {
labelText = '';
tdClass = 'CS_Form_Label_Baseline';
} else {
labelText = '';
tdClass = 'cs_dlgLabel';
}
#labelText#
// Get the list permissions and compare
commonGroups = application.ADF.data.ListInCommon(request.user.grouplist, xparams.pedit);
// Set the read only
readOnly = true;
// Check if the user does have edit permissions
if ( (xparams.UseSecurity EQ 0) OR ( (xparams.UseSecurity EQ 1) AND (ListLen(commonGroups)) ) )
readOnly = false;
Add New Date/Time