Regarding : logic:iterate

2004-01-28 Thread Ramachandran

Hi All,
   Can any one please tell me, how to assign a values to a string
using logic:iterate

Example:logic:iterate id=maxreqiddetail name=maxreqiddetails

/logic:iterate

   In this iterator, i am having values in the name
'maxreqiddetails as primary_skill and location.

   I know how to print the values...by using bean:write
name=maxrediddetail property=primary_skill/

But i wanto assing those values to a String. How can i do that one.

Please anu body having any idea plase reply me


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



Re: Regarding : logic:iterate

2004-01-28 Thread Raman Garg
Hello,
I hope following will resolve your problem:

 logic:iterate id=maxreqiddetail name=maxreqiddetails
%
   String s=maxreqiddetail.getPrimary_skill();
%
 /logic:iterate

I haven't tested it but i think it will work.

Thanks,
-- Raman


- Original Message - 
From: Ramachandran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 1:43 PM
Subject: Regarding : logic:iterate


 
 Hi All,
Can any one please tell me, how to assign a values to a string
 using logic:iterate
 
 Example:logic:iterate id=maxreqiddetail name=maxreqiddetails
 
 /logic:iterate
 
In this iterator, i am having values in the name
 'maxreqiddetails as primary_skill and location.
 
I know how to print the values...by using bean:write
 name=maxrediddetail property=primary_skill/
 
 But i wanto assing those values to a String. How can i do that one.
 
 Please anu body having any idea plase reply me
 
 
 -
 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: Regarding : logic:iterate

2004-01-28 Thread Nicolas De Loof
Use this :

logic:iterate id=maxreqiddetail name=maxreqiddetails
bean:define id=s name=maxreqiddetail property=primary_skill/
...
/logic:iterate

They're is a JSTL way to do this too, but I don't use it so cannot tell you how.
Nico.

 
 
 - Original Message - 
 From: Ramachandran [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 1:43 PM
 Subject: Regarding : logic:iterate
 
 
  
  Hi All,
 Can any one please tell me, how to assign a values to a string
  using logic:iterate
  
  Example:logic:iterate id=maxreqiddetail name=maxreqiddetails
  
  /logic:iterate
  
 In this iterator, i am having values in the name
  'maxreqiddetails as primary_skill and location.
  
 I know how to print the values...by using bean:write
  name=maxrediddetail property=primary_skill/
  
  But i wanto assing those values to a String. How can i do that one.
  
  Please anu body having any idea plase reply me
  
  
  -
  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]

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



RE: Regarding : logic:iterate

2004-01-28 Thread Ramachandran
Hi Nicolas,

It was working fine by using bean:define to get the value
from the iterator.. Very Very thankful to u.

Bye
Ram


-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 4:45 PM
To: Struts Users Mailing List
Subject: Re: Regarding : logic:iterate


Use this :

logic:iterate id=maxreqiddetail name=maxreqiddetails
bean:define id=s name=maxreqiddetail property=primary_skill/
...
/logic:iterate

They're is a JSTL way to do this too, but I don't use it so cannot tell you
how.
Nico.



 - Original Message -
 From: Ramachandran [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 1:43 PM
 Subject: Regarding : logic:iterate


 
  Hi All,
 Can any one please tell me, how to assign a values to a
string
  using logic:iterate
 
  Example:logic:iterate id=maxreqiddetail name=maxreqiddetails
 
  /logic:iterate
 
 In this iterator, i am having values in the name
  'maxreqiddetails as primary_skill and location.
 
 I know how to print the values...by using bean:write
  name=maxrediddetail property=primary_skill/
 
  But i wanto assing those values to a String. How can i do that one.
 
  Please anu body having any idea plase reply me
 
 
  -
  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]

-
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]