Re: [appfuse-user] Double Submit problem in appfuse 1.9 struts

2009-02-16 Thread sudhakargupta
Thanks for your reply.. For submit button i'm calling different action method like "save2tables" if i disabled the button after click on the submit then it calls the default "save" action method so, the record is not updated. for this one i changed the action of the form like "saveTwoTables". pl

Re: [appfuse-user] struts validation - need to check atleast one field is entered

2009-02-16 Thread Matt Raible
I don't know how to do this off the top of my head. The following documentation may help though: http://struts.apache.org/2.x/docs/validation.html Matt On Tue, Feb 10, 2009 at 4:27 AM, ashan wrote: > > Hi, > > I'm trying to validate if 1 of 3 field value is entered on a form. If not > would li

Re: [appfuse-user] multiple primary key

2009-02-16 Thread Matt Raible
This uses Hibernate Tools under-the-covers. You might try doing it with Hibernate Tools directly. http://www.hibernate.org/255.html Matt On Wed, Feb 11, 2009 at 3:59 AM, Nizar ELLOUZE < nizar.ello...@amdconsulting-tn.com> wrote: > Hi, > > appfuse:gen-model does't work for a table which has more

Re: [appfuse-user] Double Submit problem in appfuse 1.9 struts

2009-02-16 Thread Matt Raible
You might try using JavaScript to disable the button once it's been clicked. Matt On Mon, Feb 16, 2009 at 4:48 AM, sudhakargupta < sudhakargupta_s...@hotmail.com> wrote: > > Hi.. > > I am updating 2 tables from the one form page it is saved successfully, if > i double click on the save button t