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 2017/05/04 14:39:48 UTC

svn commit: r1793813 - in /ofbiz/site/dtds: entitymodel.xsd ofbiz-component.xsd site-conf.xsd

Author: jleroux
Date: Thu May  4 14:39:48 2017
New Revision: 1793813

URL: http://svn.apache.org/viewvc?rev=1793813&view=rev
Log:
Updates XSDs

Note that ofbiz-component.xsd has an important change.
"depends-on" is not yet implemented, but like before
you can use component-load.xml in plugins.
The common.gradle script handles it if necessary
 

Modified:
    ofbiz/site/dtds/entitymodel.xsd
    ofbiz/site/dtds/ofbiz-component.xsd
    ofbiz/site/dtds/site-conf.xsd

Modified: ofbiz/site/dtds/entitymodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entitymodel.xsd?rev=1793813&r1=1793812&r2=1793813&view=diff
==============================================================================
--- ofbiz/site/dtds/entitymodel.xsd (original)
+++ ofbiz/site/dtds/entitymodel.xsd Thu May  4 14:39:48 2017
@@ -435,7 +435,7 @@ under the License.
         </xs:complexType>
     </xs:element>
     <xs:attributeGroup name="attlist.condition-expr">
-        <xs:attribute name="entity-alias" type="xs:string"/>
+        <xs:attribute name="entity-alias" type="xs:string"  use="required"/>
         <xs:attribute name="field-name" type="xs:string" use="required"/>
         <xs:attribute name="operator" default="equals">
             <xs:simpleType>

Modified: ofbiz/site/dtds/ofbiz-component.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-component.xsd?rev=1793813&r1=1793812&r2=1793813&view=diff
==============================================================================
--- ofbiz/site/dtds/ofbiz-component.xsd (original)
+++ ofbiz/site/dtds/ofbiz-component.xsd Thu May  4 14:39:48 2017
@@ -46,7 +46,18 @@ under the License.
                         This is yet unimplemented. It's not a trivial implementation because at the moment components are loaded
                         in the order they are found (i.e. alphabetic or creation date).
                         While this feature would require them all to be located first and then reordered and loaded.
-                        So, for now, simply follow the README file in hot-deploy root folder.
+                        So, for now, simply follow below guidelines.
+                        
+                        For the plugins, all components will be loaded after the OFBiz components, including, in this order, those in:
+                        framework
+                        themes
+                        applications
+                        
+                        The plugins Auto-Loading feature loads all components in the order they are found (i.e. alphabetic or creation date).
+                        
+                        If you need a specific loading order of these components then you need to disable the Auto-Loading feature 
+                        by creating a component-load.xml file in the plugins  directory and use the load-component tag to load 
+                        your components in the order you want (just use the component-load.xml file in the application folder as a template).
                     </xs:documentation>
                 </xs:annotation>
             </xs:attributeGroup>
@@ -196,7 +207,7 @@ under the License.
             <xs:annotation>
                 <xs:documentation>
                     This value determines in which application menu the application is shown. 
-                    For instance "secondary" is used by specialpurpose and webtools webapps to put their menu-names in the second menu.
+                    For instance "secondary" is used by plugins and webtools webapps to put their menu-names in the second menu.
                     Note that not all OOTB themes use this "secondary" option, for instance Flat-Grey does not.
                 </xs:documentation>
             </xs:annotation>

Modified: ofbiz/site/dtds/site-conf.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/site-conf.xsd?rev=1793813&r1=1793812&r2=1793813&view=diff
==============================================================================
--- ofbiz/site/dtds/site-conf.xsd (original)
+++ ofbiz/site/dtds/site-conf.xsd Thu May  4 14:39:48 2017
@@ -743,7 +743,7 @@ under the License.
             <xs:annotation>
                 <xs:documentation>
                     The name of the view handler that will render the output: screen, screenfop, ftl etc...
-                    A most comprehensive list can be found in the common-controller.
+                    A most comprehensive list can be found in the handlers-controller.
                 </xs:documentation>
             </xs:annotation>
         </xs:attribute>



Re: svn commit: r1793813 - in /ofbiz/site/dtds: entitymodel.xsd ofbiz-component.xsd site-conf.xsd

Posted by Jacques Le Roux <ja...@les7arts.com>.
Done at revision: 1794130

Jacques


Le 04/05/2017 à 16:43, Jacques Le Roux a écrit :
> Le 04/05/2017 à 16:39, jleroux@apache.org a écrit :
>> Author: jleroux
>> Date: Thu May  4 14:39:48 2017
>> New Revision: 1793813
>>
>> URL:http://svn.apache.org/viewvc?rev=1793813&view=rev
>> Log:
>> Updates XSDs
>>
>> Note that ofbiz-component.xsd has an important change.
>> "depends-on" is not yet implemented, but like before
>> you can use component-load.xml in plugins.
>> The common.gradle script handles it if necessary
>
> Hi,
>
> It may sounds obvious to users with OFBiz experience, but since we have removed the README.txt from plugins dir I think we should add a sentence 
> about that in the
>
> >_Note_: since the trunk was split into **ofbiz-framework** and **ofbiz-plugins**,
>
> in the README.md file
>
> Agreed?
>
> Jacques
>
>


Re: svn commit: r1793813 - in /ofbiz/site/dtds: entitymodel.xsd ofbiz-component.xsd site-conf.xsd

Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 04/05/2017 à 16:39, jleroux@apache.org a écrit :
> Author: jleroux
> Date: Thu May  4 14:39:48 2017
> New Revision: 1793813
>
> URL:http://svn.apache.org/viewvc?rev=1793813&view=rev
> Log:
> Updates XSDs
>
> Note that ofbiz-component.xsd has an important change.
> "depends-on" is not yet implemented, but like before
> you can use component-load.xml in plugins.
> The common.gradle script handles it if necessary

Hi,

It may sounds obvious to users with OFBiz experience, but since we have removed the README.txt from plugins dir I think we should add a sentence about 
that in the

 >_Note_: since the trunk was split into **ofbiz-framework** and **ofbiz-plugins**,

in the README.md file

Agreed?

Jacques