Modified: ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml Fri Feb 1 15:56:39 2008 @@ -31,9 +31,34 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="FindDataResource" location="component://content/widget/content/DataResourceForms.xml"/> - <label style="head1" text="${uiLabelMap.PageTitleListDataResource}"></label> - <include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleFindDataResource}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="FindDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleListDataResource}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -56,16 +81,33 @@ <section> <widgets> <container id="cmsnav" style="left-border"> - <include-screen name="navigateMenu"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleNavigateDataResources}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-screen name="navigateMenu"/> + </widgets> + </section> + </container> + </container> </container> <container id="cmsmain" style="nocolumns"> <container id="cmscontent"> - <include-screen name="listDataResources"/> + <section> + <widgets> + <include-screen name="listDataResources"/> + </widgets> + </section> </container> </container> </widgets> <fail-widgets> - <container id="norender" style="tableheadtext"> + <container id="norender" style="label"> <label text="${uiLabelMap.ContentCMSNotExist}"/> </container> </fail-widgets> @@ -93,7 +135,16 @@ <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> </actions> <widgets> - <include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleNavigateDataResources}"/> + </container> + </container> + <container style="screenlet-body"> + <include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + </container> + </container> </widgets> </section> </screen> @@ -129,7 +180,20 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EditDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResource}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditDataResource" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -154,7 +218,7 @@ <screen name="UploadImage"> <section> <actions> - <set field="titleProperty" value="PageTitleUploadImageDataResource"/> + <set field="titleProperty" value="PageTitleUploadImageDataResource"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="uploadImage"/> <entity-one entity-name="DataResource" value-name="currentValue"> @@ -189,7 +253,7 @@ <screen name="AddDataResourceText"> <section> <actions> - <set field="titleProperty" value="PageTitleAddDataResourceText"/> + <set field="titleProperty" value="PageTitleAddDataResourceText"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="adddataresourcetext"/> </actions> @@ -205,7 +269,7 @@ <screen name="AddDataResourceUrl"> <section> <actions> - <set field="titleProperty" value="PageTitleAddDataResourceUrl"/> + <set field="titleProperty" value="PageTitleAddDataResourceUrl"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="adddataresourceurl"/> </actions> @@ -222,7 +286,7 @@ <screen name="AddDataResourceUpload"> <section> <actions> - <set field="titleProperty" value="PageTitleAddDataResourceUpload"/> + <set field="titleProperty" value="PageTitleAddDataResourceUpload"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="adddataresourceupload"/> </actions> @@ -238,7 +302,7 @@ <screen name="EditDataResourceText"> <section> <actions> - <set field="titleProperty" value="PageTitleEditDataResourceText"/> + <set field="titleProperty" value="PageTitleEditDataResourceText"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="editdataresourcetext"/> </actions> @@ -254,7 +318,7 @@ <screen name="EditDataResourceUrl"> <section> <actions> - <set field="titleProperty" value="PageTitleEditDataResourceUrl"/> + <set field="titleProperty" value="PageTitleEditDataResourceUrl"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="editdataresourceurl"/> </actions> @@ -270,7 +334,7 @@ <screen name="EditDataResourceUpload"> <section> <actions> - <set field="titleProperty" value="PageTitleEditDataResourceUpload"/> + <set field="titleProperty" value="PageTitleEditDataResourceUpload"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="editdataresourceupload"/> </actions> @@ -286,7 +350,7 @@ <screen name="EditElectronicText"> <section> <actions> - <set field="titleProperty" value="PageTitleEditElectronicText"/> + <set field="titleProperty" value="PageTitleEditElectronicText"/> <set field="headerItem" value="DataResource"/> <set field="tabButtonItem" value="editElectronicText"/> <entity-one entity-name="DataResource" value-name="currentValue"/> @@ -294,7 +358,20 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EditElectronicText" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditElectronicText}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditElectronicText" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -314,8 +391,34 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="ListDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/> - <include-form name="AddDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceAttribute}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceAttribute}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -335,8 +438,34 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="ListDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/> - <include-form name="AddDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceRole}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceRole}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -356,8 +485,34 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="ListDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/> - <include-form name="AddDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceProductFeatures}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditDataResourceProductFeatures}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -374,7 +529,20 @@ <widgets> <decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EditHtmlText" location="component://content/widget/content/DataResourceForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditHtmlText}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditHtmlText" location="component://content/widget/content/DataResourceForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupScreens.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupScreens.xml Fri Feb 1 15:56:39 2008 @@ -21,26 +21,7 @@ <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> -<!-- - <screen name="ContentSetupMenu"> - <section> - <actions> - <set field="headerItem" value="Content"/> - <set field="currentMenuItemName" from-field="currentMenuItemName" from-scope="user" default-value="FindContent"/> - <set field="subScreens.ContentPurposeOp" value="ContentPurposeOp"/> - <set field="subScreens.ContentOp" value="ContentOp"/> - <set field="subScreens.assocPrep" value="assocPrep"/> - <set field="subScreens.typeAttr" value="typeAttr"/> - <set field="subScreens.purposeType" value="purposeType"/> - <set field="subScreens.assocType" value="assocType"/> - <set field="subScreens.type" value="type"/> - </actions> - <widgets> - <include-screen name="${subScreens.${currentMenuItemName}}"/> - </widgets> - </section> - </screen> ---> + <screen name="EditContentType"> <section> <actions> @@ -51,8 +32,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentType}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentType}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -69,8 +76,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAttribute}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAttribute}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -87,8 +120,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAssoc}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAssoc}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -105,8 +164,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentPurpose}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentPurpose}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -123,8 +208,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAssocPredicate}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentAssocPredicate}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -141,8 +252,34 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentPurposeOperation}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentPurposeOperation}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -181,11 +318,37 @@ <widgets> <decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> - <include-form name="AddContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentOperation}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditContentOperation}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> </section> </screen> -</screens> +</screens> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/datasetup/DataResourceSetupScreens.xml Fri Feb 1 15:56:39 2008 @@ -32,8 +32,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -51,8 +77,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -70,8 +122,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -89,8 +167,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -108,8 +212,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -127,8 +257,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -146,8 +302,34 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="CreateMimeTypeHtmlTemplate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> @@ -166,11 +348,37 @@ <widgets> <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="UpdateDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> - <include-form name="AddDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <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="head3"> + <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> </decorator-section> </decorator-screen> </widgets> </section> </screen> -</screens> +</screens> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml?rev=617713&r1=617712&r2=617713&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml Fri Feb 1 15:56:39 2008 @@ -32,11 +32,37 @@ <widgets> <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container> - <link target="EditLayoutSubContent?mode=add&contentIdTo=TEMPLATE_MASTER" text="${uiLabelMap.CommonCreateNew}" style="buttontext"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleFindLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container> + <link target="EditLayoutSubContent?mode=add&contentIdTo=TEMPLATE_MASTER" text="${uiLabelMap.CommonCreateNew}" style="buttontext"/> + </container> + <include-form name="findLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleFindLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="listFindLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + </widgets> + </section> + </container> </container> - <include-form name="findLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> - <include-form name="listFindLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -57,10 +83,23 @@ <widgets> <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container> - <link target="EditLayoutSubContent?mode=add&contentIdTo=TEMPLATE_MASTER" text="${uiLabelMap.CommonCreateNew}" style="buttontext"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleListLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container> + <link target="EditLayoutSubContent?mode=add&contentIdTo=TEMPLATE_MASTER" text="${uiLabelMap.CommonCreateNew}" style="buttontext"/> + </container> + <include-form name="listListLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + </widgets> + </section> + </container> </container> - <include-form name="listListLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -79,12 +118,25 @@ <widgets> <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EditLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> - <platform-specific> - <html> - <html-template location="component://content/webapp/content/layout/renderSubContent.ftl"/> - </html> - </platform-specific> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + <platform-specific> + <html> + <html-template location="component://content/webapp/content/layout/renderSubContent.ftl"/> + </html> + </platform-specific> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -93,7 +145,7 @@ <screen name="EditLayoutSubContent"> <section> <actions> - <set field="titleProperty" value="PageTitleEditLayout"/> + <set field="titleProperty" value="PageTitleEditLayoutSubContent"/> <set field="headerItem" value="Layout"/> <set field="tabButtonItem" to-scope="user" value="EditLayoutSubContent"/> @@ -103,7 +155,20 @@ <widgets> <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="EditLayoutSubContent" location="component://content/webapp/content/layout/LayoutForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditLayoutSubContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditLayoutSubContent" location="component://content/webapp/content/layout/LayoutForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -204,10 +269,23 @@ <widgets> <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <include-form name="AddLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head3"> + <label text="${uiLabelMap.PageTitleEditLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> </section> </screen> -</screens> +</screens> \ No newline at end of file |
Free forum by Nabble | Edit this page |