Updating Hibernate Entites

2010-02-07 Thread Dominik Gätjens
Hello List, i'm trying to update an Hibernate-Object but alway get an "a different object with the same identifier value was already associated with the session:" Exception. My Form-Code looks like: @Inject private ConfigurationDAO configDAO; @Persist @Property priv

AW: Updating Hibernate Entites

2010-02-08 Thread Dominik Gätjens
I'm using the chenillekit hibernate daos, and there is no explicit update method, so i thought save() should do this job. I don't understand why there is a new Object if I annotade the config with @Persist. Shouldn't it be saved in the Session? btw: i found a possible solution with page activa

AW: AW: Updating Hibernate Entites

2010-02-08 Thread Dominik Gätjens
database. Uli On 08.02.2010 10:28 schrieb Dominik Gätjens: > I'm using the chenillekit hibernate daos, and there is no explicit update > method, so i thought save() should do this job. > > I don't understand why there is a new Object if I annotade the config with > @

AW: Updating Hibernate Entites

2010-02-08 Thread Dominik Gätjens
private void doSaveEntity() { configDAO.doSave(configuration); } } with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/2/8 Dominik Gätjens > Hello List, > > > > i'm trying to update an Hibernate-Object but alwa

Ajax FormSubmit onChange

2010-02-12 Thread Dominik Gätjens
Good Morning List, i'm trying to get an AJAX Form submit with an onChange-Event from an Select-Component. Request.isXHR() returns false if i make an change in the select. if i click the submit button it returns true. Can anyone help me to get an AJAX request on select change? thank

AW: Ajax FormSubmit onChange

2010-02-12 Thread Dominik Gätjens
form using AJAX easily. U just need to call that method from ur Select. On Fri, Feb 12, 2010 at 10:00 AM, Dominik Gätjens < dominik.gaetj...@leomedia.eu> wrote: > Good Morning List, > > > > i'm trying to get an AJAX Form submit with an onChange-Event from an > Select-Com

AW: Ajax FormSubmit onChange

2010-02-12 Thread Dominik Gätjens
i'm sorry... the problem was in the onActivate method. Now it works like a charm :) thank you very much. -Ursprüngliche Nachricht- Von: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Freitag, 12. Februar 2010 13:41 An: Tapestry users Betreff: Re: Ajax FormSubmit onCh

Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
Hello List, I'm building a dynamic form with textfields on the fly and need to do some cross validation. This all works pretty and i find two fields that are invalid together. But how can I report this error AND mark both fields as invalid? I don't have a component to call Form.recordErro

AW: Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
Forms Depends on how you are doing the "dynamic" part. If you are looping over your textfields, then injecting them into the page class should work, e.g. and "@Inject private TextField foo" should give you the field of the current iteration. Uli On 16.02.2010 14:34 schrieb Domi

ZoneUpdater and Zone Race-Condition

2010-02-17 Thread Dominik Gätjens
Hello, I'm using the ZoneUpdater mixin from http://tinybits.blogspot.com/2009/05/update-zone-on-any-client-side-event.html to send an event at every keyup event on a textfield. This event triggers a webservice-method to fetch some data into a zone. if u type "ab" the a fires an event and

AW: Cross Validation in dynamic Forms

2010-02-17 Thread Dominik Gätjens
Cross Validation in dynamic Forms Dominik Gätjens wrote: > I'm building a dynamic form with textfields on the fly and need to do > some cross validation. This all works pretty and i find two fields > that are invalid together. > > But how can I report this error AND mark both fie

AW: ZoneUpdater and Zone Race-Condition

2010-02-17 Thread Dominik Gätjens
drawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 17 February 2010 14:00, Dominik Gätjens wrote: > Hello, > > > > I'm using the ZoneUpdater mixin from > http://tinybits.blogspot.com/2009/05/update-zone-on-any-client-side-event.htmlto &

AW: AW: Cross Validation in dynamic Forms

2010-02-18 Thread Dominik Gätjens
2010 16:23 An: users@tapestry.apache.org Betreff: Re: AW: Cross Validation in dynamic Forms Dominik Gätjens wrote: > I read this thread but don't understand it. Do you have a code example for me? The setup is complex. Follow these steps and let me know if there is anything unclear:

RE: ZoneUpdater and Zone Race-Condition

2010-02-18 Thread Dominik Gätjens
ototype or jquery it is straight forward. but I would like to hear from someone more experienced in T5 as well. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com ______ 2010/2/17 Dominik Gätjens > to abort the ajax call sounds very very good. But i don'

Display time of client side validation

2010-05-26 Thread Dominik Gätjens
Hello List, how can I set the time the client-side-validation-error-bubbles are visible? Regards Dominik

How to disable Client-Side-Error-Message-Bubbles

2010-06-02 Thread Dominik Gätjens
Hello List, how can i disable the client-side-error-message-bubbles but can keep client side validation (the red textfield label and the red cross)? Regards Dominik