Change change.WMeeenBWQ.txt by [EMAIL PROTECTED] computer.local /Users/maxcarlson/openlaszlo/legals/ on 2006-09-28 08:54:15 PDT

Summary: UPDATED AGAIN - Fix a bug in DHTML kernel preventing radio and checkboxes from working. Both checkbox and radiogroup work now in DHTML!

New Features:

Bugs Fixed: LPP-2808 - Calling setClickable(false) on a previously clickable view fails to pass clicks to a parent view in DHTML

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

Documentation:

Release Notes:

Details: I needed to tweak the kernel to only set the visibility of the shadow click view if clickable == true. Same for setVisible ()... All is good now!


Tests: This now passes:
<canvas width="1000" height="300" debug="true">

  <include href="base/multistatebutton.lzx" />

   <resource name="lzradio_rsrc">
       <frame src="/lz/resources/radio/radiobtn_up.swf" />
       <frame src="/lz/resources/radio/radiobtn_mo.swf" />
       <frame src="/lz/resources/radio/radiobtn_dn.swf" />
       <frame src="/lz/resources/radio/radiobtn_dsbl_up.swf" />
       <frame src="/lz/resources/radio/radiobtn_dn.swf" />
       <frame src="/lz/resources/radio/radiobtn_dn.swf" />
       <frame src="/lz/resources/radio/radiobtn_dn.swf" />
       <frame src="/lz/resources/radio/radiobtn_dsbl_dn.swf" />
   </resource>


   <view id="bar2" width="60" height="120" bgcolor="#ccffcc" x="200"
         onclick="Debug.write('bar2 onclick')">

     <multistatebutton width="20" height="20"
                       x="10" y="70"  id="foo2" resource="lzradio_rsrc"
                       onclick="Debug.write('multistatebutton foo2
clickhandler')"
                       statenum="1"
                       statelength="4" maxstate="1"
                       reference="parent">
     </multistatebutton>
     <text x="30" y="70">Some text that may prevent clicks</text>

   </view>


<view width="50" height="50" clickable="true" onclick="Debug.write('back')" bgcolor="green"> <view width="50" height="50" clickable="true" onclick="Debug.write('front'); this.setClickable(false);"/>
    </view>

</canvas>


Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Attachment: patch.maxcarlson.sv2P.tgz
Description: Binary data

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

Reply via email to