two ways:
create a javascript function, not a js-object, thats called by "onclick"
or create a javascript-object, with eventhandler that handles the onclick
event like this
Event.observe(this.fieldSetLegend, "click",
this.toggle.bindAsEventListener(this));
Imants Firsts wrote:
>
> Hi!
>
Hi!
What is the correct way to use JavaScript in my
tapestry components?
If I use the code below, and my HTML has a button with
onclick="myObj.doSomething();", it can not find myObj.
pageRenderSupport.addScriptLink(myLibrary);
pageRenderSupport.addScript("var myObj = new MyObj();"
Hello list. T5 5.0.7 should be available shortly, so I've decided to
publish the first snapshot artifact of my component library. The project
site is:
http://code.google.com/p/gc-tapestry-components/
Currently it includes only one component - my custom slideshow
component. I've also linked to
Your template has a relative URL to a file "commons.css", that does
not exist. Because the file is missing, Tapestry thinks that the
request is for the application, and invokes your page, including the
activation part.
On Dec 23, 2007 8:01 AM, osamuo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have
Hi,
I have encountered the following strange behavior (with 5.0.8-SNAPSHOT).
When I accessed "http://localhost:8080/test/1";, "onActive( Object parameter
)" in Test.java was called two times.
At the first call, the value of the argument was "1".
At the second call, the value of the argument was
i've forgotton to implement the BeanSelect component in last tap5component
release
now here it is:
components collection release 0.5.1 is accessable now (requiers tapestry
5.0.7)
at http://code.google.com/p/tapestry5-components/
change log at
http://code.google.com/p/tapestry5-components/wiki/C
Thanks, Serge. Bug now logged as https://issues.apache.org/jira/browse/TAPESTRY-1997
.
On 23/12/2007, at 1:06 AM, SergeEby wrote:
Hi Geoff,
I've seen this in past releases and I had to use the following as a
workaround in my AppModule to get my application to work:
...
configuration.add("
Hi,
I'm trying to persist a Link with @Persist("client") but, alas,
LinkImpl is not Serializable. I was hoping to persist the link and
then execute it later. Any suggestions?
Cheers,
Geoff
-
To unsubscribe, e-mail: [EM