123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: HTS
- (C) Copyright IBM Corp. 2005, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <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 name="page0">
-
- <script language="javascript">
- var frmCmdForm = "frmTaskWizard";
-
- function _THIS_notificationTask(enable) {
-
- //TODO I want this function to just set the notification (or ad hoc task) boolean var
- if(enable) {
- taskRadio.enable = false;
- notificationRadio.enable = true;
- } else {
- taskRadio.enable = true;
- notificationRadio.enable = false;
- }
- }
-
- </script>
- <!-- use this to uniquely identify fragments-->
- <div id="_THIS_divPage">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" class="cogstyle-usv-taskwizard-table">
- <tbody>
- <tr>
- <td align="left" class="dialogHeaderText"><xts:string id="IDS_FRAG__TASKWIZARD_HEADER_TEXT"/></td>
- </tr>
- </tbody>
- </table>
- <table width="100%" cellspacing="0" cellpadding="0" border="0">
- <tbody>
- <tr>
- <td width="100%" height="10">
- <img width="1" height="10" src="/cognos8/ps/images/space.gif"/>
- </td>
- </tr>
- </tbody>
- </table>
- <table width="100%" cellspacing="0" cellpadding="3" border="0">
- <tbody>
- <tr>
- <td width="1" height="1">
- <img width="1" height="1" src="/cognos8/ps/images/space.gif"/>
- </td>
- <td width="100%">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- <table cellspacing="0" cellpadding="1" border="0">
- <tbody>
- <tr>
- <td nowrap="" class="formLabel"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_LABEL"/></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="0" cellpadding="1" border="0">
- <tbody>
- <tr>
- <td>
- <table cellspacing="0" cellpadding="1" border="0">
- <tbody>
- <tr>
- <td nowrap="" class="formText">
- <input type="radio" checked="" name="taskRadio" onclick="_THIS_notificationTask(true)" value="notification"/>
- </td>
- <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_ONE_TEXT"/>
- </td>
- </tr>
- <tr>
- <td nowrap="">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- </td>
- <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_TWO_TEXT"/>
- </td>
- </tr>
- <tr>
- <td nowrap="">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- </td>
- <td nowrap="">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- </td>
- </tr>
- <tr>
- <td nowrap="" class="formText">
- <input type="radio" name="taskRadio" onclick="_THIS_notificationTask(false)" value="adhoc"/>
- </td>
- <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_THREE_TEXT"/>
- </td>
- </tr>
- <tr>
- <td nowrap="">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- </td>
- <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_FOUR_TEXT"/>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr>
- <td nowrap="">
- <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </xsl:template>
- </xsl:stylesheet>
-
|