Hopbot log for 2007-08-03 - Helma IRC channel: #helma on irc.freenode.net

2007-08-03:

[0:05] <rjb> ok i got lost, what was wrong about attaching a new property or method to req in onRequest()?
[0:06] <rjb> i mean, why didn't it work?
[0:11] <rjb> oh i see, perhaps it shouldn't be done in Global, but in the HopObject
[2:58] <jsp> fwiw, I found the for each syntax for e4x
[2:59] <jsp> for each(var child in xmlObj) write(child);
[19:15] <jsp> rjb, in case you didn't get it all, what I found was that Global.onRequest never gets called, and moreover you can't assign properties or methods to req dynamically--it's actually a JavaBean, and it throws an exception if you try to assign a property that doesn't already exist.
[20:18] <rjb> ok.
[20:19] <rjb> so that explains why i never saw an exception, but didn't get the new property either

 

 

In the channel now:

Logs by date: