David Leangen wrote:
Well, I usually use the Body component for outputing the body tag, so I can just use:I just discovered client-side scripting with Tapestry. Very nice!! I am now going to use it extensively. However, I am having one problem: I can't figure out how to implement the onResize() that usually works with the body tag: <body onResize="someFunction()"> ... </body> I tried, both in the <body> and the <initialization> sections: window.onResize = function () { someFunction() }; and document.body.onResize = function () { someFunction() };
<body jwcid="@Body" onResize="doSomething();">
The value of onResize can also be an ognl expression if you want that...
I've tried playing around with these in quite a few different ways, but can't seem to get it to work.
Can anybody tell me how this works?
Thanks!
Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
