This seems like a type of bug that might be happening in other places as
well;  there's an
attribute 'autorequest'  whose value modifies the action of the setter for
the 'src' attribtue, and it's a toss up as to  whether the 'src' attribute
gets seen first by applyArgs, or the 'autorequest' attribute, leading to
non-deterministic behavior.

Did we ever come up with some alternative to earlySetters for this kind of
situation?


---------- Forwarded message ----------
From: "Henry Minsky" <[email protected]> (JIRA) <
[email protected]>
Date: Thu, May 13, 2010 at 7:36 PM
Subject: [JIRA] Commented: (LPP-8978) DHTML regression: dataset autorequest
attribute not causing datasets to load their initial request
To: [email protected]



   [
http://jira.openlaszlo.org/jira/browse/LPP-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56238#action_56238]

Henry Minsky commented on LPP-8978:
-----------------------------------


I suppose we could add autorequest to the earlySetters list of LzNode
somehow, so it's guaranteed to be
set before the 'src' setter on a dataset gets run the first time. But the
earlySetters mechanism is really
tied to LzNode, and I don't think it's a good idea to try to use it for
anything else, if there's any alternative.


> DHTML regression: dataset autorequest attribute not causing datasets to
load their initial request
>
--------------------------------------------------------------------------------------------------
>
>                 Key: LPP-8978
>                 URL: http://jira.openlaszlo.org/jira/browse/LPP-8978
>             Project: OpenLaszlo
>          Issue Type: Bug
>          Components: LFC - Data
>    Affects Versions: 5.0 (TRUNK)
>            Reporter: Max Carlson
>            Assignee: Henry Minsky
>             Fix For: 5.0 (TRUNK)
>
>
> <canvas>
>     <dataset name="feed" autorequest="true" src="
http://www.laszlosystems.com/laszloxml/xml"/>
> </canvas>
> doesn't load the data in DHTML, but does in swf

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openlaszlo.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira





-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to