RE: Form properties reset ?

2001-10-24 Thread Tom Klaasen (TeleRelay)
-Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: maandag 22 oktober 2001 19:51 To: [EMAIL PROTECTED] Subject: Re: Form properties reset ? --- Ted Husted [EMAIL PROTECTED] wrote: You can also be more careful about which properties are reset when

RE: Form properties reset ?

2001-10-23 Thread Tom Klaasen (TeleRelay)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: maandag 22 oktober 2001 19:03 To: [EMAIL PROTECTED] Subject: Re: Form properties reset ? Yes, I would expect this. Any properties you set in the form bean from the first action will be cleared

Re: Form properties reset ?

2001-10-23 Thread Ted Husted
If you specify an ActionForm in the mapping for an Action, the contract is that the ActionServlet will autopopulate the form (see BeanUtils.populate()). Since there can only be one ActionForm under a given name in a given request, to fulfill its contract, the ActionServlet will use whatever form

Re: Form properties reset ?

2001-10-22 Thread martin . cooper
Yes, I would expect this. Any properties you set in the form bean from the first action will be cleared when the form bean is reset prior to populating it for the second action. If you need to add additional parameters to the request, you'll need to do it by adding them to the URL used to

Re: Form properties reset ?

2001-10-22 Thread Ted Husted
You can also be more careful about which properties are reset when. Both the mapping and the request are passed to reset, giving you the opportunity to look ahead. The default reset does nothing. The properties are only affected if you've overridden this class and specified what happens to the

Re: Form properties reset ?

2001-10-22 Thread David Winterfeldt
--- Ted Husted [EMAIL PROTECTED] wrote: You can also be more careful about which properties are reset when. Both the mapping and the request are passed to reset, giving you the opportunity to look ahead. The default reset does nothing. The properties are only affected if you've