This example creates a form that displays two conflicting versions of an asset. The form uses the projectView view and, After the View Conflicting Values button is clicked, the next page appears in the view represented by the integer 12.

<dspel:importbean bean="/atg/epub/servlet/ProjectDiffFormHandler"/>
   <dspel:form formid="addForm"  action="diffAssets.jsp" method="post">

      <dspel:input type="submit" bean="ProjectDiffFormHandler.diffVersions"
       value="View Conflicting Values"/>

      <dspel:input type="hidden" bean="ProjectDiffFormHandler.viewAttribute"
       value="projectView"/>
      <dspel:input type="hidden" bean="ProjectDiffFormHandler.successView"
       value="12"/>
      <dspel:input type="hidden" value="Myapplication/project/springPRCampaign"
       bean="ProjectDiffFormHandler.assetURI"/>
      <dspel:input type="hidden" value="${project.workspace}"
       bean="ProjectDiffFormHandler.workspaceName"/>
      <dspel:input type="hidden" bean="ProjectDiffFormHandler.indexedVersions[0]"
       value="4"/>
      <dspel:input type="hidden" bean="ProjectDiffFormHandler.indexedVersions[1]"
       value="null"  />
   </dspel:form>

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices