RE: Struts Action Form bean population problem

2011-08-04 Thread Mahamuni, Prashant X
Please make sure that you have getter setters in the action class. -Original Message- From: arnab.gho...@cognizant.com [mailto:arnab.gho...@cognizant.com] Sent: Thursday, August 04, 2011 2:33 AM To: user@struts.apache.org Subject: Struts Action Form bean population problem Hi Friends

Re: Struts Action Form bean population problem

2011-08-04 Thread Dave Newton
On Thu, Aug 4, 2011 at 3:33 AM, wrote: > Not sure why it is not populating the action form. Without any further information it's impossible to help. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additio

Struts Action Form bean population problem

2011-08-04 Thread Arnab.Ghosh6
Hi Friends, I am having a strange problem. I am sending a post request to a struts action. The action class is associated with a actionform. But the problem is those values is not getting populated in the form. I have followed the correct bean spec and we are getting the values from request par

Re: bean population problem in struts

2008-11-23 Thread Dave Newton
--- On Sun, 11/23/08, andyandy wrote: > I have the following bean structure > Customer > Address > CreditCard > The problem is when the same page must be displayed again > with the old data, due to validation errors from the user. > The values of the properties of the Customer bean are

bean population problem in struts

2008-11-23 Thread andyandy
this message in context: http://www.nabble.com/bean-population-problem-in-struts-tp20648297p20648297.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Bean population

2007-06-30 Thread Dave Newton
with twice that > number, how could I do it on > > > this level? > > > > > > Thanks in andvance, > > > Asaf > > > > > > >

Re: Bean population

2007-06-30 Thread Asaf Paris Mandoki
EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Bean-population-tf4002466.html#a11370925 Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Bean population

2007-06-29 Thread Zarar Siddiqi
EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Bean-population-tf4002466.html#a11370925 Sent from the Struts - User mailing list archive at Nabble.com. --

RE: Bean population

