RE: Dyna Validator Form values

2004-02-12 Thread Matthias Wessendorf
hi,

perhaps you mean
request.getSession().removeAttribute(nameOfFormBean);

cheers,

-Original Message-
From: Darren Massel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 12, 2004 7:08 PM
To: '[EMAIL PROTECTED]'
Subject: Dyna Validator Form values




 How do i reset the values of a Dyna Validator form that is in the
session? So that when i link back to that form once it has been
submitted the values are blank.

In the Action 
form.reset(..) and form.set(String, ) 
 
intial= in the form definition

...had no affect.

cheers.


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance
Management and, following the recent acquisition of Goldenhill Computer
Systems Ltd, HR and Payroll software. Cedars solutions deliver increased
capabilities and offer a direct and measurable financial return on
investment.  The company has a customer base of more than 500
organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health,
Local Authorities, Not for Profit, Retail and Utilities.  For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
Cedar Software Ltd. Incorporation number 3214465
 ***


-
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: Dyna Validator Form values

2004-02-12 Thread Wendy Smoak
 From: Darren Massel [mailto:[EMAIL PROTECTED] 
 How do i reset the values of a Dyna Validator form that is 
 in the session?

The 'initialize' method is inherited from DynaActionForm:

http://jakarta.apache.org/struts/api/org/apache/struts/action/DynaActio
nForm.html#initialize(org.apache.struts.action.ActionMapping)

public void initialize(ActionMapping mapping)

Initialize all bean properties to their initial values, as specified in
the FormPropertyConfig elements associated with the definition of this
DynaActionForm.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]