cChange 20100623-maxcarlson-H by maxcarl...@friendly on 2010-06-23 18:10:50 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Automatically turn on scrollevents when dependent events are registered
Bugs Fixed: LPP-9146 - Use notifyingevents to automatically turn on scroll
events on text
Technical Reviewer: ptw
QA Reviewer: hminsky
Details: LzText - Create shared LzDeclaredEventClass instance for use with
events that need scrollevents turned on. Update documentation. Set scroll
events in construct() to keep DHTML happy. Remove unused methods.
LzTextscrollEvent - Registering for any dependent event turns on scroll events,
and unregistering checks for other dependent events with listeners before
unregistering.
Library - Include LzTextscrollEvent
newcontent/scrollingtext - No need to explicitly turn on scrollevents.
Tests: Debugger works as before.
Files:
M WEB-INF/lps/lfc/views/LzText.lzs
A WEB-INF/lps/lfc/views/LzTextscrollEvent.lzs
M WEB-INF/lps/lfc/views/Library.lzs
M lps/components/debugger/newcontent.lzx
M lps/components/debugger/scrollingtext.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100623-maxcarlson-H.tar