RE: problem with removing form bean

2005-06-21 Thread Rivka Shisman
Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 4:00 PM To: Struts Users Mailing List Subject: Re: problem with removing form bean You should ensure your mapping scope is indeed 'request' e.g. //Test for presence of attribute in Map if (mapping.g

RE: problem with removing form bean

2005-06-21 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> The problem is that when I get the input form the second time - it > still shows the data of the first Item that was created before, Perhaps simply call form.reset() before returning from your save action. - Dave - To uns

Re: problem with removing form bean

2005-06-21 Thread Martin Gainty
You should ensure your mapping scope is indeed 'request' e.g. //Test for presence of attribute in Map if (mapping.getAttribute() != null) { //Test that mapping is indeed scoped as request if ("request".equals(mapping.getScope())) { //remove the attribute from the request request.removeAttribute(ma