application.ptPhotoGallery.scripts.loadJQuery();
application.ptPhotoGallery.scripts.loadJQueryUI();
application.ptPhotoGallery.scripts.loadADFLightbox();
categoryFormID = application.ptPhotoGallery.getPhotoCategoryFormID();
sizeFormID = application.ptPhotoGallery.getPhotoSizeFormID();
formBean = "forms_2_0";
photoFormBean = "photoForms";
// Set the photo UID
request.params.photoID = createUUID();
// Set up an app config struct that can be passed to the datasheet modules
request.ptphotogallery.appConfig = application.ptPhotoGallery.getAppConfig();
// Make sure we Parse the appConfig.DISPLAY_URL CSExtURL
if ( StructKeyExists(request.ptphotogallery.appConfig,"DISPLAY_URL") AND LEN(TRIM(request.ptphotogallery.appConfig.DISPLAY_URL)) )
request.ptphotogallery.appConfig.DISPLAY_URL = application.ADF.csData.parseCSURL(str=request.ptphotogallery.appConfig.DISPLAY_URL);
cssHref = "/ADF/apps/pt_photo_gallery/style/ptPhotoGallery.css";
// Load the Unregistered Resource CSS
application.ptPhotoGallery.scripts.loadUnregisteredResource(cssHref,"stylesheet","head","TERTIARY");
application.ptPhotoGallery.scripts.addFooterJS(managerLayoutJS,"TERTIARY"); // resourceGroup: PRIMARY, SECONDARY, TERTIARY
Add New Photo
Please LOGIN to add a photo.