Re: Struts ActionForm Question

2003-11-20 Thread Ted Husted
This is really a question for the USER list. If there is any followup, please continue the thread there. But, the configuration isn't different from any web application. The compiled classes can be under WEB-INF/classes or in a JAR under WEB-INF/lib. The Struts JARs (including the Commons and

Value Object , ActionForm question(mapping)

2003-01-28 Thread Vinay
Is it needed that ActionForm and Value Object are mapped. Because my ActionForm for the view is represented as has two attributes with date from and date to for two textboxes This is represented in the Value Object as single persistent variable and database as a single column. How do I go

java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Jagdish Arora
ok, though this problem came up dealing with ActionForms, I completely understand that this is a fundamental Java question, nothing more, so I will pose it as that only. Also, I am prepared for taking some thisQuestion(OrYou)DoesntDeserveToBeHere flak: String s1 = + null;

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Andrew Hill
disguised as an ActionForm question ok, though this problem came up dealing with ActionForms, I completely understand that this is a fundamental Java question, nothing more, so I will pose it as that only. Also, I am prepared for taking some thisQuestion(OrYou)DoesntDeserveToBeHere flak

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Mark Galbreath
That's pretty curious; I would never have thought to do this, and wonder why you are. Anyway, it seems pretty obvious that s1 == empty String + null and s1 != null, so it fails the s1 == null test. You, of course, cannot see the System.out.println of an empty String, with or without a null

RE: java.lang.String question disguised as an ActionForm question

2003-01-17 Thread Jarnot Voytek Contr AU HQ/SC
Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:50 AM To: 'Struts Users Mailing List' Subject: RE: java.lang.String question disguised as an ActionForm question That's pretty curious; I

RE: ActionForm question

2002-06-14 Thread Soomar, Muki (R.)
]] Sent: Thursday, June 13, 2002 12:10 PM To: Struts-User (E-mail) Subject: ActionForm question Where do we define where the view gets forwarded to by the ActionServlet when we encounter validation errors from an ActionForm in the struts-config.xml file? Or do we not need to do that at all

ActionForm question

2002-06-13 Thread Soomar, Muki (R.)
Where do we define where the view gets forwarded to by the ActionServlet when we encounter validation errors from an ActionForm in the struts-config.xml file? Or do we not need to do that at all and the original view gets selected and uses the html:errors/ tag which displays the errors in

RE: ActionForm question

2002-06-13 Thread Soomar, Muki (R.)
Dont have to answer this. Sorry, for posting it. Got the answer - Chuck's Chapter 7 talks about it. Thanks. Muki Soomar Where do we define where the view gets forwarded to by the ActionServlet when we encounter validation errors from an ActionForm in the

RE: ActionForm question

2002-06-13 Thread wbchmura
I am looking into the same problem... I just read chapter 7 and did not see anything about it... HELP? -Original Message- From: msoomar [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:25 PM To: struts-user Subject: RE: ActionForm question Dont have to answer

RE: ActionForm question

2002-06-13 Thread Leonardo Maciel
Isn't it the input attribute of the action tag in the struts-config.xml file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 4:40 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: ActionForm question I am looking

RE: ActionForm question

2002-06-13 Thread wbchmura
to the name of the tile definition and it works wunderbar Thanks -Original Message- From: LMaciel [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 4:34 PM To: struts-user Subject: RE: ActionForm question Isn't it the input attribute of the action tag in the struts-config.xml

ActionForm Question in wizard process with browser back button press case.

2002-05-10 Thread Park, Dongwon-Contractor
Hello, I could catch out-of-sync process in my wizard process but my Form bean could have unwanted changes. Let me explain in more detail. User is now step 3 screen and click back button in browser and goes back to step 1 screen. In step 1 screen, user modify his previous input and click

ActionForm Question in wizard process with browser back button press case.

2002-05-10 Thread Park, Dongwon-Contractor
Hello, I could catch out-of-sync process in my wizard process but my Form bean could have unwanted changes. Let me explain in more detail. User is now step 3 screen and click back button in browser and goes back to step 1 screen. In step 1 screen, user modify his previous input and

ActionForm question

2001-09-14 Thread Filippo Fratoni
Title: ActionForm question I'm used to work with struts end to handle form's field value I usually build an ActionForm with the corrisponding getters and setters.. But this time I have a form to wich the user can add new fields on line, for example.. [xxx] [yy

ActionForm question ?

2001-09-04 Thread emmanuel.boudrant
Hello, I've got a functionnal problem with ActionForm: I fill a form and submit then when I re-display this form, my old value are display on the form. How can I initialize the ActionForm after sumit ? Where the ActionForm is stocked (session, request, ... ) ? Thanx.

RE: ActionForm question ?

2001-09-04 Thread Marcel Andres
To: [EMAIL PROTECTED] Subject: ActionForm question ? Hello, I've got a functionnal problem with ActionForm: I fill a form and submit then when I re-display this form, my old value are display on the form. How can I initialize the ActionForm after sumit ? Where the ActionForm is stocked

Re: ActionForm question ?

2001-09-04 Thread Troy Hart
you the values. If you need a initialized form, use request instead. marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: ActionForm question ? Hello, I've got a functionnal

RE: ActionForm question (repost)

2001-03-09 Thread Nanduri, Amarnath
Message- From: Anand Raman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 12:25 AM Cc: [EMAIL PROTECTED] Subject: Re: ActionForm question (repost) Hi Bryan I have used both primitive data types like int, float, boolean and String objects in the ActionForm class.. It has been working fine

ActionForm question (repost)

2001-03-08 Thread Bryan Field-Elliot
Question reposted (never got any responses) -- please respond, someone :) Question about creating ActionForm beans -- What kinds of data types are supported? I could not find a reference to this in the docs. For example, I want to have an input box on my forms, where the user can enter a

Re: ActionForm question (repost)

2001-03-08 Thread Maya Muchnik
Brian, I think, the best way to have a bean with String properties, and corresponding form. When you perform data checking convert there to a number if this field has to be a number. If validation is OK, put to database converted data. Maya Bryan Field-Elliot wrote: Question reposted (never

Re: ActionForm question (repost)

2001-03-08 Thread John Raley
Use Strings. However, I think an empty textfield will set its String property to "" (empty string), not null. Bryan Field-Elliot wrote: Question reposted (never got any responses) -- please respond, someone :) Question about creating ActionForm beans -- What kinds of data types are

RE: ActionForm question (repost)

2001-03-08 Thread Fickes, Vic
if you need to do anything special. Vic -Original Message- From: Bryan Field-Elliot [SMTP:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: ActionForm question (repost) Question reposted (never got any responses) -- please respond, someone

Re: ActionForm question (repost)

2001-03-08 Thread Anand Raman
Hi Bryan I have used both primitive data types like int, float, boolean and String objects in the ActionForm class.. It has been working fine.. Meaning that a text filed which is filled with a numeric value populates the primitive setter method appropriatly.. The same happens in the case of a