Re: Reset method in Form Bean

2004-02-21 Thread Christian Bollmeyer
y. Does the problem persist if you hit the browser's reload button? HTH, -- Chris. > -Original Message- > From: Srinivas Kusunam [mailto:[EMAIL PROTECTED] > Sent: Friday, February 20, 2004 9:55 PM > To: [EMAIL PROTECTED] > Subject: Re: Reset method in Form Bean

RE: Reset method in Form Bean

2004-02-20 Thread Srinivas Kusunam
Message- From: Srinivas Kusunam [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 9:55 PM To: [EMAIL PROTECTED] Subject: Re: Reset method in Form Bean what is the scope your FormBean ??? >>> [EMAIL PROTECTED] 02/20/04 10:32AM >>> Hi, I am having jsp page , whic

RE: Reset method in Form Bean

2004-02-20 Thread Ramachandran
the scope for my form bean is in 'Request Scope' -Original Message- From: Srinivas Kusunam [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 9:55 PM To: [EMAIL PROTECTED] Subject: Re: Reset method in Form Bean what is the scope your FormBean ??? >>> [EMA

Re: Reset method in Form Bean

2004-02-20 Thread Srinivas Kusunam
what is the scope your FormBean ??? >>> [EMAIL PROTECTED] 02/20/04 10:32AM >>> Hi, I am having jsp page , which contains a text box for searching. Here i am having form bean for getting and setting value. In this form bean, i use the Reset method for reseting t

Reset method in Form Bean

2004-02-20 Thread Ramachandran
Hi, I am having jsp page , which contains a text box for searching. Here i am having form bean for getting and setting value. In this form bean, i use the Reset method for reseting the values for each request. But it is not at all reseting the values each time. The previous value is

Re: ActionForm's reset method is invoked twice ??

2003-09-09 Thread Michael Ruppin
Check this thread: http://marc.theaimsgroup.com/?t=10559454236&r=1&w=2 HTH m Fumitada Hattori <[EMAIL PROTECTED]> wrote: Hi gurus, I wanna know that ActionForm's reset method is invoked twice ? There's an action tag in my struts-config.xml. type="exampl

ActionForm's reset method is invoked twice ??

2003-09-08 Thread Fumitada Hattori
Hi gurus, I wanna know that ActionForm's reset method is invoked twice ? There's an action tag in my struts-config.xml. and I got a jsp named test.jsp With my application, seems that both when I visite the test.jsp and I click the submit button, reset method is invoked

RE: How to activate Reset method in ActionForm?

2003-07-28 Thread Chen, Gin
/2003 7:18 AM Subject: How to activate Reset method in ActionForm? Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my ActionForm, but it is not activated. Also, I would like to know if the reset method is read before the display of the jsp. Thanks

How to activate Reset method in ActionForm?

2003-07-28 Thread guruprasad jakka
Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my ActionForm, but it is not activated. Also, I would like to know if the reset method is read before the display of the jsp. Thanks. J G Guru Prasad V sem, Information Technology, Bachelor

RE: How to activate Reset method in ActionForm?

2003-07-28 Thread Laurent PETIT
Hello, AFAIK, reset() method is always called for your ActionForm defined in the action mapping. The process is well defined : - the ActionForm instance is created or fetched from the scope defined by the scope attribute of the actionmapping in struts-config.xml - the reset() method of the

Re: How to activate Reset method in ActionForm?

2003-07-28 Thread Vinayak Birari
Hi, according to struts docs... The methods such as reset and validate are callback methods, container will call these methods, we can not call these them >>> [EMAIL PROTECTED] 07/28/03 02:49PM >>> Hi, how do I activate the reset method in the ActionForm. I have included the

Re: How to activate Reset method in ActionForm?

2003-07-28 Thread Nagendra Kumar O V S
hi, u can't activate reset method from the actionform when the form is submitted , reset is called automatically and then the form elements are pupulated to the action form   - nagi   ---Original Me

How to activate Reset method in ActionForm?

2003-07-28 Thread guruprasad jakka
Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my ActionForm, but it is not activated. Also, I would like to know if the reset method is read before the display of the jsp. Thanks. J G Guru Prasad V sem, Information Technology, Bachelor of

Re: Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread "José Fortunato H. Tomás"
Thanks any way, I have already the solution. Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and f

Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread "José Fortunato H. Tomás"
Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and from there we can set some request.Atributes (fo

RE: ActionForm 'reset' method being called when JSP is rendered

2003-06-20 Thread Yansheng Lin
er. Thanks! -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: June 20, 2003 5:10 AM To: Struts Users Mailing List Subject: Re: ActionForm 'reset' method being called when JSP is rendered The mistake most people make is resetting properties needlessly. G

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-20 Thread Jing Zhou
- Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 6:10 AM Subject: Re: ActionForm 'reset' method being called when JSP is rendered > Jerry Ja

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-20 Thread Ted Husted
Jerry Jalenak wrote: The doStartTag has a call to initFormBean; in initFormBean there is a call to RequestUtils.createActionForm, followed by a call to the ActionForms 'reset' method. In a wizard type of application, this could indeed cause problems where the reset method may be clear

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-20 Thread Ted Husted
As Craig mentioned, reset is always called before an autopopulation event. For consistency, it is also called if the html:form tag needs to instantiate the form itself. In a multi-action sequence, the request is run through the same gauntlet each time. A forwarded request within the container i

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Craig R. McClanahan
> Cc: [EMAIL PROTECTED] > Subject: Re: ActionForm 'reset' method being called when JSP is rendered > > I have looked at this again, and in 1.1 rc2 on tomcat 4.1.18 the reset > is called for each action of a multi action sequence sharing a form bean > even though the f

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Paul Harrison
I have looked at this again, and in 1.1 rc2 on tomcat 4.1.18 the reset is called for each action of a multi action sequence sharing a form bean even though the form bean is in session scope and only created once - I have written a demo app with logging that shows this behaviour - should I submi

RE: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Jerry Jalenak
was seeing the 'reset' method for the ActionForm being called. Diving into the FormTag code, I found the following: public int doStartTag() throws JspException { // Look up the form bean name, scope, and type if necessary this.lookup(); // Create an appropr

RE: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Richard J. Duncan
:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:43 AM To: Struts Users Mailing List Subject: Re: ActionForm 'reset' method being called when JSP is rendered I am writing an application with a series of "wizard" type pages, so I thought that I would use one big ActionForm

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Paul Harrison
I am writing an application with a series of "wizard" type pages, so I thought that I would use one big ActionForm in session scope and each page add extra information to it - however this did not work as reset was being called at each page invocation - I am interested to hear that reset should

RE: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Jerry Jalenak
EMAIL PROTECTED] -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:56 AM To: Struts Users Mailing List Subject: Re: ActionForm 'reset' method being called when JSP is rendered In Struts 1.0.2 and later, reset is called by the html:fo

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-19 Thread Ted Husted
In Struts 1.0.2 and later, reset is called by the html:form tag *if* the ActionForm is being instantiated at that time. The scope shouldn't matter. Also remember that the html:form tag is looking at the Action to which it submits, which may not be "Action 1". If these are the same Action, or sh

Re: ActionForm 'reset' method being called when JSP is rendered

2003-06-18 Thread Jing Zhou
- Original Message - From: "Jerry Jalenak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 9:04 AM Subject: ActionForm 'reset' method being called when JSP is rendered > I'm seeing some odd behaviour with one of my ac

ActionForm 'reset' method being called when JSP is rendered

2003-06-18 Thread Jerry Jalenak
I'm seeing some odd behaviour with one of my actions. If anyone can explain this I'd sure appreciate it Here's what I've got - in struts-config I have an ActionForm that is shared by two Actions. The ActionForm is created in session scope by the first action, and referenced by the second Act

[Carrier-Tips-On-Struts] The Reset Method

2003-06-16 Thread Jing Zhou
Hi, All, Many Struts users are concerned about the reset on a checkbox, and some even *hate* the behavior of the checkbox. We have a description of the problem and a complete solution to it in our project Wheels. The source codes for the reset algorithm are released for your references. See the Ti

Re: Question about the reset() method

2003-06-12 Thread ashwani . kalra
hwani.kalra/Polaris) t.de>Subject: Question about the reset() method

Re: Question about the reset() method

2003-06-12 Thread Nadja Senoucci
Hello, Thanks for that information, Dirk. The name of that method is a bit confusing, I think, as it seems to be doing more of an initialization than reseting. Anyway, I'll test around with a bit to see what I can do with. :) Greetings, Nadja ---

Re: Question about the reset() method

2003-06-12 Thread Dirk Markert
Hallo Nadja, as far as I know the intend of the reset method is to handle the checkbox problem (see mailing today from Kristine). The browser will only send infos about checked checkboxes. For unchecked checkboxes nothing is sent. The reset method is called before your action will be populated

Question about the reset() method

2003-06-12 Thread Nadja Senoucci
Hello everyone, coudl anyone tell me what the reset() method in ActionForms is actually good for? Meaning: Does it get called when I use a cancel button or when else? Does ist get called 'by itself' at all or do I have to make an explicit call to it when I want to use it? Greeti

advice on reset method not being called 2nd time

2003-06-06 Thread netizen1
input="/survey/new_survey_question.jsp" * @struts.action-forward name="Cancel" path="/survey/survey_admin.jsp" redirect="true" * @struts.action-forward name="Save" path="/survey/survey_admin.jsp" redirect="true" When

RE: reset method not being called for DynaValidatorForm

2003-03-26 Thread Sri Sankaran
Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 7:36 PM To: Struts Users Mailing List (E-mail) Subject: reset method not being called for DynaValidatorForm I have the age-old "how to un-check the checkbox" problem. The only twist is that this

reset method not being called for DynaValidatorForm

2003-03-25 Thread Wendy Smoak
I have the age-old "how to un-check the checkbox" problem. The only twist is that this is a DynaValidatorForm. I've tried putting various things into the 'reset' method of my Form, but nothing works: public void reset( ActionMapping mapping, HttpServletRequest reque

RE: ActionForm reset method

2003-03-25 Thread Renato Romano
marzo 2003 15.37 To: Struts; [EMAIL PROTECTED] Subject: RE: ActionForm reset method RequestProcessor is the class to which the ActionServlet delegates the bulk of its work processing a request (ie: populate form, call Action execute, etc...). Struts makes it easy to replace the standard RequestPro

RE: ActionForm reset method

2003-03-25 Thread Andrew Hill
e the best documentation is the source code itself :-) -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 March 2003 22:17 To: [EMAIL PROTECTED]; 'Struts Users Mailing List' Subject: RE: ActionForm reset method Ok. That's all clear but one thing:

RE: ActionForm reset method

2003-03-25 Thread Renato Romano
ginal Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: martedì 25 marzo 2003 14.49 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: ActionForm reset method Depends on what your cases are... In my app I needed to switch it off for certain specific actions so I created m

RE: ActionForm reset method

2003-03-25 Thread Andrew Hill
om: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 March 2003 21:40 To: 'Struts Users Mailing List' Subject: ActionForm reset method Is there any way to control the ActionForm reset method invocation ? I need to call it "manually", only in some cases. It seems the o

ActionForm reset method

2003-03-25 Thread Renato Romano
Is there any way to control the ActionForm reset method invocation ? I need to call it "manually", only in some cases. It seems the only alternative is to define a myReset method ... Thanks Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vi

RE: when will the reset method be called

2003-03-10 Thread apachep2
Can you search archive? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 3:57 PM To: [EMAIL PROTECTED] Subject: when will the reset method be called Hi, When does the reset method of the formbean get called. and why?? It is getting called

when will the reset method be called

2003-03-10 Thread Rajesh . Jayabalan
Hi, When does the reset method of the formbean get called. and why?? It is getting called automatically before coming into my action (second time) how do I stop calling reset.? Regards Rajesh J - To unsubscribe, e-mail

Re: Reset method

2003-01-31 Thread Michal Postupalski
On 1/31/2003 5:43 AM, George Jacob wrote: Hi all I have a requirement like, everytime my ActionForm is populated, it should reset . I know that it is possible by using reset() method. But please explain me the way in which i can make use of it. Is there any configuration is required in the

Reset method

2003-01-30 Thread George Jacob
Hi all I have a requirement like, everytime my ActionForm is populated, it should reset . I know that it is possible by using reset() method. But please explain me the way in which i can make use of it. Is there any configuration is required in the struts-config.xml file? Or simply we need to

RE: Why is the reset method called when I submit the form?

2003-01-25 Thread James Turner
> From: Loren Hall [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 25, 2003 5:02 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: Why is the reset method called when I submit the form? > > > no, i'm not chaining my actions . . . I like to do m

RE: Why is the reset method called when I submit the form?

2003-01-25 Thread Loren Hall
be mine. Loren -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:44 AM To: Struts Users Mailing List Subject: RE: Why is the reset method called when I submit the form? Are you trying to chain your actions? -Original Message- From: Lor

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread Craig R. McClanahan
On Fri, 24 Jan 2003, ROSSEL Olivier wrote: > > My question is: would it be interesting to add a "resetForm" attribute > to the tag. It would be optionnal, with default value to "true". > > Gurus seem not to like this idea. > My feeling is that adding this option would tempt many users (especia

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread Andrew Hill
Are you trying to chain your actions? -Original Message- From: Loren Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, 23 January 2003 21:40 To: Struts Users Mailing List Subject: RE: Why is the reset method called when I submit the form? I had similar behavior that I found odd with

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread Andrew Hill
you directly since all my posts to the struts list over the last few days have been failing (some dns problem somewhere!) -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 January 2003 18:19 To: 'Struts Users Mailing List' Subject: RE: Why is

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread Andrew Hill
[mailto:[EMAIL PROTECTED]] Sent: Friday, 24 January 2003 18:52 To: '[EMAIL PROTECTED]'; Struts Users Mailing List Subject: RE: Why is the reset method called when I submit the form? > > The problem is that you cannot control the reset-populate-validate > cycle. > > >

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread Andrew Hill
The reason for having a reset() method is to reset checkboxes and other such widgets that the broswer doesnt bother to submit when they are empty. As you know a checkbox in html will only have its value submitted by the browser if it is ticked. If it isnt ticked, nothing is submitted (not a null

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread ROSSEL Olivier
> > The problem is that you cannot control the reset-populate-validate > cycle. > > > You can if you override the RequestProcessor :-) > > Ive actually had to do something similar in regards to form > population and > form instantiation , in which I defined my own ActionMapping > class to def

Re: Why is the reset method called when I submit the form?

2003-01-24 Thread Gemes Tibor
2003. január 24. 11:18 dátummal ROSSEL Olivier ezt írtad: > The problem is not to customize the formBean to your needs. > The problem is that you cannot control the reset-populate-validate > cycle. > > Well, I am wrong, you can customize the validate step!!! > > In fact, my solution is to add a res

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread ROSSEL Olivier
> > I said that SOMETIMES it is very annoying. > > You have the request and the mapping in the request, so you > can decide on each > reset() written by you that you want it happen or not. > > I had only one form for which I didn't need the reset > sometimes. So I did the > following: > >

Re: Why is the reset method called when I submit the form?

2003-01-24 Thread Gemes Tibor
2003. január 24. 10:54 dátummal ROSSEL Olivier ezt írtad: > I said that SOMETIMES it is very annoying. You have the request and the mapping in the request, so you can decide on each reset() written by you that you want it happen or not. I had only one form for which I didn't need the reset some

RE: Why is the reset method called when I submit the form?

2003-01-24 Thread ROSSEL Olivier
> The reset() method in the DynaActionForm class is called at > the same time > than the ActionForm's one is, with a little difference. The > former cannot be > empty, as it initializes the passed parameters to their > original value(which > could be the one passed by

RE: Why is the reset method called when I submit the form?

2003-01-23 Thread Marco Tedone
The reset() method in the DynaActionForm class is called at the same time than the ActionForm's one is, with a little difference. The former cannot be empty, as it initializes the passed parameters to their original value(which could be the one passed by the configuration file or the Java n

Re: Why is the reset method called when I submit the form?

2003-01-23 Thread Dennis Muhlestein
checkboxes work great with the reset method if the default is false, but I have a situation where the default is true. If they uncheck the checkbox, then the property is not submitted and the value is still true. Has anyone dealt with this turn of the problem? -Dennis On Thu, 2003-01-23 at 06

Re: Why is the reset method called when I submit the form?

2003-01-23 Thread Jeremy Cavagnolo
My forms don't seem to be working this way at all. First, I have a form for users to edit their profile. The ProfileForm has a Profile getter and setter, which is accessed through the jsp (property=profile.name ...). Inside the reset() method, I get the users Profile object from the se

Re: Why is the reset method called when I submit the form?

2003-01-23 Thread Nicolas De Loof
> A long time ago, someone suggested to add a control > in the struts-config.xml so the reset() is not always mandatory > but can be disabled in the struts-config.xml. > > May be it sounds like an anti-pattern from the gurus, > but to me, it sounds like a very interesting option, > for real-life ap

RE: Why is the reset method called when I submit the form?

2003-01-23 Thread Jarnot Voytek Contr AU HQ/SC
y 23, 2003 8:36 AM > To: 'Struts Users Mailing List' > Subject: RE: Why is the reset method called when I submit the form? > > > processPopulate(...) in RequestProcessor does 1 and 2, > processValidate(...) > does 4. > > -- > Voytek Jarnot > Quidquid la

RE: Why is the reset method called when I submit the form?

2003-01-23 Thread Jarnot Voytek Contr AU HQ/SC
uts Users Mailing List' > Subject: RE: Why is the reset method called when I submit the form? > > > > 1. Struts find the formbean on scope or creates a new one > > 2. formbean.reset() is called to set all properties to > default values > > 3. formbean is popula

RE: Why is the reset method called when I submit the form?

2003-01-23 Thread ROSSEL Olivier
> 1. Struts find the formbean on scope or creates a new one > 2. formbean.reset() is called to set all properties to default values > 3. formbean is populated from request parameters > 4. formbean.validate() is called (if configured) Which class makes step 2? ActionServlet? RequestProcessor? And s

Re: Why is the reset method called when I submit the form?

2003-01-23 Thread Nicolas De Loof
om being saved? > > Loren > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 1:47 PM > To: [EMAIL PROTECTED] > Subject: RE: Why is the reset method called when I submit the form? > > > I

RE: Why is the reset method called when I submit the form?

2003-01-23 Thread Loren Hall
ld data? 2) Isn't the very role of validating to prevent unruly, non-conforming data from being saved? Loren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:47 PM To: [EMAIL PROTECTED] Subject: RE: Why is the reset method cal

RE: Why is the reset method called when I submit the form?

2003-01-22 Thread pqin
ary 22, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: Why is the reset method called when I submit the form? It seems that when I submit my form, the reset method is called before the validate method. I am using struts 1.0.2. Any insight? -Jeremy -- To unsubscribe, e-mail: <mailto

Why is the reset method called when I submit the form?

2003-01-22 Thread Jeremy Cavagnolo
It seems that when I submit my form, the reset method is called before the validate method. I am using struts 1.0.2. Any insight? -Jeremy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Help with reset() method in an subclass of DynaValidatorForm

2002-12-12 Thread Srinivas Bhagavathula
I am using with a property of "deleted" which is defined as an array String in Struts-config.xml file as where com.f.M.G.w.ProductDynaValidatorForm is a subclass of org.apache.sturts.validator.DynaValidatorForm I need to override the reset() Method in ProductDynaValidat

Help with reset() method in an subclass class of DynaValidatorForm

2002-12-09 Thread Srinivas Bhagavathula
Hi, I am using with a property of "deleted" which is defined as an array String in Struts-config.xml file where com.f.M.G.w.ProductDynaValidatorForm is a subclass of org.apache.sturts.validator.DynaValidatorForm. I need to override the reset() Method in ProductDynaVal

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 14:48 dátummal ROSSEL Olivier ezt írtad: > At the moment, I use DynaActionsForms. > I override them and make an empty reset() method. > Nasty, I admit. > > That's why I would like very much to know how to handle > reset() both with Dyna and non-Dyna action

RE: reset method calls

2002-12-05 Thread ROSSEL Olivier
etting at all or conditinally resetting each > property depending > on an additional attribute you specify for your form-property > with the > tag. ) At the moment, I use DynaActionsForms. I override them and make an empty reset() method. Nasty, I admit. That's why I would lik

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 14:34 dátummal ROSSEL Olivier ezt írtad: > Suppose I have something like: > a Form is session > i fill one field with a JSP+action > that action redirects to an action > that action forwards to a JSP (a tile) > that tile calls several actions > on of those forwards to another acti

RE: reset method calls

2002-12-05 Thread ROSSEL Olivier
> > Can someone explains me when(and why if possible) the reset > method of > > Action forms > > is called. > > On every reuse of the ActionForm. Because it is necessary for ^ What are you calling a reuse? Suppose I have something like: a Form

Re: reset method calls

2002-12-05 Thread Gemes Tibor
2002. december 5. 13:22 dátummal [EMAIL PROTECTED] ezt írtad: > Can someone explains me when(and why if possible) the reset method of > Action forms > is called. On every reuse of the ActionForm. Because it is necessary for the fields to be resetted to a proper state. Think of c

reset method calls

2002-12-05 Thread meissa . Sakho
Hi all, Can someone explains me when(and why if possible) the reset method of Action forms is called. Is it possible that the reset method is called even when there is no explicit call to it ? thanks in advance Meissa -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addi

session constants in ActionForms and the reset-Method

2002-11-27 Thread Sven Frederik Pohl
be set to constant, so that the user won't be able to edit their values in the form. The ActionForm.reset method is called every time before its values are repopulated by the submitted HTML-form (so the HTTP-request). So the reset-Method should not reset these constant values. So it only

RE : RE : RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
The reset method is called, and an error occurs during it. But Struts doesn't seem to be aware of this error. Sylvie. > -Message d'origine- > De : Arnaud HERITIER [mailto:aheritier@;sopragroup.com] > Envoyé : lundi 4 novembre 2002 15:21 > À : 'Struts Users Mai

RE: RE : RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread Arnaud HERITIER
Did you verify that the reset method is called ??? I think that this method is not called the first time you access to the form. Arnaud > -Message d'origine- > De : PALLUEL Sylvie [mailto:sylvie.palluel@;cnamts.fr] > Envoyé : lundi 4 novembre 2002 15:10 > À : 'Str

RE : RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
We tried it, but with no more success. Sylvie. > -Message d'origine- > De : Arnaud HERITIER [mailto:aheritier@;sopragroup.com] > Envoyé : lundi 4 novembre 2002 14:46 > À : 'Struts Users Mailing List' > Objet : RE: RE : How to display an error from reset me

RE: RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread Arnaud HERITIER
AIL PROTECTED] > Objet : RE : How to display an error from reset method (ActionForm) ? > > > Hello, > > The problem is that the reset method doesn't return ActionErrors. > > Sylvie. > > > -Message d'origine- > > De : Arnaud HERITIER [mail

RE: RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread Arnaud HERITIER
ist'; [EMAIL PROTECTED] > Objet : RE : How to display an error from reset method (ActionForm) ? > > > Hello, > > The problem is that the reset method doesn't return ActionErrors. > > Sylvie. > > > -Message d'origine- > > De : Arnaud HERIT

RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
Hello, The problem is that the reset method doesn't return ActionErrors. Sylvie. > -Message d'origine- > De : Arnaud HERITIER [mailto:aheritier@;sopragroup.com] > Envoyé : lundi 4 novembre 2002 14:11 > À : 'Struts Users Mailing List' > Objet : RE:

RE: How to display an error from reset method (ActionForm) ?

2002-11-04 Thread Arnaud HERITIER
}catch(NumberFormatException nfe){ errors.add(Constants.DELAI_FIELD_ERROR, new ActionError("error.integerformat")); } } return errors; Arno. -Message d'origine- De : PALLUEL Sylvie [mailto:sylvie.palluel@;cnamts.fr] Envoye : lundi 4 novembre 2002 14:02 A : [EMAIL PROTECTED

