Re: form question

2010-09-08 Thread Daniel Rindt
Am Mittwoch, den 08.09.2010, 09:29 +0200 schrieb Paweł Wielgus: > yes You can, Hi Paweł, thanks it works. It's more simple as i thought. Daniel signature.asc Description: This is a digitally signed message part

Re: form question

2010-09-08 Thread Paweł Wielgus
Hi Daniel, yes You can, link that will enter the page is: /myaction!input so input method will be called and saving data is: /myaction that way validation errors will only show up when standard /myaction is called. Best greetings, Paweł Wielgus. 2010/9/8 Daniel Rindt : > Hello, > > i created an

form question

2010-09-07 Thread Daniel Rindt
Hello, i created an action what is displaying a form. This form also shows the input errors. The action implements the Preparable Interface to provide collections to display. My save method is in the same action class. Is it possible to have a mapping for just one action name, what is caring abou

RE: submit form question

2004-05-14 Thread Yves Sy
-Yves- > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 2:03 PM > To: Struts Users Mailing List > Subject: RE: submit form question > > Yes, its a difficult one this. > > (Afaik) Your only hope is onBeforeUnload(), but

RE: submit form question

2004-05-13 Thread Andrew Hill
code so I cant remember all the other options I looked at at the time, so maybe there is a better way to achieve it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 14 May 2004 13:44 To: Struts Users Mailing List Subject: submit form question Hi experts

submit form question

2004-05-13 Thread subramaniam . o
Hi experts,         How to submit the form when the user closes the browser window, before closing the browser window i want to submit the form. Which _javascript_ event should i  use. i tried using onBeforeUnload(), the problem is that this event gets fired even when the user goes to another pag

Re: [Kina-OT] Declarative Security form question

2004-05-07 Thread Craig McClanahan
Joe Hertz wrote: I'm trying to use declarative security in my struts app, but it's not really a struts-specific problem. It works great when someone goes to a protected page. They get redirected to the "login page". But what if I want to include a login form on any or every other page? If I prov

RE: [Kinda-OT] Declarative Security form question

2004-05-07 Thread Joe Hertz
Solved. I punted and decided to use Security Filter. This works so much better. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, May 07, 2004 2:07 PM > To: 'Struts Users Mailing List' > Subject: [Kina-OT] Declarati

[Kina-OT] Declarative Security form question

2004-05-07 Thread Joe Hertz
I'm trying to use declarative security in my struts app, but it's not really a struts-specific problem. It works great when someone goes to a protected page. They get redirected to the "login page". But what if I want to include a login form on any or every other page? If I provide something mo

RE: session scoped action form question

2004-04-19 Thread Hubert Rabago
> > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > > Sent: Monday, April 19, 2004 4:20 PM > > To: Struts Users Mailing List > > Subject: Re: session scoped action form question > > > > > > Try overwriting the form in the session with your new form: >

RE: session scoped action form question

2004-04-19 Thread Paul McCulloch
Mailing List > Subject: Re: session scoped action form question > > > Try overwriting the form in the session with your new form: > > form = new WidgetForm(); > request.getSession().setAttribute("formName", form); > > > --- "Barnett, Brian W."

Re: session scoped action form question

2004-04-19 Thread Hubert Rabago
Try overwriting the form in the session with your new form: form = new WidgetForm(); request.getSession().setAttribute("formName", form); --- "Barnett, Brian W." <[EMAIL PROTECTED]> wrote: > Can someone enlighten me as to why when I instantiate a new ActionForm, the > old data seems to hang arou

session scoped action form question

2004-04-19 Thread Barnett, Brian W.
Can someone enlighten me as to why when I instantiate a new ActionForm, the old data seems to hang around? Here is the information: I have a session scoped action form defined in struts config: etc, etc, My dispatch method looks something like this: public ActionForw