RE: How to ignore validation when form loads (first time)

2003-06-19 Thread Kandi Potter
Hi Sashi, Don't know if you've received any replies to this, but I initially handled it the same as you, but ran into problems when I was going back to the servlet for drop-down actions etc. I only wanted validation errors to appear when the user hit the save button, so I ended up just

RE: how to get the formbean in script

2003-06-19 Thread Kandi Potter
Is this what you are looking for? ..something like this in your struts-config.xml: form-beans !-- HomePage form bean -- form-bean name=incidentForm type=pwgsc.smis.presentation.IncidentForm/ /form-beans !--

RE: How to ignore validation when form loads (first time)

2003-06-19 Thread Kandi Potter
. Adam Kandi Potter wrote: Hi Sashi, Don't know if you've received any replies to this, but I initially handled it the same as you, but ran into problems when I was going back to the servlet for drop-down actions etc. I only wanted validation errors to appear when the user hit the save

RE: How to ignore validation when form loads (first time)

2003-06-19 Thread Kandi Potter
this method that it is intended to be use this way. I also used your method to check whether to validate, in situations where I had a list of records where some could be edited and some could be deleted. When deleting, I wanted to inhibit validation. Adam Kandi Potter wrote: Hi Sashi, Don't

RE: [OT] Java Trivia

2003-06-12 Thread Kandi Potter
and here I thought it was a trick question, where you had subclassed String as string class and added a public member length. .. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:17 AM To: 'Struts Users Mailing List' Subject: RE:

RE: Can you send a null value to a form in Struts (1.1)?

2003-06-12 Thread Kandi Potter
I believe that, in general, parameters passed to the ActionForm from the jsp should be strings. You can edit for numeric in the validate() method. Of course there are exceptions, boolean for checkboxes for example. I'll state this and let someone correct me if I am wrong please.

RE: [OT] Java Trivia

2003-06-12 Thread Kandi Potter
thanks.of course I haven't tried to myself. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:32 AM To: [EMAIL PROTECTED] Subject: RE: [OT] Java Trivia String is a final class so you can't subclass it. David and here I thought it

RE: Validating search box's

2003-06-11 Thread Kandi Potter
..do you also have to check for (if getMember() == ) ? -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:12 PM To: Struts Users Mailing List Subject: Re: Validating search box's I think you want to use instead of || sandeep --- Jason

RE: Checkbox problem?

2003-06-10 Thread Kandi Potter
I would suggest not doing the propagate in the reset. Just use it for the original values. The values entered on the form are automatically propagated by struts after the reset by the setters and getters. Just put in some logging or print statements in those methods and you will see when

RE: On failed validation, trouble with form

2003-06-10 Thread Kandi Potter
I have done something similar but in the case of failed validation I return to the same form for error correction. My drop-downs are populated in the doGet in the Action class. After getting the values from the business class, I save them in the session, just to avoid going back to the db

RE: Populating Drop-down

2003-06-10 Thread Kandi Potter
Hi Johnny, I'm also using label/value vectors.I don't hard-code the form-name. Here are some code snippets: !-- Incident form bean -- form-bean name=incidentForm type=pwgsc.smis.presentation.maintainHO.IncidentForm/ !-- Process an incident request for

RE: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released

2003-06-10 Thread Kandi Potter
+1 -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:50 AM To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released I agree, thanks for making our lives easier. Go have a beer or something!

RE: Populating Drop-down

2003-06-10 Thread Kandi Potter
and which part is actually putting the populated form in the request? Thanks. JP -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:22 AM To: Struts Users Mailing List Subject: RE: Populating Drop-down Hi Johnny, I'm also using label/value

RE: Null value

2003-06-10 Thread Kandi Potter
put these 2 lines in your properties file: errors.header = errors.footer = -Original Message- From: Jason Meredith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 11:44 AM To: Struts Users Mailing List Subject: Null value Chaps In my form actions I validate a number of fields,

RE: A few questions about html:select and html:option tags

2003-06-03 Thread Kandi Potter
Is this method of achieving #2 (selection from one dropdown affected contents of a second dropdown) completely frowned upon? We were asked to avoid javascript. html:select name=incidentForm property=region onchange=submit() in action class: only doPost() when save button pressed else

RE: Weirdness...

