After more experimenting....looks like the methods are called only
when the datapath is set explicitly, <datapath xpath=""/>, not
implicitly, value="$path{}". Good, now there is a chance for some
workarounds. Sorry for the spam.

On Wed, Apr 16, 2008 at 10:38 AM, Greg Denton <[EMAIL PROTECTED]> wrote:
> These methods either are not being called or cannot be overridden.
>  I've tried edittext and checkbox. Somehow and mysteriously their
>  setValue methods are called when their data changes (and edittext acts
>  differently than checkbox in that checkbox sets its changed flag).
>
>  There are numerous bug reports (e.g.
>  http://www.openlaszlo.org/jira/browse/LPP-2579) but can't find one
>  that says they flat out are not called. Since the components are so
>  broken in this area (lots of bug reports) and these methods cannot
>  even be worked around I'm having difficulty implementing 2-way data
>  mapping.
>
>  I should add that I am trying to create a form that does not commit
>  data until the user hits a commit button, as opposed to changing the
>  data immediately when the component changes value. One thing I
>  discovered is that datapath.updateData() must be called at the form
>  level since calling at the item level calls there anyway but with the
>  side effect of resetting all other components that have changed, and
>  hence not updating their data.
>
>  Using 4.0.11 swf8, but swf7, dhtml seem to work the same.
>
>  I feel like I'm missing something. Any help? Thanks.
>

Reply via email to