RE: multiple forms on one page on JBoss 3.2.1
Nevermind, I figured it out! We were missing property on an html:options tag. -Original Message- From: Amit Kirdatt Sent: Monday, August 04, 2003 8:04 AM To: '[EMAIL PROTECTED]' Subject: multiple forms on one page on JBoss 3.2.1 I have a page with two forms. The page works on other servlet containers like tomcat and weblogic, but when we switched to JBoss it could not find any of the form bean elements after the html:form tag on the second form. Any ideas on how to fix this? This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple Forms on One Page
You are all correctthere's no issue at all. I don't know what I was thinking. For some reason I still get confused by some of the struts features if I don't use it for a while. Thank you all for politely pointing out what should've been obvious instead of flaming me ;) Nicolas De Loof [EMAIL PROTECTED] wrote:I don't understand what you need. If you want to have 2 HTML forms that post to 2 urls - only associated inputs will be submited - you can do it well (with or without struts). If you want the 2 urls to get ALL input fields as request parameters, you will need hidden inputs and some javascript. Nico. - Original Message - From: Ray Madigan To: Struts Users Mailing List Sent: Thursday, February 20, 2003 5:15 PM Subject: RE: Multiple Forms on One Page Hi, Im fairly new to Struts, but i can't see what the restriction is. Can't you define two forms on a single page, each with the appropriate action? Ray Madigan -Original Message- From: C F [mailto:[EMAIL PROTECTED] Sent: Thursday, February 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
RE: Multiple Forms on One Page
Have you considered using Tiles? -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: C F [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple Forms on One Page
Hi, Im fairly new to Struts, but i can't see what the restriction is. Can't you define two forms on a single page, each with the appropriate action? Ray Madigan -Original Message- From: C F [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple Forms on One Page
I don't understand what you need. If you want to have 2 HTML forms that post to 2 urls - only associated inputs will be submited - you can do it well (with or without struts). If you want the 2 urls to get ALL input fields as request parameters, you will need hidden inputs and some javascript. Nico. - Original Message - From: Ray Madigan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 5:15 PM Subject: RE: Multiple Forms on One Page Hi, Im fairly new to Struts, but i can't see what the restriction is. Can't you define two forms on a single page, each with the appropriate action? Ray Madigan -Original Message- From: C F [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple Forms on One Page
You just put multiple html:form/html:form tags in your page, each defined appropriately. Struts-config isn't directly involved in multiple forms on a single page, except insofar as the form beans and Actions are initially defined there. Ex: html:form action=/someAction ... form tags, HTML, whatever... /html:form ... more HTML here ... html:form action=/aDifferentAction ... form tags, HTML, whatever... /html:form That's all you have to do. -= J -Original Message- From: C F [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 9:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple Forms on One Page
I do this all the time. Just have 2 html:forms on your JSP page. The actions for the forms can map to different actions from you struts-config. Struts-Config doesnt specify jsp a form appears on. It just defines possible actions for forms. Where you put the forms is entirely up to u. -Tim -Original Message- From: C F [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:41 AM To: [EMAIL PROTECTED] Subject: Multiple Forms on One Page Hello everyone, I want to be able to have multiple forms on a single web page. These forms are totally unrelated in that I want them to materialize into different beans depending on which form was submitted. I don't see that it is possible to configure this scenario in the the struts-config. Should I be looking into DispatchAction? Any other ideas? Thanks! P.S. Just assume I'm using the latest build of struts. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]