How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
Hello,   I'm using the reset method in a class which inherits from ActionForm to initialize my form from database.   This method can fail and generate an error that I want to display using ActionErrors. How can I do this ?   Thanks for your help.   S

Pb using ActionErrors from reset method (ActionForm)

2002-10-30 Thread PALLUEL Sylvie
Title: Message Hello, I'm using the reset method in a class which inherits from ActionForm to initialize my form from database. This method can fail and generate an error that I want to display using ActionErrors. How can I do this ?   Thanks for your help.   S

reset-method with multipage DynaValidatorForm

2002-09-30 Thread Ralf Lorenz
form. fine For the actual insert of the data I configured this : The reset-method of the Form is changed so that only the collections are not reseted. Anything else gets set to the initial value as in the source code of the DynaValidatorForm class. The navigation (next, pre

Re: DynaActionForm and reset method called always

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Axel Stahlhut wrote: > Date: Tue, 30 Jul 2002 14:03:32 +0200 > From: Axel Stahlhut <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: DynaActionFo

RE: DynaActionForm and reset method called always

2002-07-30 Thread Kamholz, Keith (corp-staff) USX
I have the opposite problem. I can't get struts to call the reset method on my ActionForm. I posted yesterday about the issue, so if someone has any idea of what fundamental thing I'm doing wrong, please let me know. Thanks! ~ Keith http://www.buffalo.edu/~kkamholz -Origin

Re: DynaActionForm and reset method called always

2002-07-30 Thread Adolfo Miguelez
I run in same issue, I think, time ago. What I did, if I can remember something after the holidays :-) was overriding the class with reset method returning null, and specify this newly created class in the form bean definition in the struts-config. Adolfo >From: "Axel Stahlhut&

