Re: T5: JavaScript in my components

2007-12-23 Thread Sven Homburg
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! >

T5: JavaScript in my components

2007-12-23 Thread Imants Firsts
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();"

T5 component lib (another one) snapshot available

2007-12-23 Thread Chris Lewis
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

Re: T5: onActive()

2007-12-23 Thread Howard Lewis Ship
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

T5: onActive()

2007-12-23 Thread osamuo
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

sad things happen, if the bird catch the worm too early

2007-12-23 Thread Sven Homburg
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

Re: T5: PersistentLocale is lowercasing locales

2007-12-23 Thread Geoff Callender
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("

T5: How to serialize a Link?

2007-12-23 Thread Geoff Callender
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