Re: [Form field values.. regarding]

2005-10-21 Thread Deva Pitchai(NatureSoft)
i feel this is not required since this is handled by the struts and the form bean. Laurie Harper wrote: Yes, that will work; but if you do that, the field will always be displayed empty (or with whatever value you specify). Again, that reduces the amount of feedback to the user when redisplay

Re: [Form field values.. regarding]

2005-10-21 Thread Laurie Harper
Yes, that will work; but if you do that, the field will always be displayed empty (or with whatever value you specify). Again, that reduces the amount of feedback to the user when redisplaying the form following validation failure. Using 'value' works well when you always want to force the inp

Re: [Form field values.. regarding]

2005-10-21 Thread Laurie Harper
Deva Pitchai(NatureSoft) wrote: How are you getting the data from your database into your form? If you're using an ActionForm and you have primitive typed properties (float, for example) the easiest quick-fix would be to use the corresponding wrapper type (e.g. Float). wht u guessed is right

Re: [Form field values.. regarding]

2005-10-21 Thread Deva Pitchai(NatureSoft)
you mean to say that in struts tag we can have " value='' "attribute? [EMAIL PROTECTED] wrote: Hi, You can use the value="" attribute in the tag in which you don't want the default values to be loaded. This doe not require any special method. Regards, Rajasekhar Cherukuri "Deva P

Re: [Form field values.. regarding]

2005-10-21 Thread Deva Pitchai(NatureSoft)
inline reply! Laurie Harper wrote: Deva Pitchai(NatureSoft) wrote: Hi group hope you all must come across this situation... If u can tell me how to solve this... i will be very much thankful when i edit a form (say with 10 fields in it. some are dropdown, textbox etc), the non-mandator

Re: [Form field values.. regarding]

2005-10-21 Thread rajasekhar . cherukuri
Hi, You can use the value="" attribute in the tag in which you don't want the default values to be loaded. This doe not require any special method. Regards, Rajasekhar Cherukuri "Deva Pitchai(NatureSoft)" <[EMAIL PROTECTED]> 10/21/2005 01:10 PM Please respond to "Struts Users Maili

Re: [Form field values.. regarding]

2005-10-21 Thread Laurie Harper
Deva Pitchai(NatureSoft) wrote: Hi group hope you all must come across this situation... If u can tell me how to solve this... i will be very much thankful when i edit a form (say with 10 fields in it. some are dropdown, textbox etc), the non-mandatory fields are displaying 0.0 as the fiel