Author: pbr
Date: 2007-09-05 17:41:34 -0700 (Wed, 05 Sep 2007)
New Revision: 6371

Modified:
   openlaszlo/branches/wafflecone/lps/components/lz/datepicker.lzx
Log:
Change 20070905-Philip-6 by [EMAIL PROTECTED] on 2007-09-05 16:30:18 EDT
   in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/wafflecone
   for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix datepicker

New Features:

Bugs Fixed: LPP-4520

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
If a datepicker is created open (ie. not as an icon), the window component was 
not displayed correctly. I tracked this down to when the visibility code was 
changed (r5014). Since the windowpanel has a datapath, it defaults to 
"collapse". However, there isn't any code to set it to visible. My fix is to 
set the windowpanel to "visible=true" so that it opens and displays properly.

Tests:
http://localhost:8080/wafflecone/examples/components/datepicker_example.lzx
Works in swf and dhtml.

Files:
M      lps/components/lz/datepicker.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070905-Philip-6.tar


Modified: openlaszlo/branches/wafflecone/lps/components/lz/datepicker.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/lz/datepicker.lzx     
2007-09-06 00:33:57 UTC (rev 6370)
+++ openlaszlo/branches/wafflecone/lps/components/lz/datepicker.lzx     
2007-09-06 00:41:34 UTC (rev 6371)
@@ -284,13 +284,13 @@
             </handler>
         </view>
 
-        <windowpanel name="main" 
+        <windowpanel name="main" visible="true"
                      bgcolor="0x565656"
                      closeable="false"
                      datapath="."
              allowdrag = "${parent.allowdrag}">
- 
 
+
             <view name="toolbar_view" 
                   x="6"
                   y="7"


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

Reply via email to