Re: Help needed on Iterate Tag

2003-10-22 Thread David Molinier

Try this :

logic:iterate id=element name=newCatFormBean
   bean:write name=element property=names/
/logic:iterate

--
David Molinier - PagesJaunes - DSI/DET/DCR 3 - 05.56.90.50.03 *


- Original Message -
From: Thakur, Vikram [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 7:33 AM
Subject: RE: Help needed on Iterate Tag


 Hi Navjot,
 This is the error message that I get,
 Error 500: Cannot find bean element in any scope

 This is the code in jsp ,
 logic:iterate id=element name=newCatFormBean property=names
bean:write name=element /
 /logic:iterate

 and this is the code in form bean,

 public Collection getNames() {
 return names;
 }

 Thanks,
 Vikram

 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:12 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag


 can you post the error?

 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:04 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Help needed on Iterate Tag
 
 
 No It is not working..
 
 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:54 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag
 
 
 quick try - try replacing Names with names in iterate tag
 
 
 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:55 AM
 To: Struts (E-mail)
 Subject: Help needed on Iterate Tag
 
 
 Hi ,
  I have Collection of  Strings and I want to print all the values in
 this collection using Iterate Tag.
  Any guidelines how do I do this ??
 
  I had tried to implement it as follows but it is not working.
 
  logic:iterate id=element  name=newCatFormBean property=Names
bean:write name=element /
  /logic:iterate
 
  Here the getNames() method of my form bean returns a Collection of
 Strings.
  The bean:write method tries to search for FormBean with element
 and I get error.
  I would really appreciate If someone can help me on this.
 
 Thanks,
 Vikram
 
 
 
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 This message contains information that may be privileged or confidential
and
 is the property of the Cap Gemini Ernst  Young Group. It is intended only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete all
copies
 of this message.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-22 Thread Thakur, Vikram
Thanks everyone.
There was no problem with the tag but I had not defined the 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % entry and that
is why it was
not working :(

Thanks,
Vikram



-Original Message-
From: David Molinier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:13 PM
To: Struts Users Mailing List
Subject: Re: Help needed on Iterate Tag



Try this :

logic:iterate id=element name=newCatFormBean
   bean:write name=element property=names/
/logic:iterate

--
David Molinier - PagesJaunes - DSI/DET/DCR 3 - 05.56.90.50.03 *


- Original Message -
From: Thakur, Vikram [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 7:33 AM
Subject: RE: Help needed on Iterate Tag


 Hi Navjot,
 This is the error message that I get,
 Error 500: Cannot find bean element in any scope

 This is the code in jsp ,
 logic:iterate id=element name=newCatFormBean property=names
bean:write name=element /
 /logic:iterate

 and this is the code in form bean,

 public Collection getNames() {
 return names;
 }

 Thanks,
 Vikram

 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:12 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag


 can you post the error?

 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:04 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Help needed on Iterate Tag
 
 
 No It is not working..
 
 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:54 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag
 
 
 quick try - try replacing Names with names in iterate tag
 
 
 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:55 AM
 To: Struts (E-mail)
 Subject: Help needed on Iterate Tag
 
 
 Hi ,
  I have Collection of  Strings and I want to print all the values in
 this collection using Iterate Tag.
  Any guidelines how do I do this ??
 
  I had tried to implement it as follows but it is not working.
 
  logic:iterate id=element  name=newCatFormBean property=Names
bean:write name=element /
  /logic:iterate
 
  Here the getNames() method of my form bean returns a Collection of
 Strings.
  The bean:write method tries to search for FormBean with element
 and I get error.
  I would really appreciate If someone can help me on this.
 
 Thanks,
 Vikram
 
 
 
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 This message contains information that may be privileged or confidential
and
 is the property of the Cap Gemini Ernst  Young Group. It is intended only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete all
copies
 of this message.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional

Re: Help needed on Iterate Tag

2003-10-22 Thread Abhijeet Mahalkar
Aapko Naye Saal me...

Chandragupt Ki Shakti
 Meerabai Ki Bhakti

 Ramchandra Ka Gyan
Karan Ka Daan

 Einstein Ki Buddhi
Nobel Prize Ki Siddhi

  Gandhi Ki Ahimsa
 India Ki Parampara

 Vajpayee Ki Maryada
  Nizaam Ki Sampada

  Michael Jordan Ki Salary
  Abdul Kalam Ki Vocabulary

  Bhagat Singh Ka Deshprem
   Sweetheart Ka Amarprem

 Microsoft Ke Share
   Rupiyo Ke Dher

   Tata Ke Senses
 Ambani Ke Licenses

   Birla Ka Bangla
  Daler Ka Bhangra

  Amitabh Ki Style
  Madhuri Ki Smile

   Shahrukh Ki Personality
   Aishwarya Ki Popularity

 Worldtour Ka Ticket
 Tendulkar Ka Wicket

 Administrator Ke Passwords
  Jokes Ke Forwards

   Mercedez Ki Car
   Diamond Ka Haar

Aur Logon Ka Dher Saraa Pyar Prapt  Ho...

   Wish you a Happy Diwali and a Prosperous New Year

Regards
Abhijeet Mahalkar




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-22 Thread Kalra, Ashwani
It also gives this error for various other problems,Which are difficult to
debug.For eg if the element obtained is null, then also it gives the same
error. So use logic:present  before printing its value.

/Regds
Ashwani

-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:34 PM
To: 'Struts Users Mailing List'
Subject: RE: Help needed on Iterate Tag


Thanks everyone.
There was no problem with the tag but I had not defined the 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % 
entry and that
is why it was
not working :(

Thanks,
Vikram



-Original Message-
From: David Molinier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:13 PM
To: Struts Users Mailing List
Subject: Re: Help needed on Iterate Tag



Try this :

logic:iterate id=element name=newCatFormBean
   bean:write name=element property=names/
/logic:iterate

--
David Molinier - PagesJaunes - DSI/DET/DCR 3 - 05.56.90.50.03 *


- Original Message -
From: Thakur, Vikram [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 7:33 AM
Subject: RE: Help needed on Iterate Tag


 Hi Navjot,
 This is the error message that I get,
 Error 500: Cannot find bean element in any scope

 This is the code in jsp ,
 logic:iterate id=element name=newCatFormBean property=names
bean:write name=element /
 /logic:iterate

 and this is the code in form bean,

 public Collection getNames() {
 return names;
 }

 Thanks,
 Vikram

 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:12 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag


 can you post the error?

 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 10:04 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Help needed on Iterate Tag
 
 
 No It is not working..
 
 -Original Message-
 From: Navjot Singh [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:54 AM
 To: Struts Users Mailing List
 Subject: RE: Help needed on Iterate Tag
 
 
 quick try - try replacing Names with names in iterate tag
 
 
 -Original Message-
 From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2003 9:55 AM
 To: Struts (E-mail)
 Subject: Help needed on Iterate Tag
 
 
 Hi ,
  I have Collection of  Strings and I want to print all the 
values in
 this collection using Iterate Tag.
  Any guidelines how do I do this ??
 
  I had tried to implement it as follows but it is not working.
 
  logic:iterate id=element  name=newCatFormBean 
property=Names
bean:write name=element /
  /logic:iterate
 
  Here the getNames() method of my form bean returns a Collection of
 Strings.
  The bean:write method tries to search for FormBean with element
 and I get error.
  I would really appreciate If someone can help me on this.
 
 Thanks,
 Vikram
 
 
 
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It 
is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If 
you receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 
-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 
[EMAIL PROTECTED]
 
 
 
 
-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 This message contains information that may be privileged or
 confidential and
 is the property of the Cap Gemini Ernst  Young Group. It 
is intended
only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
 disseminate,
 distribute, or use this message or any part thereof. If you 
receive this
 message in error, please notify the sender immediately and delete
 all copies
 of this message.
 
 
-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 This message contains information that may be privileged or 
confidential
and
 is the property of the Cap Gemini Ernst  Young Group. It is 
intended only
 for the person to whom

RE: Help needed on Iterate Tag

2003-10-22 Thread Rajat Pandit
Huh?

-Original Message-
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2003 3:46 AM
To: Struts Users Mailing List; WebSphere User Group Tech Q  A Forum
Subject: Re: Help needed on Iterate Tag


Aapko Naye Saal me...

Chandragupt Ki Shakti
 Meerabai Ki Bhakti

 Ramchandra Ka Gyan
Karan Ka Daan

 Einstein Ki Buddhi
Nobel Prize Ki Siddhi

  Gandhi Ki Ahimsa
 India Ki Parampara

 Vajpayee Ki Maryada
  Nizaam Ki Sampada

  Michael Jordan Ki Salary
  Abdul Kalam Ki Vocabulary

  Bhagat Singh Ka Deshprem
   Sweetheart Ka Amarprem

 Microsoft Ke Share
   Rupiyo Ke Dher

   Tata Ke Senses
 Ambani Ke Licenses

   Birla Ka Bangla
  Daler Ka Bhangra

  Amitabh Ki Style
  Madhuri Ki Smile

   Shahrukh Ki Personality
   Aishwarya Ki Popularity

 Worldtour Ka Ticket
 Tendulkar Ka Wicket

 Administrator Ke Passwords
  Jokes Ke Forwards

   Mercedez Ki Car
   Diamond Ka Haar

Aur Logon Ka Dher Saraa Pyar Prapt  Ho...

   Wish you a Happy Diwali and a Prosperous New Year

Regards
Abhijeet Mahalkar




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help needed on Iterate Tag

2003-10-21 Thread Thakur, Vikram
Hi ,
I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
Any guidelines how do I do this ??

I had tried to implement it as follows but it is not working.

logic:iterate id=element  name=newCatFormBean property=Names
  bean:write name=element /
/logic:iterate

Here the getNames() method of my form bean returns a Collection of
Strings.
The bean:write method tries to search for FormBean with element
and I get error.
I would really appreciate If someone can help me on this.

Thanks,
Vikram





This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-21 Thread Navjot Singh
quick try - try replacing Names with names in iterate tag


-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Struts (E-mail)
Subject: Help needed on Iterate Tag


Hi ,
   I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
   Any guidelines how do I do this ??
   
   I had tried to implement it as follows but it is not working.

   logic:iterate id=element  name=newCatFormBean property=Names
 bean:write name=element /
   /logic:iterate

   Here the getNames() method of my form bean returns a Collection of
Strings.
   The bean:write method tries to search for FormBean with element
and I get error.
   I would really appreciate If someone can help me on this.

Thanks,
Vikram
   
   
   


This message contains information that may be privileged or 
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, 
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete 
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-21 Thread Thakur, Vikram
No It is not working..

-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:54 AM
To: Struts Users Mailing List
Subject: RE: Help needed on Iterate Tag


quick try - try replacing Names with names in iterate tag


-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Struts (E-mail)
Subject: Help needed on Iterate Tag


Hi ,
   I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
   Any guidelines how do I do this ??
   
   I had tried to implement it as follows but it is not working.

   logic:iterate id=element  name=newCatFormBean property=Names
 bean:write name=element /
   /logic:iterate

   Here the getNames() method of my form bean returns a Collection of
Strings.
   The bean:write method tries to search for FormBean with element
and I get error.
   I would really appreciate If someone can help me on this.

Thanks,
Vikram
   
   
   


This message contains information that may be privileged or 
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, 
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete 
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-21 Thread Puneet Agarwal

Vikram,
Navjot said the right thing it may not work with Names but with names.
You can try another thing
html: form name=newCatFormBean 
logic:iterate id=abcd name=names
  bean:write name=a /
/logic:iterate
/html:form
Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


   
 
Thakur,   
 
Vikram   To: 'Struts Users Mailing List' 
[EMAIL PROTECTED]
vikram.thakurcc:  
 
@cgey.comSubject: RE: Help needed on  Iterate Tag 
 
   
 
10/22/03 10:03 
 
AM 
 
Please respond 
 
to Struts 
 
Users Mailing  
 
List  
 
   
 
   
 




No It is not working..

-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:54 AM
To: Struts Users Mailing List
Subject: RE: Help needed on Iterate Tag


quick try - try replacing Names with names in iterate tag


-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Struts (E-mail)
Subject: Help needed on Iterate Tag


Hi ,
I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
Any guidelines how do I do this ??

I had tried to implement it as follows but it is not working.

logic:iterate id=element  name=newCatFormBean property=Names
  bean:write name=element /
/logic:iterate

Here the getNames() method of my form bean returns a Collection of
Strings.
The bean:write method tries to search for FormBean with element
and I get error.
I would really appreciate If someone can help me on this.

Thanks,
Vikram





This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential
and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all
copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




DISCLAIMER: The information contained in this message is intended only and
solely for the addressed individual or entity indicated in this message and
for the exclusive use of the said addressed individual or entity indicated
in this message (or responsible for delivery of the message to such person)
and may contain legally

RE: Help needed on Iterate Tag

2003-10-21 Thread Navjot Singh
can you post the error?

-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:04 AM
To: 'Struts Users Mailing List'
Subject: RE: Help needed on Iterate Tag


No It is not working..

-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:54 AM
To: Struts Users Mailing List
Subject: RE: Help needed on Iterate Tag


quick try - try replacing Names with names in iterate tag


-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Struts (E-mail)
Subject: Help needed on Iterate Tag


Hi ,
  I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
  Any guidelines how do I do this ??

  I had tried to implement it as follows but it is not working.

  logic:iterate id=element  name=newCatFormBean property=Names
bean:write name=element /
  /logic:iterate

  Here the getNames() method of my form bean returns a Collection of
Strings.
  The bean:write method tries to search for FormBean with element
and I get error.
  I would really appreciate If someone can help me on this.

Thanks,
Vikram





This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help needed on Iterate Tag

2003-10-21 Thread Thakur, Vikram
Hi Navjot,
This is the error message that I get,
Error 500: Cannot find bean element in any scope 

This is the code in jsp ,
logic:iterate id=element name=newCatFormBean property=names
bean:write name=element /   
/logic:iterate

and this is the code in form bean,

public Collection getNames(){
return names;
}

Thanks,
Vikram

-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:12 AM
To: Struts Users Mailing List
Subject: RE: Help needed on Iterate Tag


can you post the error?

-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:04 AM
To: 'Struts Users Mailing List'
Subject: RE: Help needed on Iterate Tag


No It is not working..

-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:54 AM
To: Struts Users Mailing List
Subject: RE: Help needed on Iterate Tag


quick try - try replacing Names with names in iterate tag


-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 9:55 AM
To: Struts (E-mail)
Subject: Help needed on Iterate Tag


Hi ,
  I have Collection of  Strings and I want to print all the values in
this collection using Iterate Tag.
  Any guidelines how do I do this ??

  I had tried to implement it as follows but it is not working.

  logic:iterate id=element  name=newCatFormBean property=Names
bean:write name=element /
  /logic:iterate

  Here the getNames() method of my form bean returns a Collection of
Strings.
  The bean:write method tries to search for FormBean with element
and I get error.
  I would really appreciate If someone can help me on this.

Thanks,
Vikram





This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete
all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]