Re: [S2] ArrayList always NULL when posting data in a form

2007-03-07 Thread cisco
I found the solution. My form is working now.. I can submit an Array of objects without any problems. Thanks to all.. Cisco Aram Mkhitaryan wrote: > > what actually does submit your form??? > > I don't understand what "it does". > > could you please sen

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
it helps you, > > Eider > > > On 06/03/07, cisco <[EMAIL PROTECTED]> wrote: >> >> >> So how would you define the collection ? >> Can you provide a snipet of code. >> >> Thanks >> >> >> > > -- View this message in conte

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
plementation of java.util.Iterator. >- An implementation of java.util.Map, including HashMap, Hashtable, >and TreeMap. *NOTE* - See below for additional information about >accessing Maps. > > So you have to define a Collection instead of an ArrayList. I hope this > help

ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
The entitylist to set. */ public void setEntitylist(ArrayList entitylist) { this.entitylist = entitylist; } I use this list on a JSP page : The display of data works great. But when I make changes to the data and submit the form, the array is always NULL.. Any help please.. Cisco

Profiling Struts Application

2007-01-22 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, Has anyone used Eclipse's TPTP to profile a Struts Application. I downloaded TPTP and trying to run Profiling on my Code. But it seems to expect a main method. If anyone had used it, could you give me some insight into it. Appreciate your help. Thanks Prakash

Global Exception not working for me

2006-12-17 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, The issue I have might be due to something very basic I am missing but for me I can't make this work. I am trying to capture any errors that happen in my application and show them in an error page. In my LookupDispatchAction class I have public ActionForward save(ActionMapping mapping, Actio

RE: Problem with re displaying optionsCollection

2006-12-06 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
You should either (1) put the list in sesssion scope or (2) turn off automatic validation, and put the list back into request scope before calling form.valdiate() Paul Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) wrote: > Hi, > > I am having an issue with select list and not a

Problem with re displaying optionsCollection

2006-12-03 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, I am having an issue with select list and not able to figure out a resolution. Any help is greatly appreciated. Here is the scenario. I have 2 action classes. One (Approve.do) for displaying the form with prepopulated values from database. A second Action(SaveApprove.do) to take the form valu

RE: RE: Input and results on the same JSP

2006-11-09 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
this (preferrable Struts 1.2.x specific) ? Appreciate your help in advance, thanks, robin - Original Message - From: "Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; Sent: Thursday, November 09, 2006

RE: RE: Input and results on the same JSP

2006-11-09 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
---Original Message- > From: Prakash Inuganti -X (pinugant - Digital-X, Inc. at > Cisco) [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 09, 2006 12:41 PM > To: user@struts.apache.org > Subject: Input and results on the same JSP > > Hi, > > I am trying to display entr

RE: Input and results on the same JSP

2006-11-09 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
elements mapped to the same property as other items on the form may be a problem (even if disabled). Other then that I can't think of an issue. Is there a specific problem? Jeremiah Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) wrote: > Hi, > > I am trying to display entry

Input and results on the same JSP

2006-11-09 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, I am trying to display entry and results on the same screen. The idea is like this. I have a textarea where some values can be entered. On submitting this data, the same form refreshes displaying the data in a table. Can this be done? I create a bean with the values entered in textarea and use

Cannot find bean countDetails in any scope

2006-11-02 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, I am a newbie to struts and trying to figure out a way to solve the problem "Cannot find bean countDetails in any scope" I am getting when trying to show an error when first option in select box is chosen. I have an action class that reads data from database and populates in the jsp. Then on t

Input tag name on html contains action form name!!

2006-06-22 Thread Vijayraghav Nerella -X \(vraghav - eTouch Systems at Cisco\)
Hi, My jsp has uses 'nested:iteration' tag in order to generate input text fields. The problem is that when the html page generated from this jsp, the input tag name is beginning from action form name instead of the name of the member of the action form. Not only that, it suffixing index value to

RE: Submission of collection of collection

2006-06-19 Thread Vijayraghav Nerella -X \(vraghav - eTouch Systems at Cisco\)
llection On 6/16/06, Vijayraghav Nerella -X (vraghav - eTouch Systems at Cisco) <[EMAIL PROTECTED]> wrote: > Hi, > Has anyone tried to create a screen that shows input fields which are > collection of collection? yes, you want to use nested Collections. It can be done, but their ar

Submission of collection of collection

2006-06-16 Thread Vijayraghav Nerella -X \(vraghav - eTouch Systems at Cisco\)
Hi, Has anyone tried to create a screen that shows input fields which are collection of collection? I would like to know how one can submit this page and get all information in the ActionForm as collection of collection. I tried lot of approaches and looked through the archives but haven't found

[EMAIL PROTECTED]

2006-01-08 Thread Divya Sridhar -X \(disridha - Infosys at Cisco\)
[EMAIL PROTECTED]