Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="exml:ext.state" xmlns:es="exml:ext.state" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:exml="http://www.jangaroo.net/exml/0.8" >
  <xs:import namespace="http://www.jangaroo.net/exml/0.8"/>
  <xs:complexType name='CookieProvider_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:attribute type='exml:String' name='domain'>
          <xs:annotation>
            <xs:documentation>
              The domain to save the cookie for. Note that you cannot specify a different domain than your page is on, but you can specify a sub-domain, or simply the domain itself like 'extjs.com' to include all sub-domains if you need to access cookies across different sub-domains (defaults to null which uses the same domain the page is running on including the 'www' like 'www.extjs.com')
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Date' name='expires'>
          <xs:annotation>
            <xs:documentation>
              The cookie expiration date (defaults to 7 days from now)
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:String' name='path'>
          <xs:annotation>
            <xs:documentation>
              The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site)
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Boolean' name='secure'>
          <xs:annotation>
            <xs:documentation>
              True if the site is using SSL (defaults to false)
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
  </xs:complexType>
  <xs:element name='CookieProvider' type='es:CookieProvider_TYPE'>
    <xs:annotation>
      <xs:documentation>
        The default Provider implementation which saves state via cookies. <br/>Usage: <pre><code> var cp = new Ext.state.CookieProvider({ path: "/cgi-bin/", expires: new Date(new Date().getTime()+(1000&#42;60&#42;60&#42;24&#42;30)), //30 days domain: "extjs.com" }); Ext.state.Manager.setProvider(cp); </code></pre> <p>This class serves as a typed config object for constructor of class CookieProvider.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.state.CookieProvider
      </xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>
New to GrepCode? Check out our FAQ X