Do you think we need a whole container, or should we just have a new  
attribute on editext, say "hint" that is visible when the content is  
empty?  Just that if this is the only application, it would seem more  
efficient.

The second part of this bug is to get the client to adopt "the new  
solution"...

On 2009-10-14, at 05:36, Max Carlson wrote:

> Change 20091014-maxcarlson-K by [email protected] on 2009-10-14
> 02:25:33 PDT
>     in /Users/maxcarlson/openlaszlo/trunk-clean/lps/components
>     for http://svn.openlaszlo.org/openlaszlo/trunk/lps/components
>
> Summary: Add container view to edittext
>
> Bugs Fixed: LPP-8544 - DHTML/SWF10: <text> in front of <edittext>
> intercepts mouse clicks
>
> Technical Reviewer: ptw
> QA Reviewer: hminsky
>
> Details: Since there's no good way to prevent text from intercepting
> clicks when in front of an edittext, adding a view that's physically
> behind edittext's inputtext seemed like the way to go.  This way, any
> views nested inside the edittext get placed in such a way that they
> won't interfere.  As a bonus, the container is appropriately
> positioned to overlay the text - so any subviews will be also.
>
> Tests: Updated version of testcase from LPP-8544.  This change
> prevents the text from intercepting mouse clicks in DHTML and swf10:
> <canvas>
>   <edittext id="baz" width="175">
>     <text visible="${baz.value==''}">
>         Can't click here.
>     </text>
>   </edittext>
> </canvas>
>
>
> Files:
> M       lps/components/lz/edittext.lzx
>
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20091014-maxcarlson-K.tar
> _______________________________________________
> Laszlo-reviews mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

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

Reply via email to