Author: max
Date: 2006-11-08 11:34:51 -0800 (Wed, 08 Nov 2006)
New Revision: 2439

Modified:
   openlaszlo/branches/legals/demos/vacation-survey/vacation-survey.lzx
   openlaszlo/branches/legals/lps/components/base/submit.lzx
   openlaszlo/branches/legals/lps/components/utils/layouts/reverselayout.lzx
Log:
Change 20061107-maxcarlson-t by [EMAIL PROTECTED] on 2006-11-07 20:06:46 PST
    in /Users/maxcarlson/openlaszlo/legals

Summary: Fix Vacation survey in IE 6 DHTML

New Features:

Bugs Fixed:  LPP-2846 - DHTML: Vacation Survey does not show voting results in 
XP IE6

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

Documentation:

Release Notes:

Details: Required some safety checking in reverselayout, submit requires 
calling LzParams.serialize() instead of relying on toString(), turn proxied on 
by default.


Tests:

Files:
M      lps/components/utils/layouts/reverselayout.lzx
M      lps/components/base/submit.lzx
M      demos/vacation-survey/vacation-survey.lzx

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20061107-maxcarlson-t.tar

Modified: openlaszlo/branches/legals/demos/vacation-survey/vacation-survey.lzx
===================================================================
--- openlaszlo/branches/legals/demos/vacation-survey/vacation-survey.lzx        
2006-11-08 19:32:37 UTC (rev 2438)
+++ openlaszlo/branches/legals/demos/vacation-survey/vacation-survey.lzx        
2006-11-08 19:34:51 UTC (rev 2439)
@@ -1,6 +1,6 @@
 <!-- vacation-survey.lzx -->
 
-<canvas width="457" height="206" bgcolor="0xeaeaea" title="Vacation Survey" >
+<canvas width="457" height="206" bgcolor="0xeaeaea" title="Vacation Survey" 
proxied="true">
 
     <!-- [2006-9-25 jgrandy] (LPP-2755) commented out  <splash/> -->
 

Modified: openlaszlo/branches/legals/lps/components/base/submit.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/base/submit.lzx   2006-11-08 
19:32:37 UTC (rev 2438)
+++ openlaszlo/branches/legals/lps/components/base/submit.lzx   2006-11-08 
19:34:51 UTC (rev 2439)
@@ -77,7 +77,7 @@
 
             this.setAttribute('status', 'requesting');
             this.setAttribute('error', '');
-            this.data.setQueryString( query_data );
+            this.data.setQueryString( query_data.serialize() );
             this.data.doRequest();
             ]]>
         </method>
@@ -107,6 +107,6 @@
     </class>
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/branches/legals/lps/components/utils/layouts/reverselayout.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/utils/layouts/reverselayout.lzx   
2006-11-08 19:32:37 UTC (rev 2438)
+++ openlaszlo/branches/legals/lps/components/utils/layouts/reverselayout.lzx   
2006-11-08 19:34:51 UTC (rev 2439)
@@ -69,7 +69,7 @@
                     var s = this.subviews[i]; 
                     if ( !s.visible ) continue;
                     c -= s[ this.sizeAxis ];
-                    s.setAttribute( this.axis , c );
+                    if (c) s.setAttribute( this.axis , c );
                     c -= this.spacing;
                 }
             } else {
@@ -90,7 +90,7 @@
     </class>
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to