thank you for your quick response. yes, i'm using it with panel.
there's no other way to achieve what i'm looking for? Can I use ajax and keep the form multi-part? Can I get the file name without the regular submit? Tks, Cristi Manole On Thu, Apr 10, 2008 at 6:39 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > You can use regular submit button only if you have a modal window with > page. If you have modal window with panel you are bound to using > ajaxbutton. > > -Matej > > On Thu, Apr 10, 2008 at 5:21 PM, Cristi Manole <[EMAIL PROTECTED]> > wrote: > > Hello, > > > > Is it possible to prevent the modal window from closing after regular > > onSubmit? > > > > My use case is that I have a modal window with a form where the user > can > > upload a picture. The submit is not Ajax because (i think) the form > could > > then not be multi-part. Being stuck with a regular onSubmit, i cannot > use > > .setDefaultFormProcessing(false)); (am I wrong?) > > > > Whenever I press upload, it will ask me if I want to continue and if I > press > > yes, it will close my modal window. I want to stay on that page for as > long > > as the upload takes place. > > > > Thanks, > > Cristi Manole > > > > > > -- > Resizable and reorderable grid components. > http://www.inmethod.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >