Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml Fri Feb 1 15:56:39 2008 @@ -22,7 +22,8 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <!-- CompDoc forms --> - <form name="FindCompDoc" default-entity-name="Content" target="FindCompDoc" title="" type="single"> + <form name="FindCompDoc" default-entity-name="Content" target="FindCompDoc" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" map-name="empty"><text-find/></field> <field name="contentName"><text-find/></field> <field name="contentTypeId"> @@ -37,7 +38,8 @@ <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListCompDoc" type="list" list-name="listIt" target="" paginate-target="FindCompDoc"> + <form name="ListCompDoc" type="list" list-name="listIt" target="" paginate-target="FindCompDoc" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-name="results" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -67,7 +69,8 @@ </field> </form> - <form name="ListCompDocInstances" target="" type="list" list-name="compDocFindList" paginate-target="ListCompDocInstances"> + <form name="ListCompDocInstances" target="" type="list" list-name="compDocFindList" paginate-target="ListCompDocInstances" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentId"><display/></field> <field name="contentName"><display/></field> <field name="rootContentId" title="Content Id To"><display/></field> @@ -83,7 +86,8 @@ </form> <!-- ContentRevision forms --> - <form name="EditContentRevision" default-map-name="contentRevision" target="updateContentRevision" type="single"> + <form name="EditContentRevision" default-map-name="contentRevision" target="updateContentRevision" type="single" + header-row-style="header-row" default-table-style="basic-table"> <alt-target target="createContentRevision" use-when="contentRevision==null"/> <auto-fields-entity entity-name="ContentRevision"/> @@ -102,7 +106,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> - <form name="ListContentRevisions" list-name="contentRevisionList" type="list"> + <form name="ListContentRevisions" list-name="contentRevisionList" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentId"><display/></field> <field name="contentRevisionSeqId"><display/></field> <field name="committedByPartyId"><display/></field> @@ -125,7 +130,8 @@ </form> <!-- ContentRevisionItem forms --> - <form name="EditContentRevisionItem" default-map-name="contentRevisionItem" target="updateContentRevisionItem" type="single"> + <form name="EditContentRevisionItem" default-map-name="contentRevisionItem" target="updateContentRevisionItem" type="single" + header-row-style="header-row" default-table-style="basic-table"> <alt-target target="createContentRevisionItem" use-when="contentRevisionItem==null"/> <auto-fields-entity entity-name="ContentRevisionItem"/> @@ -139,7 +145,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> - <form name="ListContentRevisionItem" list-name="contentRevisionItemList" type="list"> + <form name="ListContentRevisionItem" list-name="contentRevisionItemList" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentId"><display/></field> <field name="contentRevisionSeqId"><display/></field> <field name="itemContentId"><display/></field> @@ -154,7 +161,8 @@ </form> <!-- ContentApproval forms --> - <form name="EditContentApproval" default-map-name="contentApproval" target="updateContentApproval" type="single"> + <form name="EditContentApproval" default-map-name="contentApproval" target="updateContentApproval" type="single" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentApprovalId" widget-style="tabletext"><display/></field> <field name="contentId" widget-style="inputBox"><hidden/></field> <field name="contentRevisionSeqId" widget-style="inputBox"><text></text></field> @@ -181,7 +189,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> - <form name="AddContentApproval" default-map-name="contentApproval" target="createContentApproval" type="single"> + <form name="AddContentApproval" default-map-name="contentApproval" target="createContentApproval" type="single" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" widget-style="inputBox"><hidden/></field> <field name="contentRevisionSeqId" map-name="empty" widget-style="inputBox"><text/></field> <field name="partyId" map-name="empty" widget-style="inputBox"><lookup target-form-name="LookupPartyName"/></field> @@ -200,7 +209,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> - <form name="ListContentApproval" target="updateContentApproval" list-name="contentApprovalList" type="list"> + <form name="ListContentApproval" target="updateContentApproval" list-name="contentApprovalList" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentApprovalId" widget-style="tabletext"><display/></field> <field name="contentId"><hidden/></field> <field name="rootContentId" map-name="empty"><hidden/></field> @@ -230,7 +240,8 @@ </field> </form> - <form name="ListWaitingContentApproval" target="updateWaitingContentApproval" list-name="contentApprovalList" type="list"> + <form name="ListWaitingContentApproval" target="updateWaitingContentApproval" list-name="contentApprovalList" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentApprovalId" widget-style="tabletext"><display/></field> <field name="contentId"><hidden/></field> <field name="rootContentId" map-name="empty"><hidden/></field> @@ -256,7 +267,8 @@ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit" use-when=""COMPDOC_INSTANCE".equals(contentTypeId)"><submit/></field> </form> - <form name="AddRootCompDocInstance" default-map-name="" type="single" target="genCompDocInstance"> + <form name="AddRootCompDocInstance" default-map-name="" type="single" target="genCompDocInstance" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentName"><text/></field> <field name="instanceOfContentId" entry-name="rootContentId" map-name="parameters" widget-style="tabletext"><display-entity entity-name="Content" key-field-name="contentId" description="${contentName} [${contentId}]"/></field> <field name="contentTypeId"><hidden value="COMPDOC_INSTANCE"/></field> @@ -267,7 +279,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="EditRootCompDocInstance" default-map-name="content" type="single" target="updateRootCompDocTemplate"> + <form name="EditRootCompDocInstance" default-map-name="content" type="single" target="updateRootCompDocTemplate" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" widget-style="tabletext"><display/></field> <field name="contentName"><text/></field> <field name="instanceOfContentId" widget-style="tabletext"><display/></field> @@ -275,7 +288,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="AddRootCompDocTemplate" default-map-name="" type="single" target="createRootCompDocTemplate"> + <form name="AddRootCompDocTemplate" default-map-name="" type="single" target="createRootCompDocTemplate" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentName" title="CompDoc Template Name"><text/></field> <field name="contentTypeId" map-name="dummy"><hidden value="COMPDOC_TEMPLATE"/></field> <field name="rootTemplateContentId"><hidden/></field> @@ -283,14 +297,16 @@ <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="EditRootCompDocTemplate" default-map-name="content" type="single" target="updateRootCompDocTemplate"> + <form name="EditRootCompDocTemplate" default-map-name="content" type="single" target="updateRootCompDocTemplate" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" widget-style="tabletext"><display/></field> <field name="contentName"><text/></field> <field name="contentTypeId" map-name="dummy"><hidden value="COMPDOC_TEMPLATE"/></field> <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="AddChildCompDoc" default-map-name="" type="single" target="${childCompDocTarget}"> + <form name="AddChildCompDoc" default-map-name="" type="single" target="${childCompDocTarget}" + header-row-style="header-row" default-table-style="basic-table"> <field name="rootContentId"><hidden/></field> <field name="contentId"><ignored/></field> <field name="contentName"><text/></field> @@ -332,8 +348,8 @@ <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="EditChildCompDoc" default-map-name="contentAssoc" type="single" target="${childCompDocTarget}"> - + <form name="EditChildCompDoc" default-map-name="contentAssoc" type="single" target="${childCompDocTarget}" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" widget-style="tabletext"><display/></field> <field name="contentName" map-name="itemContent"><text/></field> <field name="contentTypeId" map-name="itemContent"><hidden/></field> @@ -401,8 +417,8 @@ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ViewChildCompDoc" default-map-name="contentAssoc" type="single" target=""> - + <form name="ViewChildCompDoc" default-map-name="contentAssoc" type="single" target="" + header-row-style="header-row" default-table-style="basic-table"> <field name="contentId" widget-style="tabletext"><display/></field> <field name="contentName" map-name="itemContent"><display/></field> <field name="contentTypeId" map-name="itemContent"><hidden/></field> @@ -425,7 +441,8 @@ </form> <!-- ================ CompDoc Revision ================= --> - <form name="EditContentRevisionAndItem" target="updateContentRevisionAndItem" type="single"> + <form name="EditContentRevisionAndItem" target="updateContentRevisionAndItem" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="ContentRevision"/> <auto-fields-entity entity-name="ContentRevisionItem"/> @@ -438,7 +455,8 @@ <field name="newDataResourceId" widget-style="inputBox"></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit/></field> </form> - <form name="ListContentRevisionItemApproval" type="list"> + <form name="ListContentRevisionItemApproval" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentRevisionItemAndContentApprovalView" use-cache="true"> <field-map env-name="contentId" field-name="contentId"/> @@ -460,7 +478,8 @@ </field> </form> - <form name="UploadCompDocContent" type="upload" target="uploadCompDocContent"> + <form name="UploadCompDocContent" type="upload" target="uploadCompDocContent" + header-row-style="header-row" default-table-style="basic-table"> <field name="caContentIdTo" entry-name="contentIdTo" map-name="contentAssoc"><hidden/></field> <field name="caContentAssocTypeId"><hidden value="COMPDOC_PART"/></field> <field name="caFromDate" entry-name="fromDate" map-name="contentAssoc"><hidden/></field> @@ -475,7 +494,8 @@ <field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"><submit/></field> </form> - <form name="UploadCompDocPdf2Survey" type="upload" target="persistCompDocPdf2Survey"> + <form name="UploadCompDocPdf2Survey" type="upload" target="persistCompDocPdf2Survey" + header-row-style="header-row" default-table-style="basic-table"> <field name="caContentIdTo" entry-name="contentIdTo" map-name="contentAssoc"><hidden/></field> <field name="caContentAssocTypeId"><hidden value="COMPDOC_PART"/></field> <field name="caFromDate" entry-name="fromDate" map-name="contentAssoc"><hidden/></field> @@ -491,7 +511,8 @@ <field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"><submit/></field> </form> - <form name="EditCompDocTextContent" type="single" target="uploadCompDocContent"> + <form name="EditCompDocTextContent" type="single" target="uploadCompDocContent" + header-row-style="header-row" default-table-style="basic-table"> <field name="rootContentId" map-name="dummy"><hidden/></field> <field name="caContentIdTo" map-name="parameters"><hidden/></field> <field name="caContentAssocTypeId" map-name="parameters"><hidden/></field> @@ -505,7 +526,8 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> - <form name="UploadCompDocSurveyId" type="single" target="uploadCompDocContent"> + <form name="UploadCompDocSurveyId" type="single" target="uploadCompDocContent" + header-row-style="header-row" default-table-style="basic-table"> <field name="rootContentId" map-name="dummy"><hidden/></field> <field name="caContentIdTo" map-name="parameters"><hidden/></field> <field name="caContentAssocTypeId" map-name="parameters"><hidden/></field> @@ -518,4 +540,4 @@ <field name="objectInfo" title="Survey Id"><lookup target-form-name="LookupSurvey"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit/></field> </form> -</forms> +</forms> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocMenus.xml Fri Feb 1 15:56:39 2008 @@ -34,31 +34,31 @@ <menu name="tree" menu-container-style="button-bar tab-bar" default-selected-style="selected" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> - <menu-item name="viewtree" title="View Tree"> + <menu-item name="viewtree" title="${uiLabelMap.ContentCompDocViewTree}"> <condition> - <or> - <if-compare value="COMPDOC_TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> - <if-compare value="TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> - </or> + <or> + <if-compare value="COMPDOC_TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> + <if-compare value="TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> + </or> </condition> <link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> - <menu-item name="viewtree2" title="View Tree"> + <menu-item name="viewtree2" title="${uiLabelMap.ContentCompDocViewTree}"> <condition> - <or> - <if-compare value="COMPDOC_INSTANCE" field-name="contentTypeId" operator="equals"></if-compare> - <if-compare value="DOCUMENT" field-name="contentTypeId" operator="equals"></if-compare> - </or> + <or> + <if-compare value="COMPDOC_INSTANCE" field-name="contentTypeId" operator="equals"></if-compare> + <if-compare value="DOCUMENT" field-name="contentTypeId" operator="equals"></if-compare> + </or> </condition> <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> - <menu-item name="edit" title="Edit"> + <menu-item name="edit" title="${uiLabelMap.CommonEdit}"> <link target="EditRootCompDoc?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> - <menu-item name="approval" title="Approvals"> + <menu-item name="approval" title="${uiLabelMap.ContentCompDocApprovals}"> <link target="ListContentApproval?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> - <menu-item name="revision" title="Revisions"> + <menu-item name="revision" title="${uiLabelMap.ContentCompDocRevisions}"> <link target="ListContentRevisions?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> </menu> @@ -67,19 +67,19 @@ selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> <menu-item name="viewtree" title="View Tree"> <condition> - <or> - <if-compare value="COMPDOC_TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> - <if-compare value="TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> - </or> + <or> + <if-compare value="COMPDOC_TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> + <if-compare value="TEMPLATE" field-name="contentTypeId" operator="equals"></if-compare> + </or> </condition> <link target="ViewCompDocTemplateTree?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> <menu-item name="viewtree2" title="View Tree"> <condition> - <or> - <if-compare value="COMPDOC_INSTANCE" field-name="contentTypeId" operator="equals"></if-compare> - <if-compare value="DOCUMENT" field-name="contentTypeId" operator="equals"></if-compare> - </or> + <or> + <if-compare value="COMPDOC_INSTANCE" field-name="contentTypeId" operator="equals"></if-compare> + <if-compare value="DOCUMENT" field-name="contentTypeId" operator="equals"></if-compare> + </or> </condition> <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> @@ -97,25 +97,25 @@ <link target="EditRootCompDoc?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> <menu-item name="child" title="+Child"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="AddChildCompDocTemplate?rootContentId=${contentId}&sequenceNum=9999"/> <!-- rootContentRevisionSeqId=${rootContentRevisionSeqId}& --> </menu-item> <menu-item name="latest" title="Current Template CompDoc"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="greater" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="greater" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="ViewCompDocTemplateTree?rootContentId=${contentId}"/> <!-- rootContentRevisionSeqId=${rootContentRevisionSeqId}& --> </menu-item> - <!-- on page + <!-- on page <menu-item name="viewinst" title="View Instances"> <link target="ViewInstances?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> <menu-item name="addinst" title="Add Instance"> <link target="AddRootCompDocInstance?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> - --> + --> </menu> <menu name="childTemplateLine" menu-container-style="button-bar button-style-1" default-menu-item-name="content" selected-menuitem-context-field-name="currentMenuItemName" title="" type="simple"> @@ -131,27 +131,27 @@ </menu-item> --> <menu-item name="bef" title="+Bef"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="AddChildCompDocTemplate?contentId=${contentId}&rootContentId=${rootContentId}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> </menu-item> <menu-item name="aft" title="+Aft"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="AddChildCompDocTemplate?contentId=${contentId}&rootContentId=${rootContentId}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumAfter}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} --> </menu-item> <menu-item name="up" title="^Up"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="resequenceCompDocPart?contentId=${contentId}&dir=up&contentAssocTypeId=COMPDOC_PART&contentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}&rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> <menu-item name="down" title="vDn"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="equals" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="resequenceCompDocPart?contentId=${contentId}&dir=down&contentAssocTypeId=COMPDOC_PART&contentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}&rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/> </menu-item> </menu> @@ -167,9 +167,9 @@ <link target="ViewCompDocTemplateTree?rootContentRevisionSeqId=${templateContentRevisionSeqId}&rootContentId=${templateContentId}"/> </menu-item> <menu-item name="latest" title="Current Instance CompDoc"> - <condition> - <if-compare-field field-name="mostRecentRevisionSeqId" operator="greater" to-field-name="rootContentRevisionSeqId"/> - </condition> + <condition> + <if-compare-field field-name="mostRecentRevisionSeqId" operator="greater" to-field-name="rootContentRevisionSeqId"/> + </condition> <link target="ViewCompDocInstanceTree?rootContentId=${rootContentId}"/> <!-- rootContentRevisionSeqId=${rootContentRevisionSeqId}& --> </menu-item> </menu> Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml Fri Feb 1 15:56:39 2008 @@ -55,18 +55,43 @@ <condition><if-compare field-name="content.contentTypeId" operator="equals" value="COMPDOC_INSTANCE"/></condition> <widgets><include-screen name="rootInstanceApprovalStatus"/></widgets> </section> - <include-form name="ListContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleListContentApproval}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> <section> <condition> <if-compare field-name="content.contentTypeId" operator="equals" value="COMPDOC_TEMPLATE"/> </condition> <actions> - <set field="title" value="Edit CompDoc Instance [${rootContentId}]"/> + <set field="title" value="${uiLabelMap.PageTitleEditCompDocInstance} [${rootContentId}]"/> <set from-field="parameters.contentRevisionSeqId" default-value="${parameters.rootContentRevisionSeqId}" field="rootContentRevisionSeqId"/> </actions> <widgets> - <label text="${uiLabelMap.CommonAdd}" style="head1"/> - <include-form name="AddContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.CommonAdd}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </widgets> </section> </decorator-section> @@ -89,7 +114,7 @@ <set from-field="content.contentTypeId" field="contentTypeId"/> <set field="menuName" value="empty"/> <set field="currentMenuItemName" value="approval"/> - <set field="title" value="Waiting Content Approvals"/> + <set field="titleProperty" value="ContentCompDocViewWaitingApprovals"/> <set field="menuName" value="tree"/> <set field="currentMenuItemName" value="approval"/> <service service-name="checkForWaitingApprovals" result-map-name="result"> @@ -100,7 +125,20 @@ <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="ListWaitingContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocViewWaitingApprovals}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListWaitingContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -124,12 +162,25 @@ <field-map field-name="contentId" env-name="contentApproval.contentId"/> </entity-one> <set from-field="content.contentTypeId" field="contentTypeId"/> - <set field="title" value="Content Approval Edit Page for ${contentApproval.contentApprovalId}"/> + <set field="title" value="${uiLabelMap.PageTitleEditContentApprovalEditPage} ${contentApproval.contentApprovalId}"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="EditContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentApprovalEditPage}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditContentApproval" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -158,12 +209,25 @@ <field-map env-name="contentId" field-name="contentId"/> </entity-and> - <set field="title" value="Revision List Page for Content: ${rootContentId} rev. ${rootContentRevisionSeqId}"/> + <set field="title" value="${uiLabelMap.ContentCompDocRevisionListPageForContent} ${rootContentId} ${uiLabelMap.ContentCompDocRev} ${rootContentRevisionSeqId}"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="ListContentRevisions" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocRevisionListPageForContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListContentRevisions" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -183,14 +247,27 @@ <set from-field="content.contentTypeId" field="contentTypeId"/> <set field="menuName" value="tree"/> <set field="currentMenuItemName" value="revision"/> - <set field="title" value="Revision List Page for Content: ${rootContentId} rev. ${rootContentRevisionSeqId}"/> + <set field="title" value="${uiLabelMap.ContentCompDocRevisionListPageForContent} ${rootContentId} ${uiLabelMap.ContentCompDocRevisions} ${rootContentRevisionSeqId}"/> <entity-one entity-name="ContentRevision" value-name="contentRevision" use-cache="true"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="EditContentRevision" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocRevisionListPageForContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditContentRevision" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -210,7 +287,7 @@ <set from-field="content.contentTypeId" field="contentTypeId"/> <set field="menuName" value="tree"/> <set field="currentMenuItemName" value="revision"/> - <set field="title" value="Revision Item List Page for Content: ${rootContentId} rev. ${rootContentRevisionSeqId}"/> + <set field="title" value="${uiLabelMap.ContentCompDocRevisionListPageForContent} ${rootContentId} ${uiLabelMap.ContentCompDocRevisions} ${rootContentRevisionSeqId}"/> <entity-and entity-name="ContentRevisionItem" list-name="contentRevisionItemList" use-cache="true"> <field-map field-name="contentId" env-name="parameters.contentId"/> @@ -220,7 +297,20 @@ <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="ListContentRevisionItem" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocRevisionListPageForContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListContentRevisionItem" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -240,14 +330,27 @@ <set from-field="content.contentTypeId" field="contentTypeId"/> <set field="menuName" value="tree"/> <set field="currentMenuItemName" value="revision"/> - <set field="title" value="Content Revision Item Edit Page for Content: ${contentId} rev. ${contentRevisionSeqId}"/> + <set field="title" value="${uiLabelMap.ContentCompDocRevisionItemEditPage} ${contentId} ${uiLabelMap.ContentCompDocRevisions} ${contentRevisionSeqId}"/> <entity-one entity-name="ContentRevisionItem" value-name="contentRevisionItem" use-cache="true"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="EditContentRevisionItem" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocRevisionItemEditPage}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditContentRevisionItem" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -260,7 +363,7 @@ </condition> <actions> <set field="menuName" value="empty"/> - <set field="title" value="Find CompDoc"/> + <set field="titleProperty" value="PageTitleFindCompDoc"/> <set field="entityName" value="ContentAssocViewFrom"/> <set field="queryString" from-field="result.queryString"/> <set field="currentContentMenuItemName" value=""/> @@ -272,12 +375,38 @@ <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <container> - <container><link target="AddRootCompDocTemplate" text="Create New Root CompDoc Template" style="buttontext"/></container> - <container><link target="ListWaitingContentApproval" text="View Waiting Approvals" style="buttontext"/></container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleFindCompDoc}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container> + <container><link target="AddRootCompDocTemplate" text="${uiLabelMap.PageTitleCreateNewRootCompDocTemplate}" style="buttontext"/></container> + <container><link target="ListWaitingContentApproval" text="${uiLabelMap.ContentCompDocViewWaitingApprovals}" style="buttontext"/></container> + </container> + <include-form name="FindCompDoc" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleFindCompDoc}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListCompDoc" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> </container> - <include-form name="FindCompDoc" location="component://content/widget/compdoc/CompDocForms.xml"/> - <include-form name="ListCompDoc" location="component://content/widget/compdoc/CompDocForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -330,13 +459,26 @@ <field-map field-name="instanceOfContentId" env-name="parameters.rootContentId"/> <field-map field-name="contentTypeId" value="COMPDOC_INSTANCE"/> </entity-and> - <set field="title" value="View CompDoc Instances of [${parameters.rootContentId}]"/> + <set field="title" value="${uiLabelMap.ContentCompDocViewInstances} ${parameters.rootContentId}"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <container><link target="AddRootCompDocTemplate?contentId=${contentId}&contentRevisionSeqId=${contentRevisionSeqId}" text="Create New Root CompDoc Template" style="buttontext"/></container> - <include-form name="ListCompDocInstances" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.ContentCompDocViewInstances}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container><link target="AddRootCompDocTemplate?contentId=${contentId}&contentRevisionSeqId=${contentRevisionSeqId}" text="${uiLabelMap.PageTitleCreateNewRootCompDocTemplate}" style="buttontext"/></container> + <include-form name="ListCompDocInstances" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -371,17 +513,30 @@ <if-compare field-name="contentTypeId" operator="equals" value="COMPDOC_TEMPLATE"/> </condition> <actions> - <set field="title" value="Edit CompDoc Template [${rootContentId}]"/> + <set field="title" value="${uiLabelMap.PageTitleEditCompDocTemplate} ${rootContentId}"/> <set from-field="parameters.contentRevisionSeqId" default-value="${parameters.rootContentRevisionSeqId}" field="rootContentRevisionSeqId"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <container> - <link target="AddRootCompDocInstance?contentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}" text="Create Instance of This Template" style="buttontext"/> - <link target="ViewInstances?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditCompDocTemplate}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container> + <link target="AddRootCompDocInstance?contentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}" text="${uiLabelMap.PageTitleCreateInstanceOfThisTemplate}" style="buttontext"/> + <link target="ViewInstances?rootContentId=${rootContentId}&contentRevisionSeqId=${rootContentRevisionSeqId}"/> + </container> + <include-form name="EditRootCompDocTemplate" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> </container> - <include-form name="EditRootCompDocTemplate" location="component://content/widget/compdoc/CompDocForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -391,13 +546,26 @@ <if-compare field-name="content.contentTypeId" operator="equals" value="COMPDOC_INSTANCE"/> </condition> <actions> - <set field="title" value="Edit CompDoc Instance [${rootContentId}]"/> + <set field="title" value="${uiLabelMap.PageTitleEditCompDocInstance} [${rootContentId}]"/> <set from-field="parameters.contentRevisionSeqId" default-value="${parameters.rootContentRevisionSeqId}" field="rootContentRevisionSeqId"/> </actions> <widgets> <decorator-screen name="commonCompDocDecorator" location="component://content/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="EditRootCompDocInstance" location="component://content/widget/compdoc/CompDocForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditCompDocInstance}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditRootCompDocInstance" location="component://content/widget/compdoc/CompDocForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -1186,4 +1354,4 @@ </widgets> </section> </screen> -</screens> +</screens> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml (original) +++ ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml Fri Feb 1 15:56:39 2008 @@ -21,7 +21,8 @@ <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <!-- DataResource forms --> - <form name="FindDataResource" target="findDataResource" type="single"> + <form name="FindDataResource" target="findDataResource" type="single" + header-row-style="header-row" default-table-style="basic-table"> <field name="noConditionFind"><hidden value="Y"/></field> <field name="dataResourceId"><text-find default-option="contains" ignore-case="true"/></field> <field name="dataResourceName"><text-find default-option="contains" ignore-case="true"/></field> @@ -56,7 +57,8 @@ <field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListDataResource" type="list" list-name="listIt" paginate-target="findDataResource"> + <form name="ListDataResource" type="list" list-name="listIt" paginate-target="findDataResource" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -78,11 +80,13 @@ <field name="dataCategoryId"><display-entity entity-name="DataCategory" description="${categoryName}[${dataCategoryId}]"></display-entity></field> </form> - <form name="LookupDataResource" target="LookupDataResource" title="" type="single"> + <form name="LookupDataResource" target="LookupDataResource" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="DataResource" default-field-type="find"/> <field name="submitButton" title="Lookup" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListLookupDataResource" extends="ListDataResource" list-name="listIt" type="list" paginate-target="LookupDataResource"> + <form name="ListLookupDataResource" extends="ListDataResource" list-name="listIt" type="list" paginate-target="LookupDataResource" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -95,14 +99,16 @@ </field> <field name="dataResourceName" title="Name"><display/></field> </form> - <form name="mruLookupDataResource" default-entity-name="DataResource" list-name="mruList" target="" title="" type="list" default-widget-style="display"> + <form name="mruLookupDataResource" default-entity-name="DataResource" list-name="mruList" target="" title="" type="list" default-widget-style="display" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentId" title="Id" widget-style="buttontext"> <hyperlink also-hidden="false" target-type="plain" description="${dataResourceId}" target="javascript:set_value('${dataResourceId}')"/> </field> <field name="dataResourceName" title="Name" widget-style="buttontext"><display/></field> <field name="dataCategoryId" title="Category" widget-style="buttontext"><display/></field> </form> - <form name="EditDataResource" target="updateDataResource" title="" type="single" default-map-name="currentValue"> + <form name="EditDataResource" target="updateDataResource" title="" type="single" default-map-name="currentValue" + header-row-style="header-row" default-table-style="basic-table"> <actions> <entity-one entity-name="StatusItem" value-name="currentStatus" auto-field-map="false"> <field-map field-name="statusId" env-name="currentValue.statusId"/> @@ -153,7 +159,8 @@ <field name="createButton" title="${uiLabelMap.CommonCreate}" use-when="currentValue==null" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="updateButton" title="${uiLabelMap.CommonUpdate}" use-when="currentValue!=null" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="DataResourceMaster" target="createDataResource" title="" type="single" default-map-name="currentValue"> + <form name="DataResourceMaster" target="createDataResource" title="" type="single" default-map-name="currentValue" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="DataResource" default-field-type="edit"/> <field name="dataResourceId"></field> <field name="dataResourceTypeId"> @@ -199,13 +206,15 @@ <!-- use-when="(dataResource != void) && (dataResource.dataResourceId != void) && (dataResource.dataResourceId.length()>0)" --> - <form name="AddDataResource" target="createDataResource" title="" type="single" extends="DataResourceMaster"> + <form name="AddDataResource" target="createDataResource" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="objectInfo" title="URL"/> <field name="mode"><hidden value="CREATE"/></field> </form> - <form name="AddDataResourceText" target="createDataResourceAndText" title="" type="single" extends="DataResourceMaster"> + <form name="AddDataResourceText" target="createDataResourceAndText" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><text/></field> <field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field> <field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId"> @@ -214,7 +223,8 @@ <field name="textData" id-name="textData"><textarea rows="20" cols="120"/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="AddDataResourceUrl" target="createDataResourceUrl" title="" type="single" extends="DataResourceMaster"> + <form name="AddDataResourceUrl" target="createDataResourceUrl" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><text/></field> <field name="objectInfo" title="URL"><text/></field> <field name="dataResourceTypeId"><hidden value="URL_RESOURCE"/></field> @@ -223,7 +233,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="AddDataResourceUpload" target="createDataResourceUpload" title="" type="single" extends="DataResourceMaster"> + <form name="AddDataResourceUpload" target="createDataResourceUpload" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><display description="${dataResource.dataResourceId}"/></field> <field name="dataResourceTypeId"><hidden value="IMAGE_OBJECT"/></field> <field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId"> @@ -232,7 +243,8 @@ <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="objectInfo" title="Uploaded File"><display/></field> </form> - <form name="EditDataResourceText" target="updateDataResourceText" title="" type="single" extends="DataResourceMaster"> + <form name="EditDataResourceText" target="updateDataResourceText" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><display/></field> <field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field> <field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId"> @@ -241,7 +253,8 @@ <field name="textData" id-name="textData"><textarea rows="20" cols="120"/> </field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="EditDataResourceUpload" target="updateDataResourceUpload" title="" type="single" extends="DataResourceMaster"> + <form name="EditDataResourceUpload" target="updateDataResourceUpload" title="" type="single" extends="DataResourceMaster" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId"><display/></field> <field name="dataResourceTypeId"><hidden value="IMAGE_OBJECT"/></field> <field name="dataResourceTypeIdDisplay" title="Type Id" field-name="dataResourceTypeId"> @@ -250,10 +263,12 @@ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field name="objectInfo" title="Uploaded File"><display/></field> </form> - <form name="EditDataResourceUrl" target="updateDataResourceUrl" title="" type="single" extends="AddDataResourceUrl"> + <form name="EditDataResourceUrl" target="updateDataResourceUrl" title="" type="single" extends="AddDataResourceUrl" + header-row-style="header-row" default-table-style="basic-table"> <field name="objectInfo" title="URL"><text/></field> </form> - <form name="ImageUpload" target="uploadImage" title="" type="upload" default-map-name="currentValue"> + <form name="ImageUpload" target="uploadImage" title="" type="upload" default-map-name="currentValue" + header-row-style="header-row" default-table-style="basic-table"> <field name="dataResourceId" widget-style="tabletext"><display/></field> <field name="dataResourceTypeId" ><hidden/></field> <field name="objectInfo" widget-style="tabletext"><display /></field> @@ -261,12 +276,14 @@ <field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <!-- DataResourceAttribute forms --> - <form name="AddDataResourceAttribute" target="addDataResourceAttribute" title="" type="single"> + <form name="AddDataResourceAttribute" target="addDataResourceAttribute" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createDataResourceAttribute"/> <field name="dataResourceId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="tabletext" map-name="currentValue"><display/></field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListDataResourceAttribute" list-name="dataResourceAttribute" target="updateDataResourceAttribute" title="" type="list"> + <form name="ListDataResourceAttribute" list-name="dataResourceAttribute" target="updateDataResourceAttribute" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -282,7 +299,8 @@ </form> <!-- DataResourceRole forms --> - <form name="AddDataResourceRole" target="addDataResourceRole" title="" type="single"> + <form name="AddDataResourceRole" target="addDataResourceRole" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="DataResourceRole"/> <field name="dataResourceId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="tabletext" map-name="currentValue"><display/></field> <field name="partyId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="tabletext"><lookup target-form-name="LookupPerson"/></field> @@ -293,7 +311,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListDataResourceRole" list-name="dataResourceRole" target="updateDataResourceRole" title="" type="list"> + <form name="ListDataResourceRole" list-name="dataResourceRole" target="updateDataResourceRole" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -309,13 +328,15 @@ </form> <!-- DataResourceProductFeature forms --> - <form name="AddDataResourceProductFeature" target="createDataResourceProductFeature" title="" type="single"> + <form name="AddDataResourceProductFeature" target="createDataResourceProductFeature" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createProductFeatureDataResource"/> <field name="dataResourceId" widget-style="tabletext" map-name="currentValue"><display/></field> <field name="productFeatureId" widget-style="buttontext"><lookup target-form-name="LookupProductFeature"/></field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListDataResourceProductFeature" list-name="productFeatureDataResource" target="" title="" type="list"> + <form name="ListDataResourceProductFeature" list-name="productFeatureDataResource" target="" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <service service-name="performFind" result-map-list-name="listIt"> <field-map field-name="inputFields" env-name="parameters"/> @@ -327,7 +348,8 @@ <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeDataResourceProductFeature?dataResourceId=${dataResourceId}&productFeatureId=${productFeatureId}"/> </field> </form> - <form name="lookupProductFeature" target="LookupProductFeature" title="" type="single"> + <form name="lookupProductFeature" target="LookupProductFeature" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="ProductFeature" default-field-type="find"/> <field name="productFeatureTypeId"> <drop-down allow-empty="true"> @@ -345,13 +367,15 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="listLookupProductFeature" list-name="entityList" title="" type="list" paginate-target="LookupProductFeature" > + <form name="listLookupProductFeature" list-name="entityList" title="" type="list" paginate-target="LookupProductFeature" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <auto-fields-entity entity-name="ProductFeature" default-field-type="display"/> <field name="productFeatureId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> <hyperlink also-hidden="false" target-type="plain" description="${productFeatureId}" target="javascript:set_value('${productFeatureId}')"/> </field> </form> - <form name="mruLookupProductFeature" default-entity-name="ProductFeature" list-name="mruList" target="" title="" type="list"> + <form name="mruLookupProductFeature" default-entity-name="ProductFeature" list-name="mruList" target="" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="contentId" title="Id" widget-style="buttontext"> <hyperlink also-hidden="false" target-type="plain" description="${productFeatureId}" target="javascript:set_value('${productFeatureId}')"/> </field> @@ -360,7 +384,8 @@ </form> <!-- ElectronicText forms --> - <form name="EditElectronicText" target="updateElectronicText" title="" type="single" default-map-name="electronicText"> + <form name="EditElectronicText" target="updateElectronicText" title="" type="single" default-map-name="electronicText" + header-row-style="header-row" default-table-style="basic-table"> <!--auto-fields-service service-name="updateElectronicText"/--> <actions> <entity-one entity-name="ElectronicText" value-name="electronicText"/> @@ -373,13 +398,15 @@ </form> <!-- Html forms --> - <form name="AddHtmlText" target="addHtmlText" title="" type="single"> + <form name="AddHtmlText" target="addHtmlText" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="ElectronicText"/> <field name="dataResourceId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" map-name="currentValue"><display/></field> <field name="textData" id-name="textData"><textarea rows="24" cols="120"/></field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="EditHtmlText" target="updateHtmlText" title="" type="single" default-map-name="electronicText"> + <form name="EditHtmlText" target="updateHtmlText" title="" type="single" default-map-name="electronicText" + header-row-style="header-row" default-table-style="basic-table"> <actions> <entity-one entity-name="ElectronicText" value-name="electronicText"/> </actions> @@ -389,4 +416,4 @@ <field name="textData" id-name="textData"><textarea cols="120" rows="20" visual-editor-enable="true"/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> -</forms> +</forms> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml (original) +++ ofbiz/trunk/applications/content/widget/content/DataResourceMenus.xml Fri Feb 1 15:56:39 2008 @@ -74,7 +74,7 @@ <link target="EditDataResourceProductFeatures" name="EditDataResourceProductFeatures" target-window="_top" style="tabButton" /> </menu-item> </menu> - <menu name="dataresourceTopMenu"> + <menu name="dataresourceTopMenu" menu-container-style="button-bar tab-bar" default-selected-style="selected"> <menu-item name="findDataResource" title="${uiLabelMap.CommonFind}"> <link target="findDataResource"/> </menu-item> @@ -82,7 +82,7 @@ <link target="navigateDataResource"/> </menu-item> </menu> - <menu name="dataresource"> + <menu name="dataresource" menu-container-style="button-bar tab-bar" default-selected-style="selected"> <menu-item name="editDataResource" title="${uiLabelMap.CommonEdit}"> <condition> <not><if-empty field-name="currentValue.dataResourceId"/></not> |
Free forum by Nabble | Edit this page |