Instead of forwarding to 'setup.jsp' that has no presentation, why not
forward to 'setup.do'. If there is not presentation, and just action,
shouldn't it BE an action rather than a (non)presentation component. Your
setup.do action would then perform the prepopulation of the form and forward
to
+1
-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 19:11
To: Struts Users Mailing List
Subject: Re: Pre-populating ActionForms
Instead of forwarding to 'setup.jsp' that has no presentation, why not
forward to 'setup.do
,
Mohan
-Original Message-
From: David Graff [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 9:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Pre-populating ActionForms
Override the 'reset' method of the ActionForm descendant, set your initial
values in there, then (most likely) when
Override the 'reset' method of the ActionForm descendant, set your initial
values in there, then (most likely) when you want to reference the page,
reference the .do that would forward you out to that page.
Hope that helps.
Mohan Radhakrishnan [EMAIL PROTECTED] wrote in message
4 matches
Mail list logo