Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl Fri Feb 1 05:48:17 2008 @@ -27,7 +27,7 @@ </div> <#if (content?has_content)> - <div class="tabletext" style="margin-bottom: 8px;"> + <div style="margin-bottom: 8px;"> New <b>PathAlias</b> attached from WebSite: <b>${webSite.webSiteId}</b> to Content: <b>${content.contentId}</b></b> </div> </#if> @@ -35,28 +35,28 @@ <table> <tr><td> <table border="1" cellpadding="2" cellspacing="0" class="calendarTable"> - <tr> - <td><div class="tableheadtext">Web Site ID</div></td> - <td><div class="tableheadtext">Path Alias</div></td> - <td><div class="tableheadtext">Alias To</div></td> - <td><div class="tableheadtext">Content ID</div></td> - <td><div class="tableheadtext">Map Key</div></td> + <tr class="header-row"> + <td>Web Site ID</td> + <td>Path Alias</td> + <td>Alias To</td> + <td>Content ID</td> + <td>Map Key</td> <td> </td> </tr> <#if (aliases?has_content)> <#list aliases as alias> <tr> - <td><div class="tabletext">${alias.webSiteId}</div></td> - <td><div class="tabletext">${alias.pathAlias}</div></td> - <td><div class="tabletext">${alias.aliasTo?default("N/A")}</div></td> - <td><div class="tabletext">${alias.contentId?default("N/A")}</div></td> - <td><div class="tabletext">${alias.mapKey?default("N/A")}</div></td> + <td>${alias.webSiteId}</td> + <td>${alias.pathAlias}</td> + <td>${alias.aliasTo?default("N/A")}</td> + <td>${alias.contentId?default("N/A")}</td> + <td>${alias.mapKey?default("N/A")}</td> <td><a href="javascript:void(0);" onclick="javascript:pathRemove('${webSiteId}', '${alias.pathAlias}', '${contentId}');" class="buttontext">Remove</a></td> </tr> </#list> <#else> <tr> - <td colspan="5"><div class="tabletext">No aliases currently defined.</div></td> + <td colspan="5">No aliases currently defined.</td> </tr> </#if> </table> @@ -67,23 +67,23 @@ <table> <tr><td colspan="2"> </td></tr> <tr> - <td><div class="tableheadtext">Web Site</div></td> - <td><div class="tabletext">${webSite.siteName?default(webSite.webSiteId)}</div></td> + <td class="label">Web Site</td> + <td>${webSite.siteName?default(webSite.webSiteId)}</td> <input type="hidden" name="webSiteId" value="${webSiteId}"/> </tr> <tr> - <td><div class="tableheadtext">Content</div></td> - <td><div class="tabletext">${content.contentName?default(content.contentId)}</div></td> + <td class="label">Content</td> + <td>${content.contentName?default(content.contentId)}</td> <input type="hidden" name="contentId" value="${contentId}"/> </tr> <tr><td colspan="2"> </td></tr> <tr> - <td><div class="tableheadtext">Path Alias</div></td> - <td><input type="text" class="inputBox" name="pathAlias" value=""></td> + <td class="label">Path Alias</td> + <td><input type="text" name="pathAlias" value=""></td> </tr> <tr> - <td><div class="tableheadtext">Map Key</div></td> - <td><input type="text" class="inputBox" name="mapKey" value=""></td> + <td class="label">Map Key</td> + <td><input type="text" name="mapKey" value=""></td> </tr> <tr> <td colspan="2" align="center"><input id="submit" type="button" onclick="javascript:pathSave('${contentId}');" class="smallSubmit" value="Create"/></td> Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteForms.xml?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteForms.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteForms.xml Fri Feb 1 05:48:17 2008 @@ -22,7 +22,8 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <!-- WebSite Forms --> - <form name="EditWebSite" type="single" target="updateWebSite" title="" default-map-name="webSite"> + <form name="EditWebSite" type="single" target="updateWebSite" title="" default-map-name="webSite" + header-row-style="header-row" default-table-style="basic-table"> <alt-target use-when="webSite==null" target="createWebSite"/> <auto-fields-service service-name="updateWebSite" map-name=""/> @@ -47,7 +48,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field> </form> - <form name="ListWebSites" target="" title="" type="list" list-name="webSites" paginate-target="FindWebSite" paginate="true"> + <form name="ListWebSites" target="" title="" type="list" list-name="webSites" paginate-target="FindWebSite" paginate="true" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="webSiteId" title="${uiLabelMap.CommonId}" widget-style="buttontext"> <hyperlink description="${webSiteId}" target="EditWebSite?webSiteId=${webSiteId}" also-hidden="false"/> </field> @@ -56,7 +58,7 @@ <!-- WebSite Content Forms --> <form name="ListWebSiteContent" type="list" list-name="webSiteContent" target="UpdateWebSiteContent" - paginate-target="ListWebSiteContent" paginate="true"> + paginate-target="ListWebSiteContent" paginate="true" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateWebSiteRole"/> <field name="sequenceNum"><hidden/></field> <field name="roleTypeId"><hidden/></field> @@ -94,10 +96,11 @@ <sort-field name="deleteLink"/> </sort-order> </form> - <form name="CreateWebSiteContent" type="single" target="CreateWebSiteContent" title="" default-map-name="webSite"> + <form name="CreateWebSiteContent" type="single" target="CreateWebSiteContent" title="" default-map-name="webSite" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createWebSiteContent"/> <field name="webSiteId" map-name="webSite"><display also-hidden="true"/></field> - <field name="contentId" title="Content Id"><lookup target-form-name="LookupContent"/></field> + <field name="contentId"><lookup target-form-name="LookupContent"/></field> <field name="webSiteContentTypeId"> <drop-down allow-empty="false"> <entity-options entity-name="WebSiteContentType" description="${description}"> @@ -109,7 +112,8 @@ </form> <!-- WebSite Role Forms --> - <form name="CreateWebSiteRole" type="single" target="createWebSiteRole" title=""> + <form name="CreateWebSiteRole" type="single" target="createWebSiteRole" title="" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createWebSiteRole"/> <field name="partyId"><lookup target-form-name="LookupPartyName"/></field> <field name="webSiteId" map-name="webSite"><hidden/></field> @@ -122,7 +126,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> </form> - <form name="UpdateWebSiteRole" type="list" target="updateWebSiteRole" title="" list-name="webSiteRoleDatas"> + <form name="UpdateWebSiteRole" type="list" target="updateWebSiteRole" title="" list-name="webSiteRoleDatas" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateWebSiteRole" map-name="webSiteRole"/> <field name="webSiteId"><hidden/></field> <!-- three possibilities for the Party: person, partyGroup, neither... just print everything and if it's empty, no biggie --> @@ -141,7 +146,8 @@ description="${uiLabelMap.CommonDelete}" also-hidden="false"/> </field> </form> - <form name="AutoCreateWebsiteContent" type="single" target="autoCreateWebSiteContent" title=""> + <form name="AutoCreateWebsiteContent" type="single" target="autoCreateWebSiteContent" title="" + header-row-style="header-row" default-table-style="basic-table"> <field name="webSiteId"><hidden/></field> <field name="webSiteContentTypeId"> <check all-checked="false"> @@ -152,4 +158,4 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> </form> -</forms> +</forms> \ No newline at end of file Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteTabBar.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteTabBar.ftl?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteTabBar.ftl (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteTabBar.ftl Fri Feb 1 05:48:17 2008 @@ -17,15 +17,17 @@ under the License. --> -<#assign unselectedClassName = "tabButton"> -<#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}> +<#assign selected = tabButtonItem?default("void")> <#if webSite?has_content> - <div class='tabContainer'> - <a href="<@ofbizUrl>EditWebSite?webSiteId=${webSite.webSiteId}</@ofbizUrl>" class="${selectedClassMap.EditWebSite?default(unselectedClassName)}">${uiLabelMap.ContentWebSite}</a> - <a href="<@ofbizUrl>ListWebSiteContent?webSiteId=${webSite.webSiteId}</@ofbizUrl>" class="${selectedClassMap.ListWebSiteContent?default(unselectedClassName)}">${uiLabelMap.ContentContent}</a> - <a href="<@ofbizUrl>EditWebSiteParties?webSiteId=${webSite.webSiteId}</@ofbizUrl>" class="${selectedClassMap.EditWebSiteParties?default(unselectedClassName)}">${uiLabelMap.PartyParties}</a> - <a href="<@ofbizUrl>WebSiteCms?webSiteId=${webSite.webSiteId}</@ofbizUrl>" class="${selectedClassMap.WebSiteCMS?default(unselectedClassName)}">${uiLabelMap.ContentCMS}</a> - </div> - <div><span class="head1">${uiLabelMap.ContentWebSite} </span><span class="head2"><#if (webSite.siteName)?has_content>"${webSite.siteName}"</#if> [${uiLabelMap.CommonId}:${webSite.webSiteId}]</span></div> -</#if> +<div class="button-bar tab-bar"> + <ul> + <li<#if selected == "EditWebSite"> class="selected"</#if>><a href="<@ofbizUrl>EditWebSite?webSiteId=${webSite.webSiteId}</@ofbizUrl>">${uiLabelMap.ContentWebSite}</a></li> + <li<#if selected == "ListWebSiteContent"> class="selected"</#if>><a href="<@ofbizUrl>ListWebSiteContent?webSiteId=${webSite.webSiteId}</@ofbizUrl>">${uiLabelMap.ContentContent}</a></li> + <li<#if selected == "EditWebSiteParties"> class="selected"</#if>><a href="<@ofbizUrl>EditWebSiteParties?webSiteId=${webSite.webSiteId}</@ofbizUrl>">${uiLabelMap.PartyParties}</a></li> + <li<#if selected == "WebSiteCMS"> class="selected"</#if>><a href="<@ofbizUrl>WebSiteCms?webSiteId=${webSite.webSiteId}</@ofbizUrl>">${uiLabelMap.ContentCMS}</a></li> + <br class="clear"/> + </ul> +</div> +<div class="head1">${uiLabelMap.ContentWebSite} <#if (webSite.siteName)?has_content>${webSite.siteName}</#if> [${uiLabelMap.CommonId} ${webSite.webSiteId}]</div> +</#if> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/LookupScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/LookupScreens.xml?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/LookupScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/LookupScreens.xml Fri Feb 1 05:48:17 2008 @@ -29,7 +29,7 @@ </condition> <actions> <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> - <set field="title" value="Lookup List Layout"/> + <set field="title" value="${uiLabelMap.PageTitleLookupListLayout}"/> <set field="queryString" from-field="result.queryString"/> <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> @@ -37,7 +37,20 @@ <widgets> <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="lookupListLayout" location="component://content/webapp/content/lookup/LookupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleLookupListLayout}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="lookupListLayout" location="component://content/webapp/content/lookup/LookupForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -52,7 +65,7 @@ </condition> <actions> <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> - <set field="title" value="Lookup List Layout"/> + <set field="title" value="${uiLabelMap.PageTitleLookupSubContent}"/> <set field="queryString" from-field="result.queryString"/> <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> @@ -60,11 +73,24 @@ <widgets> <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="lookupDataResourceContent" location="component://content/webapp/content/lookup/LookupForms.xml"/> - <include-form name="listLookupDataResourceContent" location="component://content/webapp/content/lookup/LookupForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleLookupSubContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="lookupDataResourceContent" location="component://content/webapp/content/lookup/LookupForms.xml"/> + <include-form name="listLookupDataResourceContent" location="component://content/webapp/content/lookup/LookupForms.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/SurveyScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/SurveyScreens.xml?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/SurveyScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/SurveyScreens.xml Fri Feb 1 05:48:17 2008 @@ -35,10 +35,34 @@ <if-has-permission permission="CONTENTMGR" action="_VIEW"/> </condition> <widgets> - <container><label style="head1">${uiLabelMap.PageTitleFindSurvey}</label></container> - <container><link text="${uiLabelMap.SurveyCreate}" target="EditSurvey" style="buttontext"/></container> - <include-form name="FindSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="ListFindSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleFindSurvey}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container><link text="${uiLabelMap.SurveyCreate}" target="EditSurvey" style="buttontext"/></container> + <include-form name="FindSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleFindSurvey}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListFindSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> </widgets> + </section> + </container> + </container> </widgets> <fail-widgets> <label style="head3">${uiLabelMap.WorkEffortViewPermissionError}</label> @@ -101,15 +125,39 @@ <if-empty field-name="survey"/> </condition> <widgets> - <container><label style="head1">${uiLabelMap.PageTitleCreateSurvey}</label></container> - <include-form name="EditSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleCreateSurvey}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </widgets> <fail-widgets> - <container><label style="head1">${uiLabelMap.PageTitleEditSurvey}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> - <include-form name="EditSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="BuildSurveyFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> - </fail-widgets> - </section> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleEditSurvey} ${uiLabelMap.SurveySurveyId} ${surveyId}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <include-form name="BuildSurveyFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + </fail-widgets> + </section> </decorator-section> </decorator-screen> </widgets> @@ -132,20 +180,56 @@ <widgets> <decorator-screen name="CommonSurveyDecorator"> <decorator-section name="body"> - <container><label style="head1">${uiLabelMap.PageTitleEditSurveyMultiResps}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> + <container><label style="head1">${uiLabelMap.PageTitleEditSurveyMultiResps} ${uiLabelMap.SurveySurveyId} ${surveyId}</label></container> <iterate-section entry-name="surveyMultiResp" list-name="surveyMultiRespList"> <section> <widgets> - <container><label style="head2">${uiLabelMap.SurveyEditSurveyMultiResp}</label></container> - <include-form name="EditSurveyMultiResp" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="ListSurveyMultiRespColumns" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <container><label style="tableheadtext">${uiLabelMap.SurveyAddSurveyMultiRespColumn}</label></container> - <include-form name="AddSurveyMultiRespColumn" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.SurveyEditSurveyMultiResp}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditSurveyMultiResp" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <include-form name="ListSurveyMultiRespColumns" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.SurveyAddSurveyMultiRespColumn}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddSurveyMultiRespColumn" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </widgets> </section> </iterate-section> - <container><label style="head2">${uiLabelMap.SurveyAddSurveyMultiResp}</label></container> - <include-form name="AddSurveyMultiResp" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.SurveyAddSurveyMultiResp}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddSurveyMultiResp" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -154,7 +238,7 @@ <screen name="EditSurveyQuestions"> <section> <actions> - + <set field="titleProperty" value="PageTitleEditSurveyQuestions"/> <set field="tabButtonItem" value="SurveyQuestions"/> <set field="labelTitleProperty" value="PageTitleEditSurveyQuestions"/> @@ -167,7 +251,6 @@ <widgets> <decorator-screen name="CommonSurveyDecorator"> <decorator-section name="body"> - <container><label style="head1">${uiLabelMap.PageTitleEditSurveyQuestions}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> <platform-specific><html><html-template location="component://content/webapp/content/survey/EditSurveyQuestions.ftl"/></html></platform-specific> <!-- This page is a bit of a mess, so will cleanup/modernize later... @@ -175,9 +258,34 @@ <include-form name="CreateSurveyQuestion" location="component://content/webapp/content/survey/SurveyForms.xml"/> --> - <container><label style="head1">${uiLabelMap.PageTitleEditSurveyPages}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> - <include-form name="ListSurveyPages" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="AddSurveyPage" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleListSurveyPages} ${uiLabelMap.SurveySurveyId} ${surveyId}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListSurveyPages" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleEditSurveyPages} ${uiLabelMap.SurveySurveyId} ${surveyId}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AddSurveyPage" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -200,11 +308,49 @@ <widgets> <decorator-screen name="CommonSurveyDecorator"> <decorator-section name="body"> - <container><link text="${uiLabelMap.SurveyCreateResponse}" target="EditSurveyResponse?surveyId=${surveyId}" style="buttontext"/></container> - <container><label style="head1">${uiLabelMap.PageTitleFindSurveyResponse}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> - <include-form name="FindSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="BuildSurveyResponseFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="ListFindSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleFindSurveyResponse} ${uiLabelMap.SurveySurveyId} ${surveyId}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container><link text="${uiLabelMap.SurveyCreateResponse}" target="EditSurveyResponse?surveyId=${surveyId}" style="buttontext"/></container> + <include-form name="FindSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.SurveyBuildRespondeFromPDF}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="BuildSurveyResponseFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleListSurveyResponse}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListFindSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -226,12 +372,24 @@ <decorator-screen name="CommonSurveyDecorator"> <decorator-section name="body"> <container><link text="${uiLabelMap.SurveyCreateResponse}" target="EditSurveyResponse?surveyId=${surveyId}" style="buttontext"/></container> - <section> - <condition><not><if-empty field-name="parameters.rootContentId"/></not></condition> - <widgets><container><link text="Go Back to CompDoc Root [${parameters.rootContentId}]" target="ViewCompDocInstanceTree?rootContentId=${parameters.rootContentId}" style="buttontext"/></container></widgets> - </section> - <container><label style="head1">${uiLabelMap.PageTitleViewSurveyResponses}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> - <platform-specific><html><html-template location="component://content/webapp/content/survey/ViewSurveyResponses.ftl"/></html></platform-specific> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleViewSurveyResponses} ${uiLabelMap.SurveySurveyId} ${surveyId}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <section> + <condition><not><if-empty field-name="parameters.rootContentId"/></not></condition> + <widgets><container><link text="Go Back to CompDoc Root [${parameters.rootContentId}]" target="ViewCompDocInstanceTree?rootContentId=${parameters.rootContentId}" style="buttontext"/></container></widgets> + </section> + <platform-specific><html><html-template location="component://content/webapp/content/survey/ViewSurveyResponses.ftl"/></html></platform-specific> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -256,7 +414,7 @@ <decorator-section name="body"> <container><label style="head1">${uiLabelMap.PageTitleEditSurveyResponse}, ${uiLabelMap.SurveyResponse}: ${parameters.surveyResponseId}, ${uiLabelMap.SurveySurveyId}: ${surveyId}</label></container> <platform-specific><html><html-template location="component://content/webapp/content/survey/EditSurveyResponse.ftl"/></html></platform-specific> - <include-form name="BuildSurveyResponseFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <include-form name="BuildSurveyResponseFromPdf" location="component://content/webapp/content/survey/SurveyForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -278,8 +436,21 @@ <widgets> <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="lookupSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="listLookupSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleLookupSurvey}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="lookupSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <include-form name="listLookupSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/> + </widgets> + </section> + </container> + </container> </decorator-section> </decorator-screen> </widgets> @@ -300,11 +471,24 @@ <widgets> <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> <decorator-section name="body"> - <include-form name="lookupSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> - <include-form name="listLookupSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleLookupSurveyResponse}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="lookupSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/> + <include-form name="listLookupSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.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/WebSiteScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/WebSiteScreens.xml?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/WebSiteScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/WebSiteScreens.xml Fri Feb 1 05:48:17 2008 @@ -39,9 +39,21 @@ <if-has-permission permission="CONTENTMGR" action="_VIEW"/> </condition> <widgets> - <container><label style="head1">${uiLabelMap.PageTitleListWebSite}</label></container> - <container><link text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.ContentWebSite}" target="EditWebSite" style="buttontext"/></container> - <include-form name="ListWebSites" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleListWebSite}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <container><link text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.ContentWebSite}" target="EditWebSite" style="buttontext"/></container> + <include-form name="ListWebSites" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> + </container> </widgets> <fail-widgets> <label style="head3">${uiLabelMap.ContentViewPermissionError}</label> @@ -70,7 +82,6 @@ <container style="widget-container"> <link text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.ContentWebSite}" target="EditWebSite" style="buttontext"/> </container> - <decorator-section-include name="body"/> </widgets> <fail-widgets> @@ -97,8 +108,20 @@ <decorator-section name="body"> <section> <widgets> - <container><label style="head1">${uiLabelMap.PageTitleEditWebSite}</label></container> - <include-form name="EditWebSite" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleEditWebSite}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="EditWebSite" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> + </container> </widgets> </section> </decorator-section> @@ -125,16 +148,47 @@ <decorator-section name="body"> <section> <widgets> - <container style="widget-container"> - <label style="head1">${uiLabelMap.PageTitleWebSiteContent}</label> - <include-form name="ListWebSiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleWebSiteContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="ListWebSiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> </container> - <container style="widget-container"> - <include-form name="CreateWebSiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleCreateWebSiteContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="CreateWebSiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> </container> - <container style="widget-container"> - <label style="head2">${uiLabelMap.PageTitleAutoCreateContentPublishPoints}</label> - <include-form name="AutoCreateWebsiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleAutoCreateContentPublishPoints}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="AutoCreateWebsiteContent" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> </container> </widgets> </section> @@ -159,11 +213,34 @@ <decorator-section name="body"> <section> <widgets> - <container style="widget-container"> - <label style="head1">${uiLabelMap.PageTitleEditWebSiteParties}</label> - <include-form name="UpdateWebSiteRole" location="component://content/webapp/content/website/WebSiteForms.xml"/> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleEditWebSiteParties}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="UpdateWebSiteRole" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> + </container> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleCreateWebSiteParties}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <include-form name="CreateWebSiteRole" location="component://content/webapp/content/website/WebSiteForms.xml"/> + </widgets> + </section> + </container> </container> - <include-form name="CreateWebSiteRole" location="component://content/webapp/content/website/WebSiteForms.xml"/> </widgets> </section> </decorator-section> @@ -195,12 +272,10 @@ </condition> <widgets> <container id="cmsnav" style="left-border"> - <include-screen name="WebSiteCMSNav"/> + <include-screen name="WebSiteCMSNav"/> </container> <container id="cmsmain" style="nocolumns"> - <container id="cmscontent"> - <include-screen name="WebSiteCMSContent"/> - </container> + <include-screen name="WebSiteCMSContent"/> </container> </widgets> <fail-widgets> @@ -224,11 +299,24 @@ <script location="component://content/webapp/content/WEB-INF/actions/website/WebSitePublishPoint.bsh"/> </actions> <widgets> - <platform-specific> - <html> - <html-template location="component://content/webapp/content/website/WebSiteCMSNav.ftl"/> - </html> - </platform-specific> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleWebSiteCMSNav}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <platform-specific> + <html> + <html-template location="component://content/webapp/content/website/WebSiteCMSNav.ftl"/> + </html> + </platform-specific> + </widgets> + </section> + </container> + </container> </widgets> </section> </screen> @@ -276,11 +364,24 @@ </entity-and> </actions> <widgets> - <platform-specific> - <html> - <html-template location="component://content/webapp/content/website/WebSiteCMSContent.ftl"/> - </html> - </platform-specific> + <container style="screenlet"> + <container style="screenlet-title-bar"> + <container style="head4"> + <label text="${uiLabelMap.PageTitleWebSiteCMSContent}"/> + </container> + </container> + <container style="screenlet-body"> + <section> + <widgets> + <platform-specific> + <html> + <html-template location="component://content/webapp/content/website/WebSiteCMSContent.ftl"/> + </html> + </platform-specific> + </widgets> + </section> + </container> + </container> </widgets> </section> </screen> @@ -350,4 +451,4 @@ </widgets> </section> </screen> -</screens> +</screens> \ No newline at end of file Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentForms.xml?rev=617499&r1=617498&r2=617499&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/content/ContentForms.xml (original) +++ ofbiz/trunk/applications/content/widget/content/ContentForms.xml Fri Feb 1 05:48:17 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"> - <form name="FindContent" target="findContent" title="" type="single"> + <form name="FindContent" target="findContent" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <!--auto-fields-entity entity-name="Content" default-field-type="find" /--> <field name="noConditionFind"><hidden value="Y"/></field> <field name="contentId"><text-find default-option="contains" ignore-case="true"/></field> @@ -59,7 +60,8 @@ <field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListContent" list-name="listIt" target="" title="" type="list" paginate-target="findContent"> + <form name="ListContent" list-name="listIt" target="" title="" type="list" paginate-target="findContent" + 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"/> @@ -92,9 +94,10 @@ </field> </form> - <form name="LookupContent" target="LookupContent" title="" type="single" extends="FindContent"> - </form> - <form name="ListLookupContent" extends="ListContent" type="list" list-name="listIt" paginate-target="LookupContent"> + <form name="LookupContent" target="LookupContent" title="" type="single" extends="FindContent" header-row-style="header-row" default-table-style="basic-table"/> + + <form name="ListLookupContent" extends="ListContent" type="list" list-name="listIt" paginate-target="LookupContent" + 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"/> @@ -109,7 +112,8 @@ <field name="createdByUserLogin"><ignored/></field> </form> - <form name="EditContent" target="updateContent" title="" type="single" default-map-name="currentValue"> + <form name="EditContent" target="updateContent" 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"/> @@ -192,7 +196,8 @@ </form --> <!-- Content Lookup forms --> - <form name="mruLookupContent" default-entity-name="Content" list-name="mruList" target="" title="" type="list"> + <form name="mruLookupContent" default-entity-name="Content" 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="${contentId}" target="javascript:set_value('${contentId}')"/> @@ -201,7 +206,8 @@ <field name="description" title="Description" widget-style="buttontext"><display/></field> </form> <!-- ContentAssoc forms --> - <form name="EditContentAssoc" target="updateContentAssoc" title="" type="single"> + <form name="EditContentAssoc" target="updateContentAssoc" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <actions> <entity-one entity-name="ContentAssoc" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -217,7 +223,8 @@ <field name="fromDate" widget-style="tabletext"><display/></field> <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="AddContentAssoc" target="createContentAssoc" title="" type="single"> + <form name="AddContentAssoc" target="createContentAssoc" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentAssoc"/> <field name="contentId" widget-style="tabletext"><display description="${contentId}"/></field> <field name="contentIdTo" map-name="currentValue"> @@ -241,7 +248,8 @@ <field name="lastModifiedDate"><hidden/></field> <field name="lastModifiedByUserLogin"><hidden/></field> </form> - <form name="ListContentAssocFrom" target="updateContentAssoc" type="list"> + <form name="ListContentAssocFrom" target="updateContentAssoc" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentAssoc" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -269,7 +277,8 @@ <submit button-type="text-link"/> </field> </form> - <form name="ListContentAssocTo" target="EditContentAssoc" type="list" extends="ListContentAssocFrom"> + <form name="ListContentAssocTo" target="EditContentAssoc" type="list" extends="ListContentAssocFrom" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentAssoc" use-cache="true"> <field-map env-name="contentId" field-name="contentIdTo" /> @@ -279,7 +288,8 @@ <!-- ContentRole forms --> - <form name="AddContentRole" target="addContentRole" title="" type="single"> + <form name="AddContentRole" target="addContentRole" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentRole"/> <field name="contentId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" > <lookup target-form-name="LookupContent" /> @@ -296,11 +306,13 @@ <submit button-type="button"/> </field> </form> - <form name="EditContentRole" target="Edit${contentRoleTarget}ContentRole" title="" type="single"> + <form name="EditContentRole" target="Edit${contentRoleTarget}ContentRole" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentRole"/> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListContentRole" target="update${contentRoleTarget}ContentRole" title="" type="list"> + <form name="ListContentRole" target="update${contentRoleTarget}ContentRole" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentRole" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -318,7 +330,8 @@ </form> <!-- ContentPurpose forms --> - <form name="AddContentPurpose" target="addContentPurpose" title="" type="single"> + <form name="AddContentPurpose" target="addContentPurpose" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentPurpose"/> <field name="contentId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" ><lookup target-form-name="LookupContent"/></field> <field name="contentPurposeTypeId"> @@ -328,7 +341,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListContentPurpose" target="updateContentPurpose" title="" type="list"> + <form name="ListContentPurpose" target="updateContentPurpose" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentPurpose" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -342,14 +356,16 @@ </form> <!-- ContentAttribute forms --> - <form name="AddContentAttribute" target="addContentAttribute" title="" type="single"> + <form name="AddContentAttribute" target="addContentAttribute" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentAttribute"/> <field name="contentId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" > <lookup target-form-name="LookupContent" /> </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListContentAttribute" target="updateContentAttribute" title="" type="list"> + <form name="ListContentAttribute" target="updateContentAttribute" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentAttribute" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -364,7 +380,8 @@ </form> <!-- ContentMetaData forms --> - <form name="AddContentMetaData" target="addContentMetaData" title="" type="single"> + <form name="AddContentMetaData" target="addContentMetaData" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createContentMetaData"/> <field name="contentId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" > <lookup target-form-name="LookupContent" /> @@ -376,7 +393,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListContentMetaData" target="updateContentMetaData" title="" type="list"> + <form name="ListContentMetaData" target="updateContentMetaData" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="ContentMetaData" use-cache="true"> <field-map env-name="contentId" field-name="contentId" /> @@ -392,14 +410,16 @@ </form> <!-- Person Lookup forms --> - <form name="mruLookupPerson" list-name="mruList" target="" title="" type="list"> + <form name="mruLookupPerson" list-name="mruList" target="" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="partyId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> <hyperlink also-hidden="false" target-type="plain" description="${partyId}" target="javascript:set_value('${partyId}')"/> </field> <field name="firstName" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"><display/></field> <field name="lastName" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"><display/></field> </form> - <form name="mruLookupPartyAndUserLoginAndPerson" list-name="mruList" target="" title="" type="list"> + <form name="mruLookupPartyAndUserLoginAndPerson" list-name="mruList" target="" title="" type="list" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="partyId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> <hyperlink also-hidden="false" target-type="plain" description="${partyId}" target="javascript:set_value('${partyId}', '${userLoginId}')"/> </field> @@ -408,7 +428,8 @@ </form> <!-- ContentWorkEffort forms --> - <form name="AddWorkEffortContent" target="createWorkEffortContent" title="" type="single"> + <form name="AddWorkEffortContent" target="createWorkEffortContent" title="" type="single" + header-row-style="header-row" default-table-style="basic-table"> <auto-fields-service service-name="createWorkEffortContent"/> <field name="contentId"><hidden value="${parameters.contentId}"/></field> <field name="workEffortId"> @@ -423,7 +444,8 @@ </field> <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="ListWorkEffortContents" type="list" target="updateWorkEffortContent" list-name="workEffortContents"> + <form name="ListWorkEffortContents" type="list" target="updateWorkEffortContent" list-name="workEffortContents" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="WorkEffortContent" use-cache="true" list-name="workEffortContents"> <field-map env-name="contentId" field-name="contentId" /> @@ -443,4 +465,4 @@ <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortContent?workEffortContentTypeId=${workEffortContentTypeId}&fromDate=${fromDate}&workEffortId=${workEffortId}&contentId=${contentId}"/> </field> </form> -</forms> +</forms> \ No newline at end of file |
Free forum by Nabble | Edit this page |