Author: ruppert
Date: Sun May 20 00:10:14 2007
New Revision: 539839
URL: http://svn.apache.org/viewvc?view=rev&rev=539839
Log:
Updated Content / DataResource Edit Screens to work for Add since they're being
used that way
Modified:
ofbiz/trunk/applications/content/widget/content/ContentForms.xml
ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml
Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentForms.xml?view=diff&rev=539839&r1=539838&r2=539839
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentForms.xml Sun May 20
00:10:14 2007
@@ -118,7 +118,7 @@
<alt-target use-when="currentValue==null" target="createContent"/>
<auto-fields-entity entity-name="Content" />
<field use-when="currentValue!=null" name="contentId"
tooltip="${uiLabelMap.CommonNotModifRecreat}"
widget-style="tabletext"><display/></field>
- <field use-when="currentValue==null&&contentId==null"
name="contentId"><ignored/></field>
+ <field use-when="currentValue==null&&contentId==null"
name="contentId"><text/></field>
<field use-when="currentValue==null&&contentId!=null"
name="contentId" widget-style="tabletext"><display
description="${uiLabelMap.CommonCannotBeFound}: [${contentId}]"
also-hidden="false"/></field>
<field name="contentTypeId">
<drop-down allow-empty="false">
@@ -156,7 +156,7 @@
<field name="updateButton" title="${uiLabelMap.CommonUpdate}"
use-when="currentValue!=null" widget-style="smallSubmit"><submit
button-type="button"/></field>
</form>
- <!--form name="AddContent" target="createContent" title="" type="single"
+ <!-- form name="AddContent" target="createContent" title="" type="single"
default-title-style="tableheadtext" default-tooltip-style="tabletext"
default-widget-style="inputBox">
<auto-fields-entity entity-name="Content" />
<field name="contentId"><text/></field>
@@ -189,9 +189,8 @@
<field name="createdDate" position="2"><display/></field>
<field name="lastModifiedByUserLogin" position="1"><display/></field>
<field name="lastModifiedDate" position="2"><display/></field>
- </form-->
-
-
+ </form -->
+
<!-- Content Lookup forms -->
<form name="mruLookupContent" default-entity-name="Content"
list-name="mruList" target="" title="" type="list">
Modified: ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml?view=diff&rev=539839&r1=539838&r2=539839
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml
(original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml Sun
May 20 00:10:14 2007
@@ -111,7 +111,7 @@
<alt-target use-when="currentValue==null" target="createDataResource"/>
<auto-fields-entity entity-name="DataResource"
default-field-type="edit"/>
<field use-when="currentValue!=null" name="dataResourceId"
tooltip="${uiLabelMap.CommonNotModifRecreat}"
widget-style="tabletext"><display/></field>
- <field use-when="currentValue==null&&dataResourceId==null"
name="dataResourceId"><ignored/></field>
+ <field use-when="currentValue==null&&dataResourceId==null"
name="dataResourceId"><text/></field>
<field use-when="currentValue==null&&dataResourceId!=null"
name="dataResourceId" widget-style="tabletext"><display
description="${uiLabelMap.CommonCannotBeFound}: [${dataResourceId}]"
also-hidden="false"/></field>
<field name="dataResourceTypeId">
<drop-down allow-empty="true">