Re: T5: mixing select component onchange="this.form.submit()" and zone component

2008-04-06 Thread ice96
Ok. Now I found solurtion. for onSelect we can use tapestry5 components. Now my trouble with zone and block component Test5:tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Ajax test fun dynamic block! ${color} : Content before upda

Re: T5: mixing select component onchange="this.form.submit()" and zone component

2008-04-06 Thread ice96
Thanks, I removed Now submit works but I'm getting error: org.apache.tapestry.runtime.ComponentEventException A component event handler method returned the value [EMAIL PROTECTED] Return type org.apache.tapestry.internal.structure.BlockImpl can not be handled. Configured return types are java.la

Re: T5: mixing select component onchange="this.form.submit()" and zone component

2008-04-05 Thread Shing Hing Man
The cause of 'this.form.submit is not a function' is explained at the following link. http://www.webprodevelopment.com/BrightLight/2006/05/04/thisformsubmit-is-not-a-function-really-its-an-object/ (Just google the error message, you will find lots of related links.) Shing --- ice96 <[EMAIL

T5: mixing select component onchange="this.form.submit()" and zone component

2008-04-05 Thread ice96
Hello, I have problem. I want to do same action as on click submit button. source: Test3.tml http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Ajax test fun dynamic block! ${color} : Cont