home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / ScriptBuilder / NOSB30_TRIAL.exe / data1.cab / Program_Files / CompLib / cookieComponent.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  3.6 KB  |  107 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <!-- file cookieComponent.ecc
  3.         ScriptComponent Interface file for cookie.js    -->
  4.  
  5.  
  6. <?XML?>
  7. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  8.  
  9. <COMPONENT NAME="com.netobjects.cookieComponent" ENV="client"
  10.                DISPLAYNAME="Cookie"
  11.                HINT="Creates a cookie component that allows get/set functions."
  12.                SRC="cookie.js">
  13.  
  14.    <PROPERTY NAME="name" TYPE="STRING"
  15.                  DISPLAYNAME="name"
  16.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  17.                  DEFAULTVALUE="cookie1">
  18.                  </PROPERTY>
  19.      
  20.  
  21.    <PROPERTY NAME="cookieName" TYPE="STRING"
  22.                  DISPLAYNAME="cookieName"
  23.                  HINT="Enter the name of the cookie that you wish to manipulate.">
  24.                  </PROPERTY>
  25.      
  26.  
  27.    <PROPERTY NAME="value" TYPE="STRING"
  28.                  DISPLAYNAME="value"
  29.                  HINT="Enter the value that you wish to put into the cookie.">
  30.                  </PROPERTY>
  31.      
  32.  
  33.    <PROPERTY NAME="year" TYPE="STRING"
  34.                  DISPLAYNAME="year"
  35.                  HINT="Enter the expiration year after which the cookie to no longer be valid."
  36.                  DEFAULTVALUE="1999">
  37.                  </PROPERTY>
  38.      
  39.  
  40.    <PROPERTY NAME="month" TYPE="STRING"
  41.                  DISPLAYNAME="month"
  42.                  HINT="Enter the expiration month after which the cookie to no longer be valid."
  43.                  DEFAULTVALUE="9">
  44.                  </PROPERTY>
  45.      
  46.  
  47.    <PROPERTY NAME="day" TYPE="STRING"
  48.                  DISPLAYNAME="day"
  49.                  HINT="Enter the expiration day after which the cookie to no longer be valid."
  50.                  DEFAULTVALUE="30">
  51.                  </PROPERTY>
  52.      
  53.  
  54.    <PROPERTY NAME="path" TYPE="STRING"
  55.                  DISPLAYNAME="path"
  56.                  HINT="Enter the path that this cookie will be valid within.">
  57.                  </PROPERTY>
  58.      
  59.  
  60.    <PROPERTY NAME="domain" TYPE="STRING"
  61.                  DISPLAYNAME="domain"
  62.                  HINT="Enter the domain that this cookie will only be valid within."
  63.                  DEFAULTVALUE="">
  64.                  </PROPERTY>
  65.      
  66.  
  67.    <PROPERTY NAME="secure" TYPE="BOOLEAN"
  68.                  DISPLAYNAME="secure"
  69.                  HINT="Enter whether or not this cookie will utilize SSL to get/put the cookie data."
  70.                  VALUESET="true|false"
  71.                  DEFAULTVALUE="false">
  72.                  </PROPERTY>
  73.      
  74.  
  75.     <METHOD NAME="setCookie">
  76.       <PARAMETER NAME="name"
  77.                      DISPLAYNAME="name"
  78.                      Hint="Name of the Cookie Component being used"/>
  79.                </METHOD>
  80.  
  81.     <METHOD NAME="getCookie">
  82.       <PARAMETER NAME="name"
  83.                      DISPLAYNAME="name"
  84.                      Hint="Name of the Cookie Component being used"/>
  85.                </METHOD>
  86.     
  87.     <METHOD NAME="deleteCookie">
  88.       <PARAMETER NAME="name"
  89.                      DISPLAYNAME="name"
  90.                      Hint="Name of the Cookie Component being used"/>
  91.                </METHOD>
  92.  
  93.     <METHOD NAME="setcookieValue">
  94.       <PARAMETER NAME="newCookie" TYPE="STRING"
  95.                      DISPLAYNAME="New Cookie Value"
  96.                      Hint="Sets the cookie value to this new value."/>
  97.       <PARAMETER NAME="name"
  98.                      DISPLAYNAME="name"
  99.                      Hint="Name of the Cookie Component being used"/>
  100.                </METHOD>
  101.     
  102.     <ICON SRC16="cookie.gif"/>
  103.  
  104.     <HELP SRC="Cookie.html"/>
  105.     
  106. </COMPONENT>
  107.