Changeset 2112

Show
Ignore:
Timestamp:
04/02/09 12:03:16
Author:
johnsa
Message:

more work on setting display flag

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r2111 r2112  
    48944894          <th>Display:</th> 
    48954895          <td> 
    4896             <input type="checkbox" name="calendar.display" size="40"> 
     4896            <input type="hidden" name="calendar.display"> 
     4897              <xsl:attribute name="value"><xsl:value-of select="display"/></xsl:attribute> 
     4898            </input> 
     4899            <input type="checkbox" name="displayHolder" size="40" onclick="setCalDisplayFlag(this.form['calendar.display'],this.checked);"> 
    48974900              <xsl:if test="display = 'true'"> 
    48984901                <xsl:attribute name="checked">checked</xsl:attribute> 
    48994902              </xsl:if> 
    49004903            </input> display items in this collection 
    4901           </td> 
    4902         </tr> 
    4903         <tr> 
    4904           <xsl:if test="disabled = 'true'"> 
    4905             <xsl:attribute name="class">disabled</xsl:attribute> 
    4906           </xsl:if> 
    4907           <th>Disabled:</th> 
    4908           <td> 
    4909             <input type="hidden" name="calendar.disabled" size="40"> 
    4910               <xsl:attribute name="value"><xsl:value-of select="disabled"/></xsl:attribute> 
    4911             </input> 
    4912             <xsl:value-of select="disabled"/> 
    4913             <xsl:if test="disabled = 'true'"> 
    4914               <span class="disabledNote"> 
    4915                 This item is inaccessible and has been disabled.  You may 
    4916                 re-enable it to try again. 
    4917               </span> 
    4918             </xsl:if> 
    49194904          </td> 
    49204905        </tr> 
     
    51215106          <th>Display:</th> 
    51225107          <td> 
    5123             <input type="checkbox" name="calendar.display" size="40"> 
     5108            <input type="hidden" name="calendar.display"> 
     5109              <xsl:attribute name="value"><xsl:value-of select="display"/></xsl:attribute> 
     5110            </input> 
     5111            <input type="checkbox" name="displayHolder" size="40" onclick="setCalDisplayFlag(this.form['calendar.display'],this.checked)"> 
    51245112              <xsl:if test="display = 'true'"> 
    51255113                <xsl:attribute name="checked">checked</xsl:attribute> 
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/bedework.js

    r2061 r2112  
    284284  } 
    285285} 
     286function setCalDisplayFlag(calDisplayFlag, val){ 
     287  calDisplayFlag.value = val; 
     288}