svn commit: r918371 - in /ofbiz/trunk/specialpurpose/ebaystore/widget: CommonScreens.xml EbaySellingManagerForms.xml EbayStoreForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r918371 - in /ofbiz/trunk/specialpurpose/ebaystore/widget: CommonScreens.xml EbaySellingManagerForms.xml EbayStoreForms.xml

hansbak-2
Author: hansbak
Date: Wed Mar  3 09:19:43 2010
New Revision: 918371

URL: http://svn.apache.org/viewvc?rev=918371&view=rev
Log:
Ebaystore update:
- changed to show the account name instead of the ebay userid at the top of the pages.
- adding a drop down box on the top of all pages allowing the user to swich the account

Modified:
    ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml
    ofbiz/trunk/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml
    ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml

Modified: ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml?rev=918371&r1=918370&r2=918371&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml Wed Mar  3 09:19:43 2010
@@ -65,9 +65,13 @@
                                                 <field-map field-name="userLoginId" from-field="result.userLoginId"/>
                                             </entity-one>
                                             <set field="parameters.partyId" from-field="ebayUser.partyId" global="true"/>
+                                            <entity-one value-field="person" entity-name="Person">
+                                               <field-map field-name="partyId" from-field="parameters.partyId"/>
+                                            </entity-one>
                                         </actions>
                                         <widgets>
-                                            <label text="${uiLabelMap.EbayAccount} : ${userLoginId}" style="h1"></label>
+                                           <include-form location="component://ebaystore/widget/EbayStoreForms.xml" name="EbayAccountSelection"/>
+                                              <label text="${uiLabelMap.EbayAccount} : ${person.firstName} ${person.lastName}" style="h1"></label>
                                             <include-menu name="EbayStoreFunctionTabBar"  location="component://ebaystore/widget/EbayStoreMenus.xml"/>
                                         </widgets>
                                     </section>

Modified: ofbiz/trunk/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml?rev=918371&r1=918370&r2=918371&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml Wed Mar  3 09:19:43 2010
@@ -278,11 +278,11 @@
             </radio>
         </field>
         <field name="headerLabel" title=" " encode-output="false"><display type="text" description="&lt;br/&gt;&lt;b&gt;Your stored positive feedback comments.&lt;/b&gt;"></display></field>
-        <field name="comment_1" title="comments" position="1"><text size="80"></text></field>
-        <field name="comment_3" title=" " position="2"><text size="50"></text></field>
-        <field name="comment_2" title=" " position="1"><text size="80"></text></field>
-        <field name="comment_5" title=" " position="2"><text size="50"></text></field>
-        <field name="comment_4" title=" " position="1"><text size="80"></text></field>
+        <field name="comment_1" title="comments" position="1"><text size="60"></text></field>
+        <field name="comment_3" title=" " position="2"><text size="40"></text></field>
+        <field name="comment_2" title=" " position="1"><text size="60"></text></field>
+        <field name="comment_5" title=" " position="2"><text size="40"></text></field>
+        <field name="comment_4" title=" " position="1"><text size="60"></text></field>
         <field name="submitButton" title="${uiLabelMap.CommonApply}"><submit button-type="button"/></field>
     </form>
     <!-- Automatically send a Feedback Reminder email if feedback has not been received. Please choose how many days after shipping you want this email sent? -->

Modified: ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml?rev=918371&r1=918370&r2=918371&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/widget/EbayStoreForms.xml Wed Mar  3 09:19:43 2010
@@ -31,6 +31,17 @@
         </field>
         <field name="submitButton" ><submit button-type="button"/></field>
     </form>
+    <form name="EbayAccountSelection" type="single" list-name="ebayAccountList"  target="getStoreDetail"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <actions>
+            <script location="component://ebaystore/webapp/ebaystore/WEB-INF/actions/store/StoreAccount.groovy"/>
+        </actions>
+        <field name="productStoreId" title="Account" action="document.EbayAccountSelection.submit()" event="onchange">
+            <drop-down current="selected" allow-empty="true">
+                <list-options list-name="stores"  description="${firstName} ${lastName}" key-name="productStoreId"/>
+            </drop-down>
+        </field>
+    </form>
     <form name="EbayAccountList" type="single" list-name="ebayAccountList"  target="getStoreDetail"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>