2007-06-29 Thread Sean Conlon
Sean From: Asaf Paris Mandoki [mailto:[EMAIL PROTECTED] Sent: Fri 6/29/2007 5:30 PM To: user@struts.apache.org Subject: Bean population On the tutorial says that the framework automatically populates the action beans. How does the framework do this? Is there a way to tweak the way it popu

Bean population

2007-06-29 Thread Asaf Paris Mandoki
On the tutorial says that the framework automatically populates the action beans. How does the framework do this? Is there a way to tweak the way it populates the the beans? For example if a user sends a number and I, for a strange reason would like to pupulate the bean with twice that number, ho

RE: Bean Population When Form Cancelled

2006-02-14 Thread Robert Alexandersson
messages.add(property, err); } } return messages; } /*** END CODE *** Regards Robert -Original Message- From: Tom Ansley [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 6:48 AM To: Struts Users Mailing List Subject: Bean Populatio

Re: Bean Population When Form Cancelled

2006-02-11 Thread Tom Ansley
t; > > Does somebody have a strategy for dealing with this situation? Is there > a > > way of telling struts that if the cancel button is pressed that NO bean > > population should take place? > > No, there isn't; the form bean is always populated, cancel or no.

Re: Bean Population When Form Cancelled

2006-02-11 Thread Laurie Harper
truts that if the cancel button is pressed that NO bean population should take place? No, there isn't; the form bean is always populated, cancel or no. The exception is probably caused by using typed properties in your form bean. You'd get the same problem submitting the form with inv

Re: Bean Population When Form Cancelled

2006-02-11 Thread Paul Benedict
Tom, Your expectation is incorrect. The form is always populated. The cancellation doesn't cancel the population, but cancels the validation. There has been lengthy discussions about this. Feel free to sign up to bugzilla and vote this in the 1.2 branch: http://issues.apache.org/bu

Bean Population When Form Cancelled

2006-02-10 Thread Tom Ansley
cel button is pressed that NO bean population should take place? All help appreciated. Cheers Tom

RE: struts bean population problem?how to save a form value in js p?

2005-11-25 Thread Kanuri, Chand
al Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Danny Lee Sent: 25 November 2005 14:47 To: user@struts.apache.org Subject: Re: struts bean population problem?how to save a form value in jsp? Here is all you need: http://www.developer.com/java/ent/article.php/22

Re: struts bean population problem?how to save a form value in jsp?

2005-11-25 Thread Danny Lee
Here is all you need: http://www.developer.com/java/ent/article.php/2233591 Cheers, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts bean population problem?how to save a form value in jsp?

2005-11-25 Thread Kanuri, Chand
hi wendy, can you please guide me with the way to save the value of name in my app when the code is selected? i am trying with request.setAttribute but i dont know how to link with the selected option? here is my code:

Re: Form Bean population

2005-11-17 Thread Laurie Harper
Marcio Ghiraldelli wrote: I need to populate a a form-bean with a collection for an instance. Wich is the better place to do it: 1) Into the form-bean reset() method or 2) In an Action before the jsp call The recommended place to do it is in an action, though some do prefer

Form Bean population

2005-11-17 Thread Marcio Ghiraldelli
I need to populate a a form-bean with a collection for an instance. Wich is the better place to do it: 1) Into the form-bean reset() method or 2) In an Action before the jsp call ? - To unsubscribe, e-

RE: form bean population confusion

2005-10-04 Thread croffman rhenv
k You. Croff From: "rahul" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: form bean population confusion Date: Mon, 03 Oct 2005 10:25:15 +0530 see inline comments # > -Original Messag

RE: form bean population confusion

2005-10-02 Thread rahul
see inline comments # > -Original Message- > From: croffman rhenv [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 01, 2005 8:41 PM > To: user@struts.apache.org > Subject: RE: form bean population confusion > > > Thanks for the reply. > > 1. Loo

RE: form bean population confusion

2005-10-01 Thread croffman rhenv
t;Struts Users Mailing List" Sent: Friday, September 30, 2005 9:35 AM Subject: RE: form bean population confusion I am not sure, what you want to show on jsp2 but let me try.. you said you want to submit some DATA from PAGE 1 then retrieve some info from database and show that data in PAG

RE: form bean population confusion

2005-09-30 Thread rahul
om: my struts [mailto:[EMAIL PROTECTED] > Sent: Friday, September 30, 2005 7:19 PM > To: user@struts.apache.org > Subject: form bean population confusion > > > Hi, > > I am lost in the basics. > > Problem: When PAGE 1 DATA is submitted then (back end will > retrieve the

form bean population confusion

2005-09-30 Thread my struts
Hi, I am lost in the basics. Problem: When PAGE 1 DATA is submitted then (back end will retrieve the info from database) and PAGE 2 should be displayed with DATA. But the population is not happening, I am lost in basics. Please clarify. Here is the information on my form-beans and action-map

Re: nested tags and bean population

2004-07-19 Thread Juan Alvarado
Hey Rick I got rid of the name and type and it worked. Kinda weird. Thanks for the quick reply!!! Later... Rick Reumann <[EMAIL PROTECTED]> wrote: Juan Alvarado wrote: > In my form bean I have an array list called categories that contains > objects of type Category. Each Category object conta

Re: nested tags and bean population

2004-07-19 Thread Rick Reumann
Juan Alvarado wrote: In my form bean I have an array list called categories that contains objects of type Category. Each Category object contains an array list of Steps. So in my jsp I am rendering this relation as follows: property='categories' id='cat' type='com.securance.vo.ApStepCategoryVO'>

nested tags and bean population

2004-07-19 Thread Juan Alvarado
In my form bean I have an array list called categories that contains objects of type Category. Each Category object contains an array list of Steps. So in my jsp I am rendering this relation as follows: First I iterate through the Categ

Re: Why no Bean Population tags?

2004-04-22 Thread Gogineni, Pratima
To: [EMAIL PROTECTED] Subject: Re: Why no Bean Population tags? Pratima -- it sounds like you are trying to use a JSP page to write data into the session from someplace other than the form. You probably want to put this code someplace else -- like in an Action (or delegate). It is hard for m

Re: Why no Bean Population tags?

2004-04-22 Thread Joe Germuska
At 11:54 PM -0700 4/21/04, Gogineni, Pratima wrote: We have bean:write tags that read bean properties and output to the jsp page. I am wondering why we are always forced to set bean properties through one of the form tags. ... I saw the jstl c:set tag but that is not as powerful as the struts bean

Re: Why no Bean Population tags?

2004-04-22 Thread Bill Siggelkow
Pratima -- it sounds like you are trying to use a JSP page to write data into the session from someplace other than the form. You probably want to put this code someplace else -- like in an Action (or delegate). It is hard for me to guess without more specific information. Gogineni, Pratima

Why no Bean Population tags?

2004-04-21 Thread Gogineni, Pratima
We have bean:write tags that read bean properties and output to the jsp page. I am wondering why we are always forced to set bean properties through one of the form tags. In many cases where there are a lot of common properites to be set it is easier to set the bulk of the bean properties through