RE: Multibox problem

2005-07-06 Thread Apte, Dhanashree (Noblestar)
Code where i put the values back: map.put("districtIds", stringArr); where stringArr is an array of what the user selected. -> This is not the same as calling setDistrictIds. You need to call setDistrictIds(stringArr) explicitly.

Checkbox question

2005-06-29 Thread Apte, Dhanashree (Noblestar)
Hi all, I have a jsp which shows rows of data. Each row is preceded by a checkbox. i can check the boxes and hit a delete button and it is supposed to delete the selected rows. In my page i have: > I am unable to identify the rows uniquely by clicking on the checkboxe

html:multibox question

2005-05-25 Thread Apte, Dhanashree (Noblestar)
I have a page that has a series of check-boxes that a user can select/deselect at will. When the page loads up, some of the checkboxes are already checked. The user can then either select new ones or deselect existing ones. However, when I submit the page, the unselected ones are still a part of m

RE: passing object in request from jsp to action

2005-03-31 Thread Apte, Dhanashree (Noblestar)
: passing object in request from jsp to action I want to use request.getAttribute("string",object); thanks & regards --- "Apte, Dhanashree (Noblestar)" <[EMAIL PROTECTED]> wrote: > ... meaning in the Action you want to reference it by doing > request.getParameter

RE: passing object in request from jsp to action

2005-03-31 Thread Apte, Dhanashree (Noblestar)
... meaning in the Action you want to reference it by doing request.getParameter("someAttribute"); Is that correct? If so, on the jsp, in the link to your action, add that parameter as well. Instead of just use . Hope this helps, Dhanashree. -Original Message- From: temp t

Beginner question...

2005-03-31 Thread Apte, Dhanashree (Noblestar)
This is the first time I am doing web programming and using struts as well. I have been meaning to ask this ever since I started. At the risk of sounding stupid, here is the question: If struts is smart enough to figure out logic:iterate and put out the attributes of each bean from the collection

Design question

2005-03-30 Thread Apte, Dhanashree (Noblestar)
Hi All, What would be the way to go with forms when I have multiple tabs on a web page? Single form for all the tabs or multiple forms (one for each tab)? Does anyone know of an example that I could look at? Thanks a lot! Dhanashree.

I need help..

2005-03-09 Thread Apte, Dhanashree (Noblestar)
I have a page that needs to display two empty addresses (each address is a combination of street1, street2, city, state, zip) for user input. The Form for that page has a collection of AddressBeans and the jsp iterates over this collection to display the Address section. The Action that displays t

Partial Validations

2005-01-06 Thread Apte, Dhanashree (Noblestar)
I have a UserForm which holds data for two wizard-type data entry pages, meaning, a user enters half the information on one page, hits NEXT, enters the remaining information on the next page and hits SUBMIT. Example: UserForm has name, id, dob, countryOfResidence being populated from the first pa

OT: Syntax checker

2004-12-10 Thread Apte, Dhanashree (Noblestar)
Sorry for the deviation, but is there an easy way to find out what exactly is causing org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error? error on a jsp? Maybe run it through some tool which points out the problematic tag? Thanks! Dha

Nested properties with javascript

2004-11-17 Thread Apte, Dhanashree (Noblestar)
Hi, In my jsp, i am using nested properties of a form. RoleForm has UserForm which has agencies, agencyName and agencyId within it. The agencies and divisions need to be displayed in dropdown boxes. I got this to display correctly on my jsp using: However, in the javascript for t

RE: Problem with null value

2004-11-16 Thread Apte, Dhanashree (Noblestar)
If you are trying to do different processing in your action based on different buttons clicked in the form, you can use the Struts LookupDispatchAction instead of the normal Action class. It lets you map the buttons on your page to separate methods in your action. Please refer the struts API doc

RE: Nested Properties in ActionForms

2004-11-02 Thread Apte, Dhanashree (Noblestar)
Properties in ActionForms Your accessors on the Form class are private. Make them public. > -Original Message- > From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] > Sent: Monday, November 01, 2004 9:26 AM > To: 'Struts Users Mailing List' > Subj

RE: Nested Properties in ActionForms

2004-11-01 Thread Apte, Dhanashree (Noblestar)
With this, I get: No getter method for property empName.firstName of bean employeeForm. Thanks! -Original Message- From: Ankur Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 11:47 AM To: 'Struts Users Mailing List' Subject: RE: Nested Properties in ActionForms ---

Nested Properties in ActionForms

2004-11-01 Thread Apte, Dhanashree (Noblestar)
Hi All, I need to know the correct way to display nested properties of a form on my jsp using struts. I have an ActionForm of type: public class EmployeeInfoForm extends ActionForm { private Name empName; private Name spouseName; private String getFirstName() {

RE: The get() Method in the ActionForm

2004-10-13 Thread Apte, Dhanashree (Noblestar)
Caroline, It would be the right way or wrong way depending upon where in your class you are calling this method. Could you paste the code for your form as well? -Dhanashree. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 11:17 AM To: [E