You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/04/28 16:55:37 UTC
svn commit: r769425 - /ofbiz/trunk/framework/webapp/dtd/site-conf.xsd
Author: jleroux
Date: Tue Apr 28 14:55:36 2009
New Revision: 769425
URL: http://svn.apache.org/viewvc?rev=769425&view=rev
Log:
Reformatting, easier to read (also can't resist to use Ctrl+Shift+F in Eclipse+Oxygen).
We can do better by hand, so I kept those already well formatted.
Modified:
ofbiz/trunk/framework/webapp/dtd/site-conf.xsd
Modified: ofbiz/trunk/framework/webapp/dtd/site-conf.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/dtd/site-conf.xsd?rev=769425&r1=769424&r2=769425&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/dtd/site-conf.xsd (original)
+++ ofbiz/trunk/framework/webapp/dtd/site-conf.xsd Tue Apr 28 14:55:36 2009
@@ -245,8 +245,19 @@
<xs:restriction base="xs:token">
<xs:enumeration value="none"/>
<xs:enumeration value="view"/>
- <xs:enumeration value="view-last"><xs:annotation><xs:documentation>Will use the view from the last request unless there is a saved from some previous request (using the save-last-view attribute).</xs:documentation></xs:annotation></xs:enumeration>
- <xs:enumeration value="view-home"><xs:annotation><xs:documentation>Will use the view from the last saved 'home' position (using the save-home-view attribute).</xs:documentation></xs:annotation></xs:enumeration>
+ <xs:enumeration value="view-last">
+ <xs:annotation>
+ <xs:documentation>Will use the view from the last request unless there
+ is a saved from some previous request (using the save-last-view
+ attribute).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="view-home">
+ <xs:annotation>
+ <xs:documentation>Will use the view from the last saved 'home' position
+ (using the save-home-view attribute).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
<xs:enumeration value="request"/>
<xs:enumeration value="request-redirect"/>
<xs:enumeration value="request-redirect-noparam"/>
@@ -256,7 +267,10 @@
</xs:attribute>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="save-last-view" default="false">
- <xs:annotation><xs:documentation>Saves the last (previous) request's view for future use, generally with the view-last type of response.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>Saves the last (previous) request's view for future use, generally
+ with the view-last type of response.</xs:documentation>
+ </xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true"/>
@@ -265,7 +279,10 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="save-current-view" default="false">
- <xs:annotation><xs:documentation>Saves the current request's view for future use, generally with the view-last type of response.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>Saves the current request's view for future use, generally with
+ the view-last type of response.</xs:documentation>
+ </xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true"/>
@@ -274,7 +291,10 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="save-home-view" default="false">
- <xs:annotation><xs:documentation>Saves the current request's view for future use, generally with the view-home type of response.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>Saves the current request's view for future use, generally with
+ the view-home type of response.</xs:documentation>
+ </xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true"/>
@@ -284,7 +304,11 @@
</xs:attribute>
</xs:attributeGroup>
<xs:element name="redirect-parameter">
- <xs:annotation><xs:documentation>Adds a parameter with the given name to the redirect. Finds value in a request attribute if exists, or a request parameter if no attribute is found.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>Adds a parameter with the given name to the redirect. Finds value in a
+ request attribute if exists, or a request parameter if no attribute is
+ found.</xs:documentation>
+ </xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="attlist.redirect-parameter"/>
</xs:complexType>
@@ -292,7 +316,10 @@
<xs:attributeGroup name="attlist.redirect-parameter">
<xs:attribute type="xs:string" name="name" use="required"/>
<xs:attribute type="xs:string" name="from" use="optional">
- <xs:annotation><xs:documentation>If specified used instead of the value of name for the key to find a request attribute or parameter.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>If specified used instead of the value of name for the key to find
+ a request attribute or parameter.</xs:documentation>
+ </xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:element name="view-map">