Class |
|
Components |
|
These components are used to perform Commerce Service Center environment changes from UI gestures.
The existing EnvironmentChangeFormHandler
is used to change a site. The following is the sample form for changing sites:
<svc-ui: frameworkUrl var="errorURL" panelStacks=""/> <svc-ui: frameworkUrl var="successfulSiteChangeURL" panelStacks="globalPanels,cmcShoppingCartPS" tab="commerceTab"/> <%/*form used to change a site */%> <dsp: form style="display: none" id="atg_commerce_csr_loadExistingSiteForm" formid="atg_commerce_csr_loadExistingSiteForm"> <dsp: input type="hidden" name="errorURL" value="${errorURL}" bean="/atg/svc/agent/environment/ChangeSiteFormHandler.errorURL" /> <dsp: input type="hidden" name="successURL" value="${successfulSiteChangeURL}" bean="/atg/svc/agent/environment/ChangeSiteFormHandler.successURL" /> <dsp: input type="hidden" name="siteId" bean="/atg/svc/agent/environment/ ChangeSiteFormHandler.inputParameters.siteId" value=""/> <dsp: input type="hidden" priority="-10" bean="/atg/svc/agent/environment/ChangeSiteFormHandler.changeEnvironment" value=""/> </dsp: form>
The following is the ChangeSiteFormHandler.properties
configuration for changing sites:
/atg/svc/agent/environment/ChangeSiteFormHandler.properties $class=atg.svc.agent.environment.EnvironmentChangeFormHandler $scope=request environmentTools=/atg/svc/agent/environment/EnvironmentTools transactionManager=/atg/dynamo/transaction/TransactionManager messageTools=/atg/web/messaging/MessageTools confirmURL=include/environment/confirm.jsp confirmPromptURL=include/environment/changePrompt.jsp environmentChangeKey=changeSite environmentChangeState=/atg/svc/agent/environment/EnvironmentChangeState doWarnings=true doTicketDispositionPrompt=true applicationName^=/atg/svc/agent/environment/ EnvironmentTools.agentApplicationName ticketingTools=/atg/svc/agent/ticketing/TicketingTools
For additional information on this form handler, refer to the ATG API Reference for Knowledge Manager and Self Service and the ATG API Reference for Commerce Service Center.