2003-05-29 Thread Kandi Potter
I've been warned by another developer to not just comment the tags but to totally change them by removing spaces when I want to comment one out. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:13 AM To: '[EMAIL

RE: Weirdness...

2003-05-29 Thread Kandi Potter
... Really? I wonder why that is - Keith www.buffalo.edu/~kkamholz -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:22 AM To: Struts Users Mailing List Subject: RE: Weirdness... I've been warned by another developer to not just comment

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Kandi Potter
thanks. I hadn't figured out yet that you could just provide the button value without value= -Original Message- From: Bradley M. Handy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:48 PM To: 'Struts Users Mailing List' Subject: RE: [struts-user] RE: Submit Value No it

RE: html:select / html:options

2003-05-27 Thread Kandi Potter
Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 9:06 PM To: Struts Users Mailing List Subject: RE: html:select / html:options I used the following with vectors of unsafeValues and unsafeLabels in my incidentForm bean. html:select name=incidentForm property

RE: html:options

2003-05-27 Thread Kandi Potter
hey thanksmaybe I'll try to minimize my code. -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 12:15 PM To: Struts Users Mailing List Subject: RE: html:options I was able to do it like that. bean:define id=blist name=MyForm

RE: validate= true destroys form defaults

2003-03-26 Thread Kandi Potter
I'm also guessing here.but I notice that reset() is called a lot.Do you have setters as well as getters for all of the form fields? I believe that the setters are used to 'hold on' to the field values during the reset. -Original Message- From: Dan Tran [mailto:[EMAIL

RE: [friday] NEWBIE - unsubscription help

2003-03-24 Thread Kandi Potter
Someone might want to check into the unsubscribe issue because over Christmas I also tried to unsubscribe temporarily, but it was not successful.I ended up just filtering instead. -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 8:35 AM To:

Re: Error with BeanUtils

2003-03-24 Thread Kandi Potter
Was the issue below solved? I am getting the same error. I have just upgraded to Struts 1.1-b3 from Struts 1.0.2. I'm using Tomcat 3.3.1.I wasn't getting the error on my 'Post' before the upgrade.I have no trouble with the 'Get'. Thanks for any suggestions. Kandi Potter

RE: Error with BeanUtils

2003-03-24 Thread Kandi Potter
as parameters. Anyone have an explanation ??? -Original Message- From: Kandi Potter Sent: Monday, March 24, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: Re: Error with BeanUtils Was the issue below solved? I am getting the same error. I have just upgraded to Struts 1.1-b3 from

RE: date format problems

2003-03-06 Thread Kandi Potter
I'm no expert at struts but I convert and validate my dates in my Action or Business Class instead of the Form. I could be completely off-base here in my interpretation of the struts ActionForm though -Original Message- From: Søren Blidorf [mailto:[EMAIL PROTECTED] Sent:

RE: [Q] actionset-property

2003-03-06 Thread Kandi Potter
myBean...check out the example that comes with the struts src for more details. -Original Message- From: WILLIAMS,RAND (HP-USA,ex1) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 10:35 AM To: 'Struts Users Mailing List' Subject: [Q] actionset-property Hi All,

RE: [OT] Ancient computing

2003-03-05 Thread Kandi Potter
My guess is early 70sbecause my first experience was also in high school using an old IBM System ?? with 64k memory.It took up a complete room.You saved your program by not dropping the punch cards. If your program didn't have any compile errors, it would be 20 minutes

RE: [OT] Ancient computing

2003-03-05 Thread Kandi Potter
70 to 71 - ouch again -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 6:34 AM To: Struts Users Mailing List Subject: RE: [OT] Ancient computing My guess is early 70sbecause my first experience was also in high school using an old IBM

RE: [OT] Ancient computing

2003-03-05 Thread Kandi Potter
, 2003 10:46 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Ancient computing Dang, I must be a youngster -- mine were a Zenith-Heath kit computer running CP/M and an Atari 400 with BASIC. -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 9

RE: Searching the Archives?

2003-02-12 Thread Kandi Potter
http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:52 AM To: Struts Users Mailing List Subject: Searching the Archives? I feel dumb for asking this, but I am trying to

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Kandi Potter
I'm not sure if this is your problem, but do you have the tld directive in your jsp? %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 1:43 PM To: Struts Mailing List Subject: Cannot

RE: Searching the Archives?

2003-02-12 Thread Kandi Potter
and phrase matching are not supported. ...and that's not even true, because I frequently get back results that only have one of the search terms I entered. The archives have become effectively useless to me in the past month or so. --joe -Original Message- From: Kandi Potter

RE: Searching the Archives?

2003-02-12 Thread Kandi Potter
://marc.theaimsgroup.com/?l=struts-user. Sri -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 2:48 PM To: Struts Users Mailing List Subject: RE: Searching the Archives? anyone have a better way to search the archives?? I find it incredibly slow

RE: need Help, I have been struggling for days. (collections andhtml:select)

2003-02-11 Thread Kandi Potter
I am new to struts but when I used the select with options tag I created 2 equal size vectors (labels, values)the jsp was td html:select name=incidentForm property=selectedUnsafe html:options name=incidentForm property=unsafeValues labelName=incidentForm