[Laszlo-checkins] r11324 - openlaszlo/trunk/demos/amazon

jcrowley@openlaszlo.org jcrowley at openlaszlo.org
Thu Oct 2 13:11:40 PDT 2008


Author: jcrowley
Date: 2008-10-02 13:11:02 -0700 (Thu, 02 Oct 2008)
New Revision: 11324

Modified:
   openlaszlo/trunk/demos/amazon/address.lzx
   openlaszlo/trunk/demos/amazon/creditcard.lzx
   openlaszlo/trunk/demos/amazon/shoppinglist.lzx
Log:
Change 20081001-laszlo-4 by laszlo at T43-L3XEXMW on 2008-10-01 20:33:29 EDT
    in /home/laszlo/src/svn/openlaszlo/trunk-bigboss
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: A couple Amazon fixes

New Features:

Bugs Fixed: LPP-7102 - SWF8/9 and DHTML: Amazon: Album
                cover images not scaling properly in Cart
                and Wish List
            LPP-7100 - SWF8/9 and DHTML: Amazon: Edits to
                Shipping Address persist after choosing
                Cancel button

Technical Reviewer: promanik
QA Reviewer: henry
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Fixed image stretching in the cart/wish list items
    as was fixed in Recommendations.  Reset the form data
    before displaying it again.

Tests: Run Amazon demo.  Verify that CD cover images are
    the right size in the cart and wish list.  They should
    look the same as they do in Recommendations.
    For 7100, open the Check Out tab.  Click to edit an
    address.  Make changes, then click "Cancel".  Click to
    edit it again.  The changes that were made in the
    previous edit should no longer be present.
    Do the same a couple tabslider tabs down in "Payment
    Method".



Modified: openlaszlo/trunk/demos/amazon/address.lzx
===================================================================
--- openlaszlo/trunk/demos/amazon/address.lzx	2008-10-02 18:32:16 UTC (rev 11323)
+++ openlaszlo/trunk/demos/amazon/address.lzx	2008-10-02 20:11:02 UTC (rev 11324)
@@ -12,6 +12,7 @@
             <method name="editAddress" args="clonenbr">
                 parent.form.setAttribute("mode", "edit");
                 this.setAttribute("height", 0);
+                parent.form.form.setAttribute('datapath', "dsAddressList:/");
                 parent.form.form.setAttribute('datapath', "dsAddressList:/addresslist/address["+(clonenbr+1)+"]");
                 parent.form.show();
             </method>

Modified: openlaszlo/trunk/demos/amazon/creditcard.lzx
===================================================================
--- openlaszlo/trunk/demos/amazon/creditcard.lzx	2008-10-02 18:32:16 UTC (rev 11323)
+++ openlaszlo/trunk/demos/amazon/creditcard.lzx	2008-10-02 20:11:02 UTC (rev 11324)
@@ -13,6 +13,7 @@
                 parent.form.setAttribute("mode", "edit");
                 this.setAttribute("height", 0);
                 parent.form.setAttribute("height", parent.height);
+                parent.form.form.setAttribute('datapath', "dsCreditCardList:/");
                 parent.form.form.setAttribute('datapath', "dsCreditCardList:/creditcardlist/creditcard["+(clonenbr+1)+"]");
             </method>
         </cardlist>

Modified: openlaszlo/trunk/demos/amazon/shoppinglist.lzx
===================================================================
--- openlaszlo/trunk/demos/amazon/shoppinglist.lzx	2008-10-02 18:32:16 UTC (rev 11323)
+++ openlaszlo/trunk/demos/amazon/shoppinglist.lzx	2008-10-02 20:11:02 UTC (rev 11324)
@@ -12,7 +12,7 @@
             <view x="12" width="${parent.width}">
                 <datapath xpath="Item" pooling="true"/>
                 <simplelayout axis="x" spacing="6"/>
-                <view datapath="SmallImage/URL/text()" width="50" height="50" clip="true"
+                <view datapath="SmallImage/URL/text()" width="50" height="50" stretches="both"
                     onmouseover="dragsmall.display(this, this.datapath.getNodeText());"
                     onmouseout="dragsmall.hide();"
                     onmousedown="dragsmall.start();"



More information about the Laszlo-checkins mailing list