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

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-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

[T5:] extend input components for tooltips

2008-04-07 Thread ice96
Hello, I have greate idea to create nice toolTips (hints) for input which get "hint-"+ _resources.getId(). This part is working, now I want to find way how to extend components like textfield and add onBlur method call to toolTip. Anyone could help me? Source of my tooltip component: package

tooltips (hints) for form components

2008-04-23 Thread ice96
Hello, is it way to extend all form input components with function witch onFocus shows hint (tooltip) onBlur hides? Any suggestions? -- View this message in context: http://www.nabble.com/tooltips-%28hints%29-for-form-components-tp16834806p16834806.html Sent from the Tapestry - User mailing list

Tapestry 5 Beaneditform and TextFlield

2008-05-06 Thread ice96
Hello, I have simple question: I have extended TextField component with few new futures (I called it Input), now I want to replace TextField component to my Input component in BeanEditForm. Is it not painfull way without tapestry corelib recompilation? -- View this message in context: http://www

Re: Tapestry 5 Beaneditform and TextFlield

2008-05-07 Thread ice96
Hello, I don;t know why but it doesn't works :( in AppModule.java I added this lines public static void contributeBeanBlockOverrideSource(Configuration configuration) { configuration.add(new BeanBlockContribution("text", "AppPropertyEditBlocks", "text", true)); } and in compone

Tapestry 5 server side validation

2008-06-05 Thread ice96
Hello, I have problems with tapestry 5 server side validations. First o all there is my code: package org.example.myapp.model; import org.apache.tapestry.beaneditor.NonVisual; import org.apache.tapestry.beaneditor.Validate; public class User { private int id; private String name

Re: Tapestry 5 server side validation

2008-06-06 Thread ice96
Thanks! I'm stupid!;) -- View this message in context: http://www.nabble.com/Tapestry-5-server-side-validation-tp17680152p17687166.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Tapestry 5.1 on top of GORM Hibernate Session bound to thread

2009-04-05 Thread ice96
Hello, I'm experimenting with T5.1 and GORM. At the moment I'm trying to save models into the database. Models without associations like: hasMany and BelongsTo works perfectly. But when I try To save model like this: package org.example.entities mport grails.persistence.Entity @Entity public c

Re: Tapestry 5.1 on top of GORM Hibernate Session bound to thread

2009-04-07 Thread ice96
Thank you. This works like a charm. Saddly but the Gorm events not work for me too. Now I'm thinking about the Tapestry Grid and the BeanEditForm form improvements. I want automaticly bind belongsTo anotation for multiple choice (select) in BeanEditForm. -- View this message in context: http