Modified: ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml?rev=667013&r1=667012&r2=667013&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml Thu Jun 12 02:34:05 2008 @@ -32,34 +32,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="DataResourceTypePanel" title="${uiLabelMap.PageTitleEditDataResourceType}" collapsible="true"> + <include-form name="AddDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -77,34 +53,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceCharacterSet}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceCharacterSet}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="DataResourceCharacterSetPanel" title="${uiLabelMap.PageTitleEditDataResourceCharacterSet}" collapsible="true"> + <include-form name="AddCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -122,34 +74,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceTypeAttr}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceTypeAttr}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="DataResourceTypeAttrPanel" title="${uiLabelMap.PageTitleEditDataResourceTypeAttr}" collapsible="true"> + <include-form name="AddDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -167,34 +95,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceFileExtension}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceFileExtension}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FileExtensionPanel" title="${uiLabelMap.PageTitleEditDataResourceFileExtension}" collapsible="true"> + <include-form name="AddFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -212,34 +116,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMetaDataPredicate}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMetaDataPredicate}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="MetaDataPredicatePanel" title="${uiLabelMap.PageTitleEditDataResourceMetaDataPredicate}" collapsible="true"> + <include-form name="AddMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -257,34 +137,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMimeType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMimeType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="DataResourceMimeTypePanel" title="${uiLabelMap.PageTitleEditDataResourceMimeType}" collapsible="true"> + <include-form name="AddMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -302,34 +158,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMimeTypeHtmlTemplate}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceMimeTypeHtmlTemplate}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="CreateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="MimeTypeHtmlTemplatePanel" title="${uiLabelMap.PageTitleEditDataResourceMimeTypeHtmlTemplate}" collapsible="true"> + <include-form name="CreateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -348,34 +180,10 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceCategory}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="UpdateDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditDataResourceCategory}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="DataResourceCategoryPanel" title="${uiLabelMap.PageTitleEditDataResourceCategory}" collapsible="true"> + <include-form name="AddDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + </screenlet> + <include-form name="UpdateDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/content/widget/forum/ForumForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumForms.xml?rev=667013&r1=667012&r2=667013&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/forum/ForumForms.xml (original) +++ ofbiz/trunk/applications/content/widget/forum/ForumForms.xml Thu Jun 12 02:34:05 2008 @@ -21,7 +21,7 @@ <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <form name="ListForumGroups" type="list" list-name="forumGroups" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <field name="select" widget-style="buttontext" entry-name="contentId" parameter-name="contentId"><hyperlink target="findForums?forumGroupId=${contentId}" description="forums"/></field> <field name="forumGroupName" entry-name="contentName" parameter-name="contentName"><text/></field> <field name="forumGroupDescription" entry-name="description" parameter-name="description"><text/></field> @@ -36,7 +36,7 @@ </form> <form name="ListForums" type="list" list-name="forums" separate-columns="true" target="updateForum" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <field name="forumGroupId"><hidden value="${parameters.forumGroupId}"/></field> <field name="contentIdTo"><hidden value="${caContentIdTo}"/></field> <field name="contentAssocTypeId"><hidden value="${caContentAssocTypeId}"/></field> @@ -64,7 +64,7 @@ </form> <form name="ForumGroupPurposes" type="list" list-name="forumPurposes" target="deleteForumGroupPurpose" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-entity entity-name="ContentPurpose" default-field-type="edit"/> <field name="forumGroupId"><hidden value="${parameters.forumGroupId}"/></field> <field name="contentId"><hidden value="${parameters.forumGroupId}"/></field> @@ -84,7 +84,7 @@ </form> <form name="ForumGroupRoles" type="list" list-name="forumRoles" target="updateForumGroupRole" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-entity entity-name="ContentRole" default-field-type="edit"/> <field name="forumGroupId"><hidden value="${parameters.forumGroupId}"/></field> <field name="contentId"><hidden value="${parameters.forumGroupId}"/></field> Modified: ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml?rev=667013&r1=667012&r2=667013&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml Thu Jun 12 02:34:05 2008 @@ -39,34 +39,10 @@ <if-has-permission permission="CONTENTMGR" action="_VIEW"/> </condition> <widgets> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleFindForumGroup}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListForumGroups" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ForumGroupCreate}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddForumGroup" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="ForumGroupPanel" title="${uiLabelMap.ForumGroupCreate}" collapsible="true"> + <include-form name="AddForumGroup" location="component://content/widget/forum/ForumForms.xml"/> + </screenlet> + <include-form name="ListForumGroups" location="component://content/widget/forum/ForumForms.xml"/> </widgets> <fail-widgets> <label style="h3">You do not have permission to view this page. ("CONTENTMGR_VIEW" or "CONTENTMGR_ADMIN" needed)</label> @@ -96,34 +72,10 @@ <widgets> <decorator-screen name="commonForumDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleFindForums}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListForums" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ForumAddTo} ${forumGroup.contentName}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddForum" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="AddForumToForumGroupPanel" title="${uiLabelMap.ForumAddTo} ${forumGroup.contentName}" collapsible="true"> + <include-form name="AddForum" location="component://content/widget/forum/ForumForms.xml"/> + </screenlet> + <include-form name="ListForums" location="component://content/widget/forum/ForumForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -148,34 +100,10 @@ <widgets> <decorator-screen name="commonForumDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleForumGroupRoles}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ForumGroupRoles" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ForumAddRoleTo} ${forumGroup.contentName} [${forumGroup.contentId}]"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddForumGroupRole" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="ForumGroupRolePanel" title="${uiLabelMap.ForumAddRoleTo} ${forumGroup.contentName} [${forumGroup.contentId}]" collapsible="true"> + <include-form name="AddForumGroupRole" location="component://content/widget/forum/ForumForms.xml"/> + </screenlet> + <include-form name="ForumGroupRoles" location="component://content/widget/forum/ForumForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -200,34 +128,10 @@ <widgets> <decorator-screen name="commonForumDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleForumGroupPurposes}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ForumGroupPurposes" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ForumAddPurposeTo} ${forumGroup.contentName} [${forumGroup.contentId}]"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddForumGroupPurpose" location="component://content/widget/forum/ForumForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="ForumGroupPurposePanel" title="${uiLabelMap.ForumAddPurposeTo} ${forumGroup.contentName} [${forumGroup.contentId}]" collapsible="true"> + <include-form name="AddForumGroupPurpose" location="component://content/widget/forum/ForumForms.xml"/> + </screenlet> + <include-form name="ForumGroupPurposes" location="component://content/widget/forum/ForumForms.xml"/> </decorator-section> </decorator-screen> </widgets> |
Free forum by Nabble | Edit this page |