[Laszlo-dev] For Review: Change 20071004-maxcarlson-x Summary: Fix Mode manager and LzText/Inputtext modality

Max Carlson max at openlaszlo.org
Thu Oct 4 13:07:37 PDT 2007


Change 20071004-maxcarlson-x by maxcarlson at plastik on 2007-10-04  
12:49:38 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix Mode manager and LzText/Inputtext modality

New Features:

Bugs Fixed: LPP-3948 - LzModeManager and selectable LzText (real  
problem comes with edittext)

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

Documentation:

Release Notes:

Details: LzTextSprite.js - Expose and set selectable attribute.

LzInputTextSprite.js - Don't become editable when selectable != true.

LzModeManager.lzs - Ensure mView.passModeEvent() exists before  
calling it.

LzInputText.lzs - Register for LzModeManager.onmode event.  Ensure  
inputtext doesn't become selectable if it isn't inside the view that  
has modality applied.

LzText.lzs - Set selectable attribute in setSelectable().

edittext.lzx - Add support setSelection(), applyData(), updateData()  
and getValue().


Tests: See LPP-3948.  Testcase passes in flash and DHTML.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
M      WEB-INF/lps/lfc/services/LzModeManager.lzs
M      WEB-INF/lps/lfc/views/LzInputText.lzs
M      WEB-INF/lps/lfc/views/LzText.lzs
M      lps/components/lz/edittext.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071004- 
maxcarlson-x.tar


More information about the Laszlo-dev mailing list