DynaActionForm and reset method called always

2002-07-30 Thread Axel Stahlhut
Hi. I switched to Struts1.1 beta now and I wonder if there is a way to avoid the framework from resetting the DynaActionForm on every request. This is because i reshow the view to the user to commit the data. The, in the second request, which is not send by a form, i wnat to insert the values

calling reset() method

2002-07-29 Thread Kamholz, Keith (corp-staff) USX
However, when I do this, the checkboxes are always unchecked when the user reaches the form, and it's annoying for the user to have to recheck the boxes every time another change is made. So now I'm trying to do thing the "proper struts way". I know the reset() method is su

RE: Question- Reset method usage

2002-06-27 Thread Kamholz, Keith (corp-staff) USX
Thanks for the input. So should I just use the reset method to set my boolean properties (checkboxes) to false? ~ Keith -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 10:33 AM To: Struts Users Mailing List Subject: Re: Question- Reset

Re: Question- Reset method usage

2002-06-27 Thread Sandeep Takhar
t. I > found some info online, but some of it didn't make > sense. > One issue deals with using an in a > form. I know that you > have to set the boolean property to false in the > reset method, but i thought > the reset method was called when you click the reset > but

Question- Reset method usage

2002-06-27 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I have a couple little questions that I've been trying to figure out. I found some info online, but some of it didn't make sense. One issue deals with using an in a form. I know that you have to set the boolean property to false in the reset method, but i thought the re

