Thank you Martin!
2010/5/30 Martin Strand
> If you want to declare a global function from within Tapestry.onDOMLoaded,
> you can simply add it to the windows object:
>
> window.myGlobalFunction = function() {
> doCoolStuff();
> }
>
> You can then access that function from anywhere if you pref
If you want to declare a global function from within Tapestry.onDOMLoaded, you
can simply add it to the windows object:
window.myGlobalFunction = function() {
doCoolStuff();
}
You can then access that function from anywhere if you prefer to do things this
way:
Martin
On Sun, 30 May 2010
Hi Thiago,
When the Tapestry creates the script.
It puts the script inside a other method.
Tapestry.onDOMLoaded() in this case.
So when I try call it method using a js the method created by RenderSupport
is not visible for js.
I resolved the following
writer.element("script", "language", "Ja
On Sat, 29 May 2010 23:18:28 -0300, Pablo dos Reis
wrote:
When I inject javaScript using renderSupport not is possible access the
methods created in the class through a js file.
Hi, Pablo!
I'm not sure what you're talking about, but remember that any JavaScript
code added through RenderS
When I inject javaScript using renderSupport not is possible access the
methods created in the class through a js file.
Are there a way for access a JavaScript method overrided using renderSupport
for a classe outside it, in the js for exemple ?
--
Pablo Henrique dos Reis