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:54:45 UTC

svn commit: r815982 - in /ofbiz/trunk: framework/example/widget/example/ExampleForms.xml startofbiz.sh

Author: jleroux
Date: Wed Sep 16 21:54:45 2009
New Revision: 815982

URL: http://svn.apache.org/viewvc?rev=815982&view=rev
Log:
Fix r815974 where a wrong file was commited (ofbiz/trunk/framework/example/widget/example/ExampleForms.xml)

So here we go again :
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
    ofbiz/trunk/startofbiz.sh

Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=815982&r1=815981&r2=815982&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Wed Sep 16 21:54:45 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,7 +236,6 @@
     <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}">
@@ -262,7 +261,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"/>

Modified: ofbiz/trunk/startofbiz.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=815982&r1=815981&r2=815982&view=diff
==============================================================================
--- ofbiz/trunk/startofbiz.sh (original)
+++ ofbiz/trunk/startofbiz.sh Wed Sep 16 21:54:45 2009
@@ -31,6 +31,7 @@
 # VM args
 ADMIN="-Dofbiz.admin.port=$ADMIN_PORT -Dofbiz.admin.key=$ADMIN_KEY"
 #DEBUG="-Dsun.rmi.server.exceptionTrace=true"
+#DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091"
 #automatic IP address for linux
 #IPADDR=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
 #RMIIF="-Djava.rmi.server.hostname=$IPADDR"