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/09/16 23:20:59 UTC

svn commit: r815974 - /ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

Author: jleroux
Date: Wed Sep 16 21:20:54 2009
New Revision: 815974

URL: http://svn.apache.org/viewvc?rev=815974&view=rev
Log:
A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
$DEBUG flag is not specified even in comments causing people to dig an find it.
JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older

Modified:
    ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=815974&r1=815973&r2=815974&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Wed Sep 16 21:20:54 2009
@@ -18,7 +18,7 @@
 under the License.
 -->
 
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
 
     <form name="FindExamples" type="single" target="FindExample" default-entity-name="Example">
@@ -128,7 +128,7 @@
         <field name="longDescription" title="${uiLabelMap.ExampleLongDescription}"/>
         <field name="anotherText">
             <drop-down allow-empty="true">
-                <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>        
+                <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>
                 <entity-options entity-name="ProductType" description="${description}" key-field-name="productTypeId">
                     <entity-order-by field-name="description"/>
                 </entity-options>
@@ -236,6 +236,7 @@
     <form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title="">
         <auto-fields-service service-name="createExampleFeatureAppl"/>
         <field name="exampleId"><hidden/></field>
+        <field name="exampleFeatureId"><hidden/></field>
 
         <!-- a nice combination of the lookup option and the auto-complete, but unfortunately still requires a custom companion controller.xml request to handle AJAX data retreival -->
         <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}">
@@ -261,7 +262,7 @@
         </field>
         -->
 
-        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}">
+        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" >
             <drop-down allow-empty="false">
                 <entity-options entity-name="ExampleFeatureApplType" description="${description}">
                     <entity-order-by field-name="description"/>



Re: svn commit: r815974 - /ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

Posted by Jacques Le Roux <ja...@les7arts.com>.
Oops wrong file, too much things in the same time, and especially too late...

Thanks Adrian, fixed at r815982

Jacques

From: "Adrian Crum" <ad...@hlmksw.com>
> Ummm...
>
> I'm confused.
>
> -Adrian
>
> jleroux@apache.org wrote:
>> Author: jleroux
>> Date: Wed Sep 16 21:20:54 2009
>> New Revision: 815974
>>
>> URL: http://svn.apache.org/viewvc?rev=815974&view=rev
>> Log:
>> A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." 
>> (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
>> $DEBUG flag is not specified even in comments causing people to dig an find it.
>> JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have 
>> moved this "new" one near the older
>>
>> Modified:
>>     ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
>>
>> Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=815974&r1=815973&r2=815974&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original)
>> +++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Wed Sep 16 21:20:54 2009
>> @@ -18,7 +18,7 @@
>>  under the License.
>>  -->
>>  -<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>          xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
>>  <form name="FindExamples" type="single" target="FindExample" default-entity-name="Example">
>> @@ -128,7 +128,7 @@
>>          <field name="longDescription" title="${uiLabelMap.ExampleLongDescription}"/>
>>          <field name="anotherText">
>>              <drop-down allow-empty="true">
>> -                <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>        + 
>> <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>
>>                  <entity-options entity-name="ProductType" description="${description}" key-field-name="productTypeId">
>>                      <entity-order-by field-name="description"/>
>>                  </entity-options>
>> @@ -236,6 +236,7 @@
>>      <form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title="">
>>          <auto-fields-service service-name="createExampleFeatureAppl"/>
>>          <field name="exampleId"><hidden/></field>
>> +        <field name="exampleFeatureId"><hidden/></field>
>>  <!-- a nice combination of the lookup option and the auto-complete, but unfortunately still requires a custom companion 
>> controller.xml request to handle AJAX data retreival -->
>>          <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}">
>> @@ -261,7 +262,7 @@
>>          </field>
>>          -->
>>  -        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}">
>> +        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" >
>>              <drop-down allow-empty="false">
>>                  <entity-options entity-name="ExampleFeatureApplType" description="${description}">
>>                      <entity-order-by field-name="description"/>
>>
>>
>>
> 



Re: svn commit: r815974 - /ofbiz/trunk/framework/example/widget/example/ExampleForms.xml

Posted by Adrian Crum <ad...@hlmksw.com>.
Ummm...

I'm confused.

-Adrian

jleroux@apache.org wrote:
> Author: jleroux
> Date: Wed Sep 16 21:20:54 2009
> New Revision: 815974
> 
> URL: http://svn.apache.org/viewvc?rev=815974&view=rev
> Log:
> A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
> $DEBUG flag is not specified even in comments causing people to dig an find it.
> JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older
> 
> Modified:
>     ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
> 
> Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=815974&r1=815973&r2=815974&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original)
> +++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Wed Sep 16 21:20:54 2009
> @@ -18,7 +18,7 @@
>  under the License.
>  -->
>  
> -<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> +<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
>  
>      <form name="FindExamples" type="single" target="FindExample" default-entity-name="Example">
> @@ -128,7 +128,7 @@
>          <field name="longDescription" title="${uiLabelMap.ExampleLongDescription}"/>
>          <field name="anotherText">
>              <drop-down allow-empty="true">
> -                <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>        
> +                <option key="Explicit Option" description="${uiLabelMap.ExampleExplicitOption}"/>
>                  <entity-options entity-name="ProductType" description="${description}" key-field-name="productTypeId">
>                      <entity-order-by field-name="description"/>
>                  </entity-options>
> @@ -236,6 +236,7 @@
>      <form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title="">
>          <auto-fields-service service-name="createExampleFeatureAppl"/>
>          <field name="exampleId"><hidden/></field>
> +        <field name="exampleFeatureId"><hidden/></field>
>  
>          <!-- a nice combination of the lookup option and the auto-complete, but unfortunately still requires a custom companion controller.xml request to handle AJAX data retreival -->
>          <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}">
> @@ -261,7 +262,7 @@
>          </field>
>          -->
>  
> -        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}">
> +        <field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}" >
>              <drop-down allow-empty="false">
>                  <entity-options entity-name="ExampleFeatureApplType" description="${description}">
>                      <entity-order-by field-name="description"/>
> 
> 
>