Hi all,
I have a question in releation to the xforms-readonly vent. When you have
for example a Text Control that has a read-only attribute of 'true()' the
xforms-readonly event is nevere triggered. Is this a bug or is it a works as
in the XForms specification?
I know why it is in chiba : the method readonlyChanged f DataElement is
called as a result of dispatching the xfroms-revalidate event at the end of
the modelConstruct method of Model (as defined in the XForms spec). But
because there is no listener is registered at this time the vent is never
sent to the DOM tree. The listener is registered in the modelConstructDone
method of Model through Initializer.initializeUIElements.
Moving Initializer.initializeUIElements just before the dispatching of the
events ( in the modelConstruct method) solves the problem, but I don't know
if this is correct.
Thanks,
Nick Van den Bleeken
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
|