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
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
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
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
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
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
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);
}
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.
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.
-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
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
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
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
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
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
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:
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
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
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
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
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
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
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
);
}
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
-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
.
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
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
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,
div id=xxx
html:select property=property styleClass=%=myStyle% tabindex=100
html:options collection=collection of possible values property=key
labelProperty=value/
/html:select
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
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,
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
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
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,
34 matches
Mail list logo