[Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-14 Thread Ramazan Pekin
Hi everone, I am trying to develop a structure and I want this; already opened and already closed the connection when my form is submitted and my forms logic finished. I have a BaseForm class, which overriding OnSubmit function and my other forms extends this BaseForm class. On Struts, when form

Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-15 Thread Igor Vaynberg
override form.process() -igor On 1/14/07, Ramazan Pekin <[EMAIL PROTECTED]> wrote: Hi everone, I am trying to develop a structure and I want this; already opened and already closed the connection when my form is submitted and my forms logic finished. I have a BaseForm class, which overriding

Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-16 Thread Ramazan Pekin
connection when ever the form processed. Can you help me with code. Thanks for now. - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.net Sent: Monday, January 15, 2007 10:00:24 AM Subject: Re: [Wicket-user] When the connetction must be opened and w

Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-16 Thread Erik van Oosten
Did you attach a component to the submit button? If you read the class comment of Form you can see that this may change form processing quite a bit. Otherwise your code looks ok to me. Regards, Erik. Ramazan Pekin wrote: > I have created a BaseForm class which extending Form class. I have

Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-16 Thread Igor Vaynberg
why do this around form processing though? why not do this around the request cycle? -igor On 1/16/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Did you attach a component to the submit button? If you read the class comment of Form you can see that this may change form processing quite a bit