RE: Must have action=..... in html:form tag?

2004-02-24 Thread Guillermo Meyer
: Martes, 24 de Febrero de 2004 02:51 a.m. To: 'Struts Users Mailing List' Subject: RE: Must have action=. in html:form tag? I understand DispatchAction fairly well. But because there are certain extra things I need to do that DispatchAction won't help. Anyway, Shyam's suggestion of using

Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
Hi: My html:form tag doesn't allow me to skip an 'action' attribue. If you look at my code below, I move the assignment of the 'form action' to the javascript function so which action to take is dynamically depends on the form element 'whichAction'. But the compiler insist I have to have the

Re: Must have action=..... in html:form tag?

2004-02-23 Thread Hubert Rabago
Specify the Action associated with fromCreateShopWorkOrder or fromUpdateShopWorkOrder in the html:form attribute. --- Au-Yeung, Stella H [EMAIL PROTECTED] wrote: Hi: My html:form tag doesn't allow me to skip an 'action' attribue. If you look at my code below, I move the assignment of the

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
Users Mailing List Subject: Re: Must have action=. in html:form tag? Specify the Action associated with fromCreateShopWorkOrder or fromUpdateShopWorkOrder in the html:form attribute. --- Au-Yeung, Stella H [EMAIL PROTECTED] wrote: Hi: My html:form tag doesn't allow me to skip an 'action

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Hubert Rabago
? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:36 PM To: Struts Users Mailing List Subject: Re: Must have action=. in html:form tag? Specify the Action associated with fromCreateShopWorkOrder or fromUpdateShopWorkOrder

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:58 PM To: Struts Users Mailing List Subject: RE: Must have action=. in html:form tag? I never said anything close to what you're asking me. All I said is choose one of your two possible outcomes (doesn't matter

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Hubert Rabago
Mailing List Subject: Re: Must have action=. in html:form tag? Specify the Action associated with fromCreateShopWorkOrder or fromUpdateShopWorkOrder in the html:form attribute. --- Au-Yeung, Stella H [EMAIL PROTECTED] wrote: Hi: My html:form tag doesn't allow me to skip

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Paul, R. Chip
:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:13 PM To: 'Struts Users Mailing List' Subject: RE: Must have action=. in html:form tag? But I don't always want /app/fdd/shopWorkOrder/fromCreateShopWorkOrder to be my action all the time. I want the action for the form to be dynamic

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Shyam A
? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:58 PM To: Struts Users Mailing List Subject: RE: Must have action=. in html:form tag? I never said anything close to what you're asking me. All I said is choose one of your

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
(document.theForm) -Original Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 5:23 PM To: 'Struts Users Mailing List' Subject: RE: Must have action=. in html:form tag? You can't. Correct me if I'm wrong, but the html:form action= property is what let's

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Paul, R. Chip
via javascript? Chip -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:52 PM To: 'Struts Users Mailing List' Subject: RE: Must have action=. in html:form tag? Paul and Hubert: If I do the following, just choose one of the paths

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Hubert Rabago
/shopWorkOrder/fromUpdateShopWorkOrder method=post onSubmit=return submitForm(document.theForm) -Original Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 5:23 PM To: 'Struts Users Mailing List' Subject: RE: Must have action=. in html:form tag

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
the html:form tag? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:58 PM To: Struts Users Mailing List Subject: RE: Must have action=. in html:form tag? I never said anything close to what you're asking me. All I said is choose one

Re: Must have action=..... in html:form tag?

2004-02-23 Thread Geeta Ramani
Stella: Any time you incorporate Javascript into your app, you have to wonder if things will work now/ever/always in this/that/other browser. So avoiding everything except the most basic javascript may be a good idea. What you want to do can be done more cleanly (just in my opinion though) in

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Shyam A
should be smart enough to return to the correct 'previous' page. -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 5:31 PM To: Struts Users Mailing List Subject: RE: Must have action

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Ramadoss Chinnakuzhandai
the html:form tag? -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:58 PM To: Struts Users Mailing List Subject: RE: Must have action=. in html:form tag? I never said anything close to what you're asking me. All I said

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 7:10 PM To: Struts Users Mailing List Subject: RE: Must have action=. in html:form tag? I'm not sure this but you can try... Create Main screen (define a attribute in your form which holds

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Khalid K.
Mailing List' Subject: RE: Must have action=. in html:form tag? Ramadoss: That's what I did already in one of my original version. My reason of posting to this group is because html:form doesn't allow me to use a dynamically assigned action (such as one I set in my Javascript function

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Au-Yeung, Stella H
List Subject: RE: Must have action=. in html:form tag? Well, as the others said DispatchAction is the way to go. Since, you already have two separate Actions defined, I thought it may be worthwhile to give my idea a try. What I meant was, instead of a submit button html:submit, use a normal