I have created a BaseForm class which extending Form class. I have overrided
Form.process() function but when I run the application I have seen that, the
process() function running and terminating before reaching onSubmit() function.
Because of that if I create the connection on process()
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
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.
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
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