Ah, thanks. I'll fix it.
On Dec 12, 2008, at 9:01 AM, P T Withington wrote:
3 is the right bunch.
The setAttribute is in docs/src/developers/programs/methods-events-
attributes-$3.lzx:
this.setAttribute('text', ('a + b = ', sum));
The expression `('a + b = ', sum)` will evaluate to `sum`, which is
probably not what you meant? It used to be `('a + b = ' + sum)`.
On 2008-12-11, at 20:15EST, Lou Iorio wrote:
You said a bunch, but all I could find were 3 broken instances of
addText:
M docs/src/developers/programs/states-$5.lzx
M docs/src/developers/programs/methods-events-attributes-$3.lzx
M docs/src/developers/programs/views-$15.lzx
and no broken instances of setAttribute.
Can you point out some examples?
On Dec 11, 2008, at 5:38 PM, P T Withington wrote:
Something went wrong here. There are a bunch of places where you
call `setAttribute('text', ...)` or `addText(...)` where `...` was
`some + thing` and it has been changed to `some, thing`. That's
not going to work, because both these places only take one argument.
Note that you _can_ append formatted text to a text view by:
this.addText(this.formatToString("%w is %w", some, thing));
if that's what you were striving for.
I have a proposal out (http://jira.openlaszlo.org/jira/browse/LPP-7454
) that I think will end up with a shorthand for the above, probably:
this.addFormat("%w is %w", some, thing);
but that's not implemented yet.
On 2008-12-11, at 13:27EST, Lou Iorio wrote:
Change 20081211-lou-g by [email protected] on 2008-12-11 14:22:07
AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: dguide: emphasize Debug.debug over Debug.write in live
examples
Bugs Fixed: LPP-7437 (partial)
Details: Added Tucker's review comments
Tests: visual verify; test live examples
Files:
M docs/src/developers/programs/rpc-$19.lzx
M docs/src/developers/programs/rpc-$20.lzx
M docs/src/developers/programs/browser-integration-$19.lzx
M docs/src/developers/programs/states-$5.lzx
M docs/src/developers/programs/methods-events-attributes-
$3.lzx
M docs/src/developers/programs/rpc-$21.lzx
M docs/src/developers/programs/rpc-soap-$5.lzx
M docs/src/developers/programs/performance-tuning-$1.lzx
M docs/src/developers/programs/rpc-$14.lzx
M docs/src/developers/programs/class-inheritance-$7.lzx
M docs/src/developers/programs/views-$15.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081211-lou-g.tar