Help: and form input fields

2000-12-26 Thread Chandan Kulkarni
I am trying to use to iterate through a list of order items.I cannot get it to work. I have seen several emails about patches for handling nested and indexed properties...   OrderForm consists of an ArrayList of items.   I have added indexed getters   ArrayList getItems() and    OrderItem g

Re: Help: and form input fields

2000-12-26 Thread Ted Husted
If I understand the situation, you might be able to do this with an array of orderItem beans (orderItems), with getName and getValue methods.                  form:text should then call getName and getValue for the name and value of each text field.   getName might use and internal counter

Re: Help: and form input fields

2000-12-27 Thread Chandan Kulkarni
ted <[EMAIL PROTECTED]>To: Struts List <[EMAIL PROTECTED]>Date: Tuesday, December 26, 2000 4:32 PMSubject: Re: Help: and form input fields If I understand the situation, you might be able to do this with an array of orderItem beans (orderItems), with getName and getValue method

Re: Help: and form input fields

2000-12-27 Thread Ted Husted
an indexed/nested property name is to use the tag itself.     I am using the struts 12/15 build    Thanks,       -Chandan   -Original Message-From: Ted Husted <[EMAIL PROTECTED]>To: Struts List <[EMAIL PROTECTED]>Date: Tuesday, December 26, 2000 4:32 PMSubjec

Re: Help: and form input fields

2000-12-27 Thread Chandan Kulkarni
AIL PROTECTED]>Date: Wednesday, December 27, 2000 9:50 AMSubject: Re: Help: and form input fields A clear statement of what you need to accomplish, without posing a particular implementation, might be helpful. I'm not exactly sure what it is you need to do. My first guess

Re: Help: and form input fields

2000-12-27 Thread Ted Husted
Are you trying to do something like this order form (Javascript)   https://public.wxxi.org/schedules/fm/voice-order.htm   This only shows one item, but the idea is that there would be one line for each item in a small inventory.   -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom S

Re: Help: and form input fields

2000-12-27 Thread Chandan Kulkarni
Yes...same idea... -Original Message-From: Ted Husted <[EMAIL PROTECTED]>To: Struts List <[EMAIL PROTECTED]>Date: Wednesday, December 27, 2000 10:36 AMSubject: Re: Help: and form input fields Are you trying to do something like this order form

Re: Help: and form input fields

2001-01-04 Thread Mishkin Berteig
: Help: and form input fields  Are you trying to do something like this order form (Javascript) https://public.wxxi.org/schedules/fm/voice-order.htm This only shows one item, but the idea is that there would be one line for each item in a small inventory.  -- Ted Husted, Husted dot Com, Fairport NY US

Re: Help: and form input fields

2001-01-05 Thread Chandan Kulkarni
rs would be parsed. I have just started working on this problem. Mishkin. Chandan Kulkarni wrote:  Yes...same idea... -Original Message- From: Ted Husted <[EMAIL PROTECTED]> To: Struts List <[EMAIL PROTECTED]> Date: Wednesday, December 27

Re: Help: and form input fields

2001-01-05 Thread Mishkin Berteig
How does your orderform bean look? What are the method signatures for the items property? Thanks, Mishkin. Chandan Kulkarni wrote:   I have this working now... Here's how I got this working I'm including my BeanUtils.java.Here's how my jsp looks (the does not work as expected...I had to use

Re: Help: and form input fields

2001-01-05 Thread Chandan Kulkarni
My orderform bean has      public OrderItem getItems(int index )   // this is used during the setProperty...   public ArrayList getItems() // This is used by the iterate tag    public void setItems(int index,OrderItem str)     public void setItems(ArrayList arr) My OrderIt