Author: jacopoc
Date: Fri Aug 8 10:13:44 2008 New Revision: 684018 URL: http://svn.apache.org/viewvc?rev=684018&view=rev Log: Misc small fixes while testing the CMS stuff. Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentForms.xml?rev=684018&r1=684017&r2=684018&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/ContentForms.xml (original) +++ ofbiz/trunk/applications/content/widget/content/ContentForms.xml Fri Aug 8 10:13:44 2008 @@ -257,11 +257,7 @@ </entity-and> </actions> <!--auto-fields-entity entity-name="ContentAssoc" default-field-type="display"/--> - <field name="contentId"> - <display-entity entity-name="Content" description="${contentName},${description}"> - <sub-hyperlink target="EditContentAssoc?contentId=${contentId}" description="${contentId}" link-style="tabletext"/> - </display-entity> - </field> + <field name="contentId"><hidden/></field> <field name="contentIdTo"> <display-entity entity-name="Content" description="${contentName},${description}" key-field-name="contentId"> <sub-hyperlink target="EditContentAssoc?contentId=${contentIdTo}" description="${contentIdTo}" link-style="tabletext"/> @@ -271,20 +267,36 @@ <field name="mapKey"><display/></field> <field name="fromDate"><display description="${bsh:fromDate.toString().substring(0,10)}"/></field> <field name="deleteLink" title=" " widget-style="buttontext"> - <hyperlink also-hidden="false" description="[${uiLabelMap.CommonDelete}]" target="removeContentAssoc?contentId=${contentId}&contentIdTo=${contentIdTo}&contentAssocTypeId=${contentAssocTypeId}&fromDate=${fromDate}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentAssoc?contentId=${contentId}&contentIdTo=${contentIdTo}&contentAssocTypeId=${contentAssocTypeId}&fromDate=${fromDate}"/> </field> <field name="thruDate"><date-time/></field> <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"> <submit button-type="text-link"/> </field> </form> - <form name="ListContentAssocTo" target="EditContentAssoc" type="list" extends="ListContentAssocFrom" + <form name="ListContentAssocTo" target="EditContentAssoc" type="list" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentAssoc" use-cache="true"> <field-map env-name="contentId" field-name="contentIdTo" /> </entity-and> </actions> + <field name="contentId"> + <display-entity entity-name="Content" description="${contentName},${description}"> + <sub-hyperlink target="EditContentAssoc?contentId=${contentId}" description="${contentId}" link-style="tabletext"/> + </display-entity> + </field> + <field name="contentIdTo"><hidden/></field> + <field name="contentAssocTypeId"><display-entity entity-name="ContentAssocType" description="${description}"></display-entity></field> + <field name="mapKey"><display/></field> + <field name="fromDate"><display description="${bsh:fromDate.toString().substring(0,10)}"/></field> + <field name="deleteLink" title=" " widget-style="buttontext"> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentAssoc?contentId=${contentId}&contentIdTo=${contentIdTo}&contentAssocTypeId=${contentAssocTypeId}&fromDate=${fromDate}"/> + </field> + <field name="thruDate"><date-time/></field> + <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"> + <submit button-type="text-link"/> + </field> </form> |
Free forum by Nabble | Edit this page |