struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <ekb...@swbell.net>
Subject Re: Pre-populating Form Bean
Date Sat, 21 Dec 2002 03:26:05 GMT
Your problem is that you need validate="false" -- that will get rid of 
the requirement to have 'input="?"' and will allow your action to 
execute as you expect.  Nothing major at all - very subtle problem.

Mark Conlin wrote:

>This can not be the correct way to do this.
>
>I removed any reference to the form from the pre-Action:
>
><action path="/customer.customerAccountDetails.pre.edit"
>type="com.yordata.action.customer.CustomerAccountDetailsPreEditAction">
><forward name="success" path="customer.edit_accountdetails"/>
></action>
>
>Then I placed the Form into the session in the action like this:
>session.setAttribute( "customerDetailsForm", custForm);
>
>This works but, I do not want to hard-code the form reference like this.
>
>Mark
>

-- 
Eddie Bush





--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message