You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/06/29 08:23:51 UTC

svn commit: r672605 - in /ofbiz/trunk/applications: accounting/widget/ap/Menus.xml content/webapp/content/website/WebSiteCMSMeta.ftl content/webapp/content/website/WebSiteCMSPathAlias.ftl ecommerce/widget/blog/BlogMenus.xml

Author: jleroux
Date: Sat Jun 28 23:23:51 2008
New Revision: 672605

URL: http://svn.apache.org/viewvc?rev=672605&view=rev
Log:
Delete references to the tabButton style.
  Change all
default-selected-style="tabButtonSelected"
 to
default-selected-style="selected".

>From  Menu Widget Refactor Guidelines

Modified:
    ofbiz/trunk/applications/accounting/widget/ap/Menus.xml
    ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl
    ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl
    ofbiz/trunk/applications/ecommerce/widget/blog/BlogMenus.xml

Modified: ofbiz/trunk/applications/accounting/widget/ap/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/Menus.xml?rev=672605&r1=672604&r2=672605&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ap/Menus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ap/Menus.xml Sat Jun 28 23:23:51 2008
@@ -35,28 +35,28 @@
             <link target="${checkLoginUrl}"/>
         </menu-item>
     </menu>
-    <menu name="ApMainAgreementMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainAgreementMenu" type="simple" default-selected-style="selected">
         <menu-item name="findAgreement" title="${uiLabelMap.AccountingAgreementAvailable}"><link target="FindAgreement"></link></menu-item>
     </menu>
-    <menu name="ApMainVendorMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainVendorMenu" type="simple" default-selected-style="selected">
         <menu-item name="listVendors" title="${uiLabelMap.CommonShowAll} ${uiLabelMap.PartyVendor}"><link target="findVendors"></link></menu-item>
     </menu>
-    <menu name="ApMainReportMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainReportMenu" type="simple" default-selected-style="selected">
         <menu-item name="listReport" title="${uiLabelMap.CommonShowAll} ${uiLabelMap.AccountingReports}"><link target="listReports"></link></menu-item>
     </menu>
-    <menu name="ApMainPaymentTypeMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainPaymentTypeMenu" type="simple" default-selected-style="selected">
         <menu-item name="findPayment"  title="${uiLabelMap.AccountingShowPayments} ${paymentType.description}"><link target="findPayments?lookupFlag=Y&amp;paymentTypeId=${paymentType.paymentTypeId}"></link></menu-item>
     </menu>
-    <menu name="ApMainPaymentMethodTypeMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainPaymentMethodTypeMenu" type="simple" default-selected-style="selected">
         <menu-item name="findPayment"  title="${uiLabelMap.AccountingShowPayments} ${paymentMethodType.description}"><link target="findPayments?lookupFlag=Y&amp;paymentMethodTypeId=${paymentMethodType.paymentMethodTypeId}"></link></menu-item>
     </menu>
-    <menu name="ApMainPaymentStatusMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainPaymentStatusMenu" type="simple" default-selected-style="selected">
         <menu-item name="findPayment"  title="${uiLabelMap.AccountingShowPayments}  ${paymentsStatus.description}"><link target="findPayments?lookupFlag=Y&amp;statusId=${paymentsStatus.statusId}"></link></menu-item>
     </menu>
-    <menu name="ApMainInvoiceTypeMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainInvoiceTypeMenu" type="simple" default-selected-style="selected">
         <menu-item name="findInvoice"  title="${uiLabelMap.AccountingShowInvoices} ${invoiceType.description}"><link target="findInvoices?lookupFlag=Y&amp;invoiceTypeId=${invoiceType.invoiceTypeId}"></link></menu-item>
     </menu>
-    <menu name="ApMainInvoiceStatusMenu" type="simple" default-selected-style="tabButtonSelected">
+    <menu name="ApMainInvoiceStatusMenu" type="simple" default-selected-style="selected">
         <menu-item name="findInvoice"  title="${uiLabelMap.AccountingShowInvoices} ${invoicesStatus.description}"><link target="findInvoices?lookupFlag=Y&amp;statusId=${invoicesStatus.statusId}"></link></menu-item>
     </menu>
 </menus>
\ No newline at end of file

Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl?rev=672605&r1=672604&r2=672605&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl Sat Jun 28 23:23:51 2008
@@ -31,7 +31,7 @@
     <#if (content?has_content)>
         <a href="javascript:void(0);" onclick="javascript:callEditor(true, '${content.contentId}', '', 'ELECTRONIC_TEXT');" class="tabButton">Quick Sub-Content</a>
         <a href="javascript:void(0);" onclick="javascript:callPathAlias('${content.contentId}');" class="tabButton">Path Alias</a>
-        <a href="javascript:void(0);" onclick="javascript:callMetaInfo('${content.contentId}');" class="tabButtonSelected">Meta Tags</a>
+        <a href="javascript:void(0);" onclick="javascript:callMetaInfo('${content.contentId}');" class="selected">Meta Tags</a>
     </#if>
 </div>
 

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=672605&r1=672604&r2=672605&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl (original)
+++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl Sat Jun 28 23:23:51 2008
@@ -21,7 +21,7 @@
 <div id="cmsmenu" style="margin-bottom: 8px;">
     <#if (content?has_content)>
         <a href="javascript:void(0);" onclick="javascript:callEditor(true, '${content.contentId}', '', 'ELECTRONIC_TEXT');" class="tabButton">Quick Sub-Content</a>
-        <a href="javascript:void(0);" onclick="javascript:callPathAlias('${content.contentId}');" class="tabButtonSelected">Path Alias</a>
+        <a href="javascript:void(0);" onclick="javascript:callPathAlias('${content.contentId}');" class="selected">Path Alias</a>
         <a href="javascript:void(0);" onclick="javascript:callMetaInfo('${content.contentId}');" class="tabButton">Meta Tags</a>
     </#if>
 </div>

Modified: ofbiz/trunk/applications/ecommerce/widget/blog/BlogMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/widget/blog/BlogMenus.xml?rev=672605&r1=672604&r2=672605&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/widget/blog/BlogMenus.xml (original)
+++ ofbiz/trunk/applications/ecommerce/widget/blog/BlogMenus.xml Sat Jun 28 23:23:51 2008
@@ -19,7 +19,7 @@
   -->
 
 <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">        
-    <menu name="view_edit" default-title-style="tabButton" default-selected-style="tabButtonSelected" default-menu-item-name="all" orientation="horizontal" menu-width="100%" default-tooltip-style="tabletext" default-widget-style="tabButton" menu-container-style="blogmenuwrapper" title="" type="simple">
+    <menu name="view_edit" default-title-style="tabButton" default-selected-style="selected" default-menu-item-name="all" orientation="horizontal" menu-width="100%" default-tooltip-style="tabletext" default-widget-style="tabButton" menu-container-style="blogmenuwrapper" title="" type="simple">
         <menu-item name="view" title="View">
             <!--<link  text="View" target="ViewBlog?articleContentId=${blog.contentId}&amp;ownerContentId=${blog.ownerContentId}" style="tabButton" />-->
             <link text="View" target="ViewArticle?articleContentId=${blog.contentId}&amp;blogContentId=${blog.contentIdStart}" style="buttontext" url-mode="inter-app"/>