Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 24274 invoked from network); 4 Feb 2004 17:17:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Feb 2004 17:17:11 -0000 Received: (qmail 13437 invoked by uid 500); 4 Feb 2004 17:16:28 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 13338 invoked by uid 500); 4 Feb 2004 17:16:27 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 13300 invoked from network); 4 Feb 2004 17:16:26 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 4 Feb 2004 17:16:26 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AoQdD-0004eu-00 for ; Wed, 04 Feb 2004 18:16:07 +0100 Received: from cache.juntadeandalucia.es ([cache.juntadeandalucia.es]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 4 17:16:07 2004 Received: from cocoon-lenya by cache.juntadeandalucia.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Feb 4 17:16:07 2004 X-Injected-Via-Gmane: http://gmane.org/ To: struts-user@jakarta.apache.org From: Thorsten Scherler Subject: Submit two Form with JScript (was Accessing ActionForm from Servlet ) Date: Wed, 4 Feb 2004 17:16:06 +0000 (UTC) Lines: 51 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 194.224.160.129 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7) Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -> I don't know for sure. That's why I asked if I was right... :) Reading your reply me neither LOL ;-) -> -> Anyway: -> -> (1) How do you associate 2 ActionForms to the same Action (and have -> them automatically associated and populated by Struts)? If you mean: To add an attribute like 'attribute="serviceExForm"' (I think and aggree) it's not possible. But you asked to access the values of a (or n) given form. That then would be possible due to the import of the other Form like I stated before. -> -> (2) Assuming 1 is possible (I'd really appreciate if you could explain -> me how to acomplish that), what sense does it make to have 2 ActionForms -> variables if only one form can be submitted at a time anyways? (maybe -> I'm missing something else) -> As longer I think about it I am really not sure anymore (I am at work not home where I have the example that I am refering to) but I think I did it with Jscript and submited two form through one: like this
-> (3) Despite 1 and 2, there must be a method to obtain the ActionForm(s) -> associated to an Action (during an specific request / post). Right? -> Jupp, that right! -> Regards, -> Freddy. -> King regards --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org