RE: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Mathew, Manoj
Hi Mark I had a similar situation adn what i did is i made a the parent action form an Abstract class. and say i have twi action forms form1 and form 2 which extends this Abstract class. Then i have different getData() for these two form to populate the form. So i can simple use the getters

multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
Hi I am having multiple action forms in a single jsp and wondering how to give multiple form names in the mappings. action path=/saveAdd type=com.group.myproject.ui.module1.SaveAndAddMemberAction name=form1 scope=request input=my.jsp

multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
Hi I am having multiple action forms in a single jsp and wondering how to give multiple form names in the mappings. action path=/saveAdd type=com.group.myproject.ui.module1.SaveAndAddMemberAction name=form1 scope=request input=my.jsp

RE: multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
or a post). This is not specific to Struts, Java or any web server solutions. Your design is flawed, but it doesn't pertain to Struts. You can have more than one form one a page, but only one will be submitted in the request. -Ben From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users

RE: multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
than one form one a page, but only one will be submitted in the request. -Ben From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: multiple action forms in a single jsp Date: Thu, 29 Jan 2004 09:38:33 -0600 Hi I am having

RE: html:select multiple=true question

2004-01-21 Thread Mathew, Manoj
I used the same property name for select and Options tag..it worked in a dynaaction form. Thank-you, Manoj Mathew GIS 515-362-0539 -Original Message- From: Morten [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 6:00 AM To: [EMAIL PROTECTED] Subject: html:select

RE: BeanUtils.populate Invocation Error

2004-01-14 Thread Mathew, Manoj
i tried to pre populate my self like this..It worked public void setBenefitDescription(int key, Object value) { int size = benefitDescriptions.size(); if (size = key) { for (int i = size; i key + 1; i++) { benefitDescriptions.add(value); }

Lsi backed form..How to retain an order

2003-12-22 Thread Mathew, Manoj
Hi All I am using Lists and Maps backed form very often. But i never thought about this issue. I am formulating my List backed form in an order so that i am expecting it to get from it in the same order and display in the same order. I understand that i can do something like this.

RE: List backed form..How to retain an order

2003-12-22 Thread Mathew, Manoj
Hi All I am using Lists and Maps backed form very often. But i never thought about this issue. I am formulating my List backed form in an order so that i am expecting it to get from it in the same order and display in the same order. I understand that i can do something like this.

RE: Advantage of Map/List backed forms Vs Action Forms with array list(urgent please ..need to take a decision )

2003-09-26 Thread Mathew, Manoj
-Hi Can anyone please tell me the advantages of Map/List backed forms over regular Action Map with array List or even a dyna action form with an arrayList thank you Manoj - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Is there a way to find an Object type? Please help

2003-09-26 Thread Mathew, Manoj
with instance of and it is not working.. Thank you Mathew Manoj Group Information Systems (H243) * (515)362-0539 * mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Advantage of Map/List backed forms Vs Action Forms with array list

2003-09-25 Thread Mathew, Manoj
Hi Can anyone please tell me the advantages of Map/List backed forms over regular Action Map with array List or even a dyna action form with an arrayList thank you Manoj - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: problem with String[] [SOLVED]

2003-09-24 Thread Mathew, Manoj
I had this issue with catching with Visual Age couple of times. I even restarted Visual age and tried but nothing worked and i got confused about my code. But when i restarted the machine, things started working.I moved to WSAD now and here things are in a pretty good shape. thanks manoj

RE: Is there a nice ExceptionHandler mechanism in struts for Throwable?

2003-09-24 Thread Mathew, Manoj
Hi I am handling it myself in my project..All my action throws exception and i have this in my struts config. !-- == Exception Processing Configuration == -- global-exceptions exception key=systemError type=java.lang.Exception

RE: log4j setup

2003-09-24 Thread Mathew, Manoj
Hi there are three ways( known to me) to load the log4j at the server startup 1.Create ur own servlet put the code in Init()and load it at the begining of your application 2.Extend Action Servlet 3. through the following way. I find the 3rd one better because it sound like struts way of

RE: servlet size issue in struts

2003-09-22 Thread Mathew, Manoj
Visual age has a JSP debigger which has some restrictions..Ie it can take only upto 64kb size jsp.We had lot of trouble with that and when we moved to WSAD things are fine.. -Original Message- From: Tarun Dewan [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:03 AM To:

RE: Antwort: AW: Forwarding openNewWindow

2003-09-18 Thread Mathew, Manoj
you can write onclick on a struts submit button onclick=window.open('mypage.jsp','pageid') -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 10:09 AM To: Struts Users Mailing List Subject: RE: Antwort: AW: Forwarding openNewWindow Can

RE: dependant drop down list box

2003-09-10 Thread Mathew, Manoj
you can make a server call when the user changes the value and repopulate the drop down. I would use a bean to populate the bean... manoj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 6:55 AM To: Struts Users Mailing List

issue with the multi select

2003-09-05 Thread Mathew, Manoj
not working...any ideas..? thank you manoj Thank you Mathew Manoj Group Information Systems (H243) * (515)362-0539 * mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: issue with the multi select

2003-09-05 Thread Mathew, Manoj
Surely you mean a string array ( String[] ) for each of the 2 fields as they will both be submitting multiple values? -Original Message- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 21:43 To: Struts Users Mailing List Subject: issue with the multi select

issue with the multi select

2003-09-04 Thread Mathew, Manoj
Hi all I have 2 multi select box( wth size 5) and have ADD and :remove button in a dyna action form. Basically you can select one or more from a select box and add it to the second one using ADD buton adn remove the selected using REMOVE button. I have some other actions also in the same

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS. IN OUR APPLICATION WE WROTE A CODE WHICH CHECK FOR THIS ELEMENT AN IT IS IS NOT THERE THEN MADE IT FALSE ALSO MAKE SURE YOU HAVE isCheckbox():return boolean instead

RE: How to forward back to including page

2003-09-04 Thread Mathew, Manoj
you don't have to give forward xxx / in the struts config , instead give global forwards. then in your action put logic to forward to any global forwards.. -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:13 AM To: 'Struts

RE: How to forward back to including page

2003-09-04 Thread Mathew, Manoj
); } return actionForward; -Original Message- From: Mathew, Manoj Sent: Thursday, September 04, 2003 8:52 AM To: Struts Users Mailing List Subject: RE: How to forward back to including page you don't have to give forward xxx / in the struts config , instead give

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
-sensitive of course)? Thanks. From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 08:48:19 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT

RE: radio button issue

2003-07-15 Thread Mathew, Manoj
. Jing Netspread Carrier http://www.netspread.com - Original Message - From: Mathew, Manoj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 14, 2003 3:59 PM Subject: radio button issue Hi all I have a situation when i have 4 radio buttons ad all have

radio button issue

2003-07-14 Thread Mathew, Manoj
Hi all I have a situation when i have 4 radio buttons ad all have same property name. So here the problem is i have to set the tabindex also. The control is going only ot the first radio button and then to the next element after all 4 radio buttons.Any idea how can i resolve this? i want to

RE: best way to build a wizard

2003-07-11 Thread Mathew, Manoj
I have a method which dynamically create my current form .I used this when i had one action on multiple forms and i gave only one mapping for the action and didn't give form name in the mapping. public static ActionForm createActionForm(HttpServletRequest request, ActionMapping mapping,

RE: html:options

2003-07-09 Thread Mathew, Manoj
div id=xxx html:select property=property styleClass=%=myStyle% tabindex=100 html:options collection=collection of possible values property=key labelProperty=value/ /html:select

RE: Passing Parameters Between Actions

2003-07-08 Thread Mathew, Manoj
names. Hunter From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Mon, 7 Jul 2003 15:49:59 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Passing Parameters Between Actions or u can use in action1: actionForward

RE: sorting in struts.

2003-07-07 Thread Mathew, Manoj
I am doing the same in my application. I created my own custom tags to display the table.That way i have more flexibility and i wrote my sorting logic(multi sort) in my tags. I think this is the best way -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: Monday, July 07,

RE: Passing Parameters Between Actions

2003-07-07 Thread Mathew, Manoj
path=/Action2.do?rec_num=map1 / request.getParameter(rec_num); can use logic:equal if you are forwarding to a JSP -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 3:03 PM To: Struts List Subject: Passing Parameters Between Actions I am

RE: Passing Parameters Between Actions

2003-07-07 Thread Mathew, Manoj
or u can use in action1: actionForward = mapping.findForward(FOR_WARD) + ?rec_num=map1; -Original Message- From: Mathew, Manoj Sent: Monday, July 07, 2003 3:34 PM To: Struts Users Mailing List Subject: RE: Passing Parameters Between Actions path=/Action2.do?rec_num=map1

RE: Réf. : Re: How to pass parameters to a javascript popup

2003-07-03 Thread Mathew, Manoj
Dude openWindow is your java script function name.. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 10:11 AM To: Struts Users Mailing List Subject: Re: Réf. : Re: How to pass parameters to a javascript popup I didn't stop to think about it,