ActionForm-reset() method

2002-05-18 Thread Chuck Cavaness
Thanks for the insight on the reset() method. Chuck At 09:40 AM 5/18/2002 -0700, you wrote: >On Sat, 18 May 2002, Galbreath, Mark wrote: > > > Date: Sat, 18 May 2002 11:27:15 -0400 > > From: "Galbreath, Mark" <[EMAIL PROTECTED]> > > Reply-To: Str

Selectively calling the reset method in an ActionForm

2002-02-08 Thread Antony Stace
Hi I have a ActionForm which I want to use in session scope. I have a number of different Actions which use this form. However I do not always want to reset all the fields in the ActionForm, it depends on which Action has been called. What is the best design approach to selectively reseting th

Reset Method always resets field to null??

2001-11-14 Thread tw . richter
Hi out there! I have a problem concerning reset method and forwarding to the same form. I have a link in a submenue like to make the method as generic as possible. The request parameter determines what table I use for to edit the values. There is a formbean, an Actionforward method and a

RE: reset method of ActionForm bean

2001-10-31 Thread Fuller, Wayne
Make sure you are overridding the ActionForm reset(...) and not just creating your own. -Original Message- From: Antony [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 9:38 AM To: [EMAIL PROTECTED] Subject: reset method of ActionForm bean How should I configure struts

RE: reset method of ActionForm bean

2001-10-31 Thread Tom Klaasen (TeleRelay)
e) So the reset() method isn't called the first time your form is used, only the second and following times. Confused me too the first time I encountered it :-) hth, tomK > -Original Message- > From: Antony [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 16:3

  1   2   >