Struts Custom Validation Question

2008-07-22 Thread Chandramouli P
Hi, I have the below scenario in our application. Consider we have two radio buttons for two types of bank accounts, say Savings and Current, and based on the selection of each radio button we are enabling/disabling some fields for user input, which in turn, the properties of an ActionForm.

RE: Problem from defining JavaBean as an attribute inside ActionForm

2008-07-15 Thread Chandramouli P
should work as > you expected. What > > does your form bean definition look like? Is the form > bean correctly > > referenced by the action mapping the form is submitted to? > Post the > > relevant bits of configuration and the full stack trace; maybe > that will

RE: Problem from defining JavaBean as an attribute inside ActionForm

2008-07-03 Thread Chandramouli P
Hi, Thanks for getting back to me. All I was trying to do is getting the inside bean's values along with the ActionForm, so that I can handle those in my Action class. Please suggest a best way to achieve that. Thanks & Regards, Chandra. > Date: Thu, 3 Jul 2008 08:05:08 +0200> From: [EMAI

Problem from defining JavaBean as an attribute inside ActionForm

2008-07-02 Thread Chandramouli P
Hi, I have the below scenario: I have a java bean as below: public class Address { private String city; private String state; and public getters/setters for the above attributes; } and I have the ActionForm as below: import Address; public class EmpForm extends ActionForm

Multiple action declarations with the same Action class

2008-06-26 Thread Chandramouli P
Hi,This is my first post to the user list.We have started working in struts recently.Is it possible to use one Action class for multiple action declarations in the struts-config.xml?Consider the code below:Thanks & Regards,Chandramou