| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <!--
 
-     Licensed Materials - Property of IBM
 
-     IBM Cognos Products: ps
 
-     (C) Copyright IBM Corp. 2010, 2011
 
-     US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 
- -->
 
- <!--
 
- ===============================================================================================
 
- Defines the display actions for a morphlet: there are the following: 
 
-  - showCurrentPage: the current page is displayed from the navigation flow,
 
-  - callAddEntriesPage: The add entry page needs to be invoked
 
- ===============================================================================================
 
- -->
 
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/">
 
-   <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
 
-   
 
-   <xsl:template match="/">
 
-       <xsl:variable name="controller_state" select="string(/root/env/param[@name='controller_state'])"/>
 
-       <xts:sequence>
 
-           <xts:append select="/root">
 
-               <xsl:choose>
 
-                   <xsl:when test="$controller_state ='addEntries|finished' or $controller_state ='addEntries|canceled'">
 
-                       <showCurrentPage/>
 
-                       <callAddEntriesPage/>
 
-                   </xsl:when>
 
-                    <xsl:when test="starts-with($controller_state,'addEntries|')">
 
-                       <callAddEntriesPage/>
 
-                   </xsl:when>
 
-                   <xsl:otherwise>
 
-                       <showCurrentPage/>
 
-                   </xsl:otherwise>
 
-               </xsl:choose>
 
-           </xts:append>
 
-       </xts:sequence>
 
-   </xsl:template>
 
-   
 
-   
 
- </xsl:stylesheet>
 
 
  |