Re: what setters do i implement in an indexed tag --NewBie question

2003-06-12 Thread Adam Hardy
Sashi, your person bean must have getName(), setName() and getPhoneNo(), setPhoneNo(). Everybody: I haven't come across the html:taglib indexed property before. This seems to do what nested: tags do - is this functional overlap? Generally with JST taglib as well, there seems to be a wide

RE: what setters do i implement in an indexed tag--NewBiequestion

2003-06-12 Thread Sashi Ravipati
if you switch over to nested:iterate, the whole id thing goes away and the property and type attributes are sufficient. -john -Original Message- From: John Greenhill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:37 PM To: Struts Users Mailing List Subject: RE: what setters do

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-12 Thread Sandeep Takhar
To: Struts Users Mailing List Subject: RE: what setters do i implement in an indexed tag --NewBiequestion Assuming you're NOT using the lazy initialization, you could do it like this... 1) your iterate will need to specify the type of the nested class: logic:iterate id=person

RE: what setters do i implement in an indexed tag--NewBiequestion

2003-06-12 Thread Sashi Ravipati
PROTECTED] Sent: Wednesday, June 11, 2003 3:37 PM To: Struts Users Mailing List Subject: RE: what setters do i implement in an indexed tag --NewBiequestion Assuming you're NOT using the lazy initialization, you could do it like this... 1) your iterate will need to specify the type of the nested

RE: what setters do i implement in an indexed tag --NewBie question

2003-06-12 Thread John Greenhill
setters do i implement in an indexed tag --NewBie question Sashi, your person bean must have getName(), setName() and getPhoneNo(), setPhoneNo(). Everybody: I haven't come across the html:taglib indexed property before. This seems to do what nested: tags do - is this functional overlap

RE: what setters do i implement in an indexed tag--NewBie question

2003-06-12 Thread Sashi Ravipati
, then Arron contributed nested and life got easier. Stick with it and don't go backwards. -john -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:52 PM To: Struts Users Mailing List Subject: Re: what setters do i implement in an indexed tag

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-11 Thread John Greenhill
Assuming you're NOT using the lazy initialization, you could do it like this... 1) your iterate will need to specify the type of the nested class: logic:iterate id=person name=myFormBean property=personList type=com.mydom.myproject.struts.Person Where the Person class has just the standard

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-11 Thread John Greenhill
Message- From: John Greenhill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:37 PM To: Struts Users Mailing List Subject: RE: what setters do i implement in an indexed tag --NewBiequestion Assuming you're NOT using the lazy initialization, you could do it like this... 1) your iterate

RE: what setters do i implement in an indexed tag ?

2001-08-15 Thread Marcel Maré
'hacked' version and Dave's original code is. Please enlighten me. TIA Marcel -Oorspronkelijk bericht- Van: Warwick Boote [mailto:[EMAIL PROTECTED]] Verzonden: woensdag 25 juli 2001 17:13 Aan: [EMAIL PROTECTED] Onderwerp: RE: what setters do i implement in an indexed tag ? Here

Re: what setters do i implement in an indexed tag ?

2001-07-27 Thread Stephen Welds
in the ArrayList. Hope this helps. Stephen - Original Message - From: Deadman, Hal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 12:59 PM Subject: RE: what setters do i implement in an indexed tag ? | Ignore my previous post because I was mistaken. You don't need a setXYZ

RE: what setters do i implement in an indexed tag ?

2001-07-25 Thread Warwick Boote
To: [EMAIL PROTECTED] Subject: RE: what setters do i implement in an indexed tag ? Hi, You need 3 methods, a getter and a setter for the Vector (or other arraytype object) and a getter for single object in your arraytype object, i.e., getObject(int inx){ return myVector.elementAt(inx) } Just like

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Deadman, Hal
In the indexed tags write up at http://www.husted.com/about/struts/indexed-tags.htm, it only mentions the two types of get methods required in the action form. It doesn't mention the setters that are required. It looks like the getParameterList() method is only used by the iterate tag. To

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Deadman, Hal
To: [EMAIL PROTECTED] Subject: RE: what setters do i implement in an indexed tag ? In the indexed tags write up at http://www.husted.com/about/struts/indexed-tags.htm, it only mentions the two types of get methods required in the action form. It doesn't mention the setters that are required. It looks like

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Torsten Terp
that out! ^terp -Original Message- From: Deadman, Hal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 5:03 PM To: [EMAIL PROTECTED] Subject: RE: what setters do i implement in an indexed tag ? In the indexed tags write up at http://www.husted.com/about/struts/indexed-tags.htm