Approved! Should LzState.apply() and remove() be deprecated?
P T Withington wrote:
Change 20080519-ptw-s by [EMAIL PROTECTED] on 2008-05-19 15:07:50
EDT
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add onapplied event to <state>
Bugs Fixed:
LPP-5608 'state reference page problems'
Technical Reviewer: max (pending)
QA Reviewer: promanik (pending)
Doc Reviewer: liorio (pending)
Details:
LzState: Add missing `onapplied`. Amend example to show usage of
`onapplied`. Fuix some type-ohs.
LaszloEvents: In back-compatibility mode, the context must still
be at least an Object, not just non-null.
NodeModel: Add some code in debug mode for handlers that have
reference's to detect when the reference expression does not
return a valid value. (This will also be detected by
LzEvent#register, but warning in the computation will be more
helpful in finding the error.)
Tests:
ant lztest, smokecheck, LzState example
Files:
M WEB-INF/lps/lfc/helpers/LzState.lzs
M WEB-INF/lps/lfc/events/LaszloEvents.lzs
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080519-ptw-s.tar
--
Regards,
Max Carlson
OpenLaszlo.org