[Laszlo-user] curiosity question about <method> syntax
Elliot Winard
enw at laszlosystems.com
Mon Oct 15 09:57:46 PDT 2007
I love archive.org -
http://web.archive.org/web/20041123040300/www.laszlosystems.com/lps-2.2/docs/reference/html-index.html
It looks like <method method="foo"/> was not a valid syntax in 2.2. Was
it ever?
-e
Elliot Winard wrote:
> I'm looking at code written earlier this year that uses the @method
> attribute on a <method> tag and wonder how the code ever could have
> worked.
>
> The code looked something like this -
> <view>
> <method event="oninit" method="doSomething" />
> <method name="doSomething">
> // do something here
> </method>
> </view>
>
> It doesn't work in wafflecone because it is invalid syntax for a
> <method> tag.
> The fix was easy - replacing the oninit event method with
> <handler name="oninit" method="doSomething" />
>
> So, out of curiousity - when was this syntax valid? Is there a way to
> go back through old documentation other than downloading and
> installing older builds at [0]?
>
> Thx,
> -e
>
> [0] http://www.openlaszlo.org/archive
More information about the Laszlo-user
mailing list