bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
i have a form with an indexed property. i wasn't able to get any data out of the form. i could see the data in the request parameters, but the data wasn't in the form bean. in an effort to diagnose, i made an action to populate data into the form. not only was i able to populate data into

Re: bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
more info: it turns out that the data i was seeing in the form bean was the data that i pre-populated -- data from the form is NOT making in into form bean. or, more accurately, the INDEXED data is not making it into the form bean. the action property is getting set properly. does anyone

SOLVED: Re: bizzare indexed form bean problem

2003-09-18 Thread Michael Muller
ok, i think i have it: in the jsp, the id attribute of iterator tag has to match the name of the indexed property of the form bean. -- mike Michael Muller wrote: more info: it turns out that the data i was seeing in the form bean was the data that i pre-populated -- data from the form is

AW: HELP - SOS - Single Form Bean Problem

2003-02-25 Thread Hirschmann, Bernhard
- Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Februar 2003 10:02 An: Hirschmann, Bernhard Betreff: Re: HELP - SOS - Single Form Bean Problem hi again :) I went through the tutorials, every time the sope is set to session, and same form bean is used. i have

Re: HELP - SOS - Single Form Bean Problem

2003-02-25 Thread Chetan Sahasrabudhe
, 2003 7:50 PM Subject: RE: HELP - SOS - Single Form Bean Problem What is the symptom that you are seeing that makes you believe that a new object is being instantiated for each action? Sri P.S. You will probably get a more prompt response by posting to struts-user. -Original Message

HELP - SOS - Single Form Bean Problem

2003-02-24 Thread Chetan Sahasrabudhe
Has anyone used a single form bean for multiple jsps? I am trying to use it and have set form scope as session in my action declaration in config-struts file worst part is, for every jsp itz creating a new form bean ? whatz the catch, can anyone help me in this ?

RE: HELP - SOS - Single Form Bean Problem

2003-02-24 Thread Sri Sankaran
to as 'fruit'. Sri -Original Message- From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 6:34 AM To: Struts Users Mailing List Subject: HELP - SOS - Single Form Bean Problem Has anyone used a single form bean for multiple jsps? I am trying to use it and have set

Form Bean problem

2002-07-27 Thread Tarun Sainanee
Hi all, I have a form bean which has two sets of setter and getter methods getValue1(), getId1(), getValue2(), get Id2(). I explicitly call the set methods by passing two vectors because i want the respective vectors to be available to me in the jsp. Now when struts calls the get methods when

form-bean problem

2002-03-27 Thread Viet Kevin
Hello all I'm facing a problem and I want to get advices from you I have three bean class that are extending from the same base class the base class is declared as abstract Now I want to create three action forms for validating the informations corresponding to each of these beans. For this

RE: Form Bean problem - Fixed for now

2002-03-05 Thread keithBacon
Hi Tim hurray! just for your amusement The other day I added some buttons to a form the setter methods in the form bean weren't being called when the buttons were pressed. I checked checked. I copied button code from another jsp/form/action that worked. I still couldn't get my new code to

RE: Form Bean problem - Fixed for now

2002-03-04 Thread Tim Sawyer
Right, I'm back (finally!) I narrowed the problem down to a struts-config problem. I deleted everything from struts-config that wasn't related to the one page that I was having problems with. I then found that the page would work, and not give me the getter missing error. So went back to my

Re: Form Bean problem

2002-02-27 Thread keithBacon
if you can't solve it post the whole lot! --- Tim Sawyer [EMAIL PROTECTED] wrote: KeithBacon [EMAIL PROTECTED] wrote : does the form work OK if you remove dateOfBirth but leave the other form fields? Nope. I only have two fields on the form, and if I remove date of birth it complains

RE: Form Bean problem

2002-02-27 Thread Tim Sawyer
Sawyer Subject: Re: Form Bean problem if you can't solve it post the whole lot! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
)]._ah._rad(Unknown Source) Is this something obvious I've done wrong? Tim. -Original Message- From: Sarah Farrell [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 9:54 PM To: Struts Users Mailing List Subject: Re: Form Bean problem The error sounds like it is referring

AW: Form Bean problem

