params.xslt.pla 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!--
  2. Licensed Materials - Property of IBM
  3. IBM Cognos Products: HTS
  4. (C) Copyright IBM Corp. 2005, 2010
  5. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. -->
  7. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" xmlns:nav="http://developer.cognos.com/schemas/cps/navigation/1/" xmlns:encodingUtils="com.cognos.portal.utils.EncodingUtils" exclude-result-prefixes="xts xtsext nav">
  8. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  9. <xsl:template match="/">
  10. <xsl:variable name="fpmCookie" select="xtsext:urldecode(xtsext:decodeCCSession(string(/root/cookies/cookie[@name='fpmSettings']),'|','~'))"/>
  11. <response>
  12. <!--
  13. ################################################################
  14. This structure must adhere to the custom param fragment structure.
  15. BuildSubFrag.java is now copying this and using it as is.
  16. ################################################################
  17. -->
  18. <settings>
  19. <xsl:value-of select="$fpmCookie" disable-output-escaping="yes"/>
  20. </settings>
  21. <custom id="custom">
  22. <param name="displayText"><xts:string id="IDS_FRAG_MYINBOX_DEFAULT_TITLE"/></param>
  23. <param name="helpId">ug_cra_a</param>
  24. <param name="help_contextid">HID_TASK_INTRO</param>
  25. <param name="bannerOptions"><value>HSH</value></param>
  26. <!-- mode setting stops a link to ourselves in the my area when viewing the inbox-->
  27. <param name="mode">myinbox</param>
  28. </custom>
  29. </response>
  30. </xsl:template>
  31. </xsl:stylesheet>