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 > 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() function I cant reach from onSubmit() function > before it is terminated so before the connection closed. > > > @Override > > ** > > *public* *boolean* process(){ > > openConnection(); > > * boolean* superProcess = *super*.process(); > > closeConnection(); > > * return* superProcess; > > } > > > > Is there any other way to provide a connection when ever the form > processed. Can you help me with code. Thanks for now. > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user