Re: text field not populating after validate() fails.

2005-12-25 Thread Vikrama Sanjeeva
Hi, Ok I will read Rick's article. Right now situation is bit different (I'm sure most of junior developers face more or less same situation). As for me, I've certain deadline to achieve the functionality, which I have achieved by just setting scope=session. Now as Rick said: (nothing

Re: text field not populating after validate() fails.

2005-12-24 Thread Vikrama Sanjeeva
H, Rahul: The pull-down menus are prepopulated using the session. For pull-down menus, I'm using the same approach as Rick used in LESSON II - 9 - Create SetUpEmployeeAction. You can see here: http://www.reumann.net/struts/lesson2/step9.do Rick: I've change the scope in struts-config from

Re: text field not populating after validate() fails.

2005-12-24 Thread Rick Reumann
On 12/24/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: Rick: I've change the scope in struts-config from request to session and it is working fine now. But question is, why it is not working with scope=request? Did you read this article I posted?

Re: text field not populating after validate() fails.

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: H, Rahul: The pull-down menus are prepopulated using the session. For pull-down menus, I'm using the same approach as Rick used in LESSON II - 9 - Create SetUpEmployeeAction. You can see here:

Re: text field not populating after validate() fails.

2005-12-23 Thread Rick Reumann
On 12/21/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: I have a form which consists of pull-down menus, radio button, text area and text fields. The form takes all the required input fields from user, validate them and if validation fail's, the same form is called with pre-populated values

Re: text field not populating after validate() fails.

2005-12-22 Thread Vikrama Sanjeeva
Actually I'm using a javascript which needs to define form name. And in struts, when you define form name it is mandatory to define type too. I just change the scope in struts-config from request to session and it is working fine now. But question is, why it is not working with scope=request?

Re: text field not populating after validate() fails.

2005-12-22 Thread Rahul Akolkar
On 12/22/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: Actually I'm using a javascript which needs to define form name. And in struts, when you define form name it is mandatory to define type too. I just change the scope in struts-config from request to session and it is working fine now.

text field not populating after validate() fails.

2005-12-21 Thread Vikrama Sanjeeva
Hi, I have a form which consists of pull-down menus, radio button, text area and text fields. The form takes all the required input fields from user, validate them and if validation fail's, the same form is called with pre-populated values (as entered 1st time by user). This is true when there

Re: text field not populating after validate() fails.

2005-12-21 Thread Laurie Harper
You shouldn't need either name or type, Struts will derive both from the configuration. Since you say that's working OK for you, why are you trying to add them? L. Vikrama Sanjeeva wrote: Hi, I have a form which consists of pull-down menus, radio button, text area and text fields. The form