2002-02-26 Thread Oliver Reflé
(){return dob;} } so if you implement this it should work -Ursprüngliche Nachricht- Von: Tim Sawyer [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. Februar 2002 11:50 An: [EMAIL PROTECTED] Cc: Tim Sawyer; [EMAIL PROTECTED] Betreff: Re: Form Bean problem Nope, same error. It seems

Re: Form Bean problem

2002-02-26 Thread Jean-Guillaume LALANNE
] Cc: Tim Sawyer [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 11:50 AM Subject: Re: Form Bean problem Nope, same error. It seems to be in the html library somewhere. javax.servlet.jsp.JspException: No getter method for property dob of bean

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
] To: amp;lang=en[EMAIL PROTECTED] Cc: Tim Sawyer ;amp;lang=en[EMAIL PROTECTED]; amp;lang=en[EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 11:50 AM Subject: Re: Form Bean problem Nope, same error. It seems to be in the html library somewhere. javax.servlet.jsp.JspException

Re: Form Bean problem

2002-02-26 Thread keithBacon
PROTECTED] Cc: Tim Sawyer ;amp;lang=en[EMAIL PROTECTED]; amp;lang=en[EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 11:50 AM Subject: Re: Form Bean problem Nope, same error. It seems to be in the html library somewhere. javax.servlet.jsp.JspException: No getter method for property

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
;lang=en[EMAIL PROTECTED]; amp;lang=enamp;lang=en[EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 11:50 AM Subject: Re: Form Bean problem Nope, same error. It seems to be in the html library somewhere. javax.servlet.jsp.JspException: No getter method for property dob

Re: Form Bean problem

2002-02-26 Thread keithBacon
] Sent: Tuesday, February 26, 2002 11:50 AM Subject: Re: Form Bean problem Nope, same error. It seems to be in the html library somewhere. javax.servlet.jsp.JspException: No getter method for property dob of bean org.apache.struts.taglib.html.BEAN

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
I don't need to use an action form at all with this page. You do if you have a form on the page don't you? That's interesting I have a form that is only data entry. Do I have to define an action form for this page? I will in the action that it calls when the form is submitted, because

Re: Form Bean problem

2002-02-26 Thread keithBacon
You will need the form bean on the 1st use because the jsp it forwards to has the form on it struts will try to populate the form from the form bean (I am making an assumption here - it's possible it would look at the mapping, see no form bean the html:text tags would just default to blanks -

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
Cheer Keith, that's clearer now. Sounds like a possible enhancement request, if it doesn't default to blank :-) Thanks again, Tim. KeithBacon [EMAIL PROTECTED] wrote : You will need the form bean on the 1st use because the jsp it forwards to has the form on it struts will try to populate

Re: Form Bean problem

2002-02-26 Thread Ted Husted
The ActionForm is the companion bean to the html tags. The purpose of most of the html tags is to create HTML elements that can be populated from a bean passed to the page. Any bean can be used, but ActionForm beans are the most common, since they are required for the validation phase. If the

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
Hmmm. This works: %@ page language=java import=com.pancredit.tkbespoke.tjs.strutstest.form.* % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html head titleUntitled Document/title !-- %=((AddExtraPersonDetailsForm)session.getAttribute(addExtraPersonInfoForm)).getDateOfBirth() %

Re: Form Bean problem

2002-02-26 Thread keithBacon
does the form work OK if you remove dateOfBirth but leave the other form fields? Is it possible you have 1 mapping that puts the form in the session another one that puts another form in the request but with the same name? That would explain it if you can find the form bean but struts doesn't?

RE: Form Bean problem

2002-02-26 Thread Yu, Yanhui
Hi there, I am new to Struts, I have this problem and please help: I would like to display an error message to the user in a little more customized way, such as, if some special characters are not allowed in a field, if the user entered any of this special character set, (say @#$), I would

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer
KeithBacon [EMAIL PROTECTED] wrote : does the form work OK if you remove dateOfBirth but leave the other form fields? Nope. I only have two fields on the form, and if I remove date of birth it complains about the second one... Is it possible you have 1 mapping that puts the form in the

Form Bean problem

2002-02-25 Thread Tim Sawyer
Hello. I'm calling a JSP page as the successful outcome of an action, and it's complaining that one of my get methods doesn't exist. I can't work out what's going on, can someone give me a nudge in the right direction? The page contains a form, for entering date of birth and marital status

Re: Form Bean problem

2002-02-25 Thread dderry
that the addExtraPersonDetailsForm is not being used since the error msg states that org.apache.struts.taglib.html.BEAN has no getter method for dob. - Original Message - From: Tim Sawyer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 25, 2002 10:41 AM Subject: Form Bean problem

Re: Form Bean problem

2002-02-25 Thread Tim Sawyer
is org.apache.struts.taglib.html.BEAN actually referring to? Tim. - Original Message - From: Tim Sawyer amp;lang=en[EMAIL PROTECTED] To: amp;lang=en[EMAIL PROTECTED] Sent: Monday, February 25, 2002 10:41 AM Subject: Form Bean problem Hello. I'm calling a JSP page as the successful outcome of an action

Re: Form Bean problem

2002-02-25 Thread dderry
Sorry Tim, I've only been learning this stuff for a couple of weeks myself. I don't know what org.apache.struts.taglib.html.BEAN is referring to here. I was just responding to what was obvious to me. maybe one of the gurus will step in. the list seems pretty quiet today though. Good luck, Dave

Re: Form Bean problem

2002-02-25 Thread Sarah Farrell
The error sounds like it is referring to the taglib struts-bean.tld, whether or not it is a legitimate error, I'm not sure. Try taking out the line %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % from your jsp and change the button tags back to regular HTML where html:submit

form bean problem interesting question

2001-12-15 Thread Mâris Orbidâns
hello If I forward to an action then Struts creates new form bean that is populated with parameters from current request. But if current request contains parameters with the same names as properties of new form's bean then these values will be displayed on my new form ! For example: + Create