Author: scabanovich
Date: 2007-11-30 10:27:18 -0500 (Fri, 30 Nov 2007)
New Revision: 5170
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.0.xsd
Log:
JBIDE-1397
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta 2007-11-30
15:14:12 UTC (rev 5169)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta 2007-11-30
15:27:18 UTC (rev 5170)
@@ -226,6 +226,15 @@
<XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="tls"
+ visibility="false" xmlname="tls">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem kind="list" name="CreateActions"/>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.0.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.0.xsd 2007-11-30 15:14:12
UTC (rev 5169)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.0.xsd 2007-11-30 15:27:18
UTC (rev 5170)
@@ -1,49 +1,50 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
-
targetNamespace="http://jboss.com/products/seam/mail"
-
xmlns:mail="http://jboss.com/products/seam/mail"
-
xmlns:components="http://jboss.com/products/seam/components"
attributeFormDefault="unqualified">
- <xs:import
namespace="http://jboss.com/products/seam/components"
schemaLocation="components-2.0.xsd"/>
-
- <xs:attributeGroup name="attlist.mailSession">
- <xs:attribute name="username" type="xs:string"/>
- <xs:attribute name="password" type="xs:string"/>
- <xs:attribute name="host" type="xs:string"/>
- <xs:attribute name="port" type="xs:string"/>
- <xs:attribute name="debug" type="xs:string"/>
- <xs:attribute name="ssl" type="xs:boolean"/>
- <xs:attribute name="session-jndi-name"
type="xs:string"/>
- </xs:attributeGroup>
- <xs:element name="mail-session">
- <xs:complexType>
- <xs:attributeGroup ref="components:attlist.component" />
- <xs:attributeGroup ref="mail:attlist.mailSession" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="users"
type="components:multiValuedProperty"/>
- <xs:element name="meldware">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="mail:users" />
- </xs:choice>
- <xs:attributeGroup ref="components:attlist.component" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="aliases"
type="components:multiValuedProperty"/>
- <xs:attributeGroup name="attlist.meldwareUser">
- <xs:attribute name="username" type="xs:string" />
- <xs:attribute name="password" type="xs:string" />
- <xs:attribute name="admin" type="xs:boolean"
default="false"/>
- </xs:attributeGroup>
- <xs:element name="meldware-user">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="mail:aliases" />
- </xs:choice>
- <xs:attributeGroup ref="components:attlist.component" />
- <xs:attributeGroup ref="mail:attlist.meldwareUser" />
- </xs:complexType>
- </xs:element>
-</xs:schema>
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
+
targetNamespace="http://jboss.com/products/seam/mail"
+
xmlns:mail="http://jboss.com/products/seam/mail"
+
xmlns:components="http://jboss.com/products/seam/components"
attributeFormDefault="unqualified">
+ <xs:import
namespace="http://jboss.com/products/seam/components"
schemaLocation="components-2.0.xsd"/>
+
+ <xs:attributeGroup name="attlist.mailSession">
+ <xs:attribute name="username" type="xs:string"/>
+ <xs:attribute name="password" type="xs:string"/>
+ <xs:attribute name="host" type="xs:string"
default="localhost"/>
+ <xs:attribute name="port" type="xs:string" />
+ <xs:attribute name="debug" type="xs:string"
default="false" />
+ <xs:attribute name="ssl" type="xs:boolean"
default="false" />
+ <xs:attribute name="tls" type="xs:boolean"
default="true" />
+ <xs:attribute name="session-jndi-name" type="xs:string"
/>
+ </xs:attributeGroup>
+ <xs:element name="mail-session">
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="mail:attlist.mailSession" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="users"
type="components:multiValuedProperty"/>
+ <xs:element name="meldware">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="mail:users" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="aliases"
type="components:multiValuedProperty"/>
+ <xs:attributeGroup name="attlist.meldwareUser">
+ <xs:attribute name="username" type="xs:string" />
+ <xs:attribute name="password" type="xs:string" />
+ <xs:attribute name="admin" type="xs:boolean"
default="false"/>
+ </xs:attributeGroup>
+ <xs:element name="meldware-user">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="mail:aliases" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="mail:attlist.meldwareUser" />
+ </xs:complexType>
+ </xs:element>
+</xs:schema>