Re: logic iterate help

2005-02-24 Thread Richard Reyes
Its working thanks. another thing though.

I need to use a constant variable for 
   wrote:
> Hi Richards,
> 
>  id="idRuser">
> 
> 
> 
> 
> 
> Make sure that class Ruser has getter and setter methods too
> 
> Regards,
> Krishna Mohan
> 
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 24, 2005 3:52 PM
> To: Struts Users Mailing List
> Subject: logic iterate help
> 
> Hello Guys,
> 
> I have a user obj at sessionScope. Now this object have an
> field/object in it of  type ArrayList named rusers. Arraylist rusers
> contains an array of object
> 
> public class RUser {
> 
> private String username = "";
> private String password = "";
> .
> .
> .
> 
> How do i display the username using logic iterate.
> 
> Please help
> Thanks
> Richard
> 
> -
> 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: logic iterate help

2005-02-24 Thread Richard Reyes
Hi  Iyanu Rajasekaran ,

Thanks for the reply. I got an error...

ception: /serverpages/main-rusers.jsp(45,33) equal symbol expected

On Thu, 24 Feb 2005 05:35:41 -0500, Iyanu, Rajasekaran
<[EMAIL PROTECTED]> wrote:
> 
>  Richard,
> 
>  U can specify it like this...
> 
> 
> 
> 
> 
>  When the iterate tag is evaluated, every element of rusers will be
> taken out, typecasted into the Ruser Object and will be passed to the
> loop..
>  bean:write tag here can process this object, and use the get method of
> the Ruser object to display the username value...
> 
>  Does this answer ur question..?
> 
>  Cheers
>  Rajasekaran Iyanu.
>  [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 24, 2005 3:52 PM
> To: Struts Users Mailing List
> Subject: logic iterate help
> 
> Hello Guys,
> 
> I have a user obj at sessionScope. Now this object have an
> field/object in it of  type ArrayList named rusers. Arraylist rusers
> contains an array of object
> 
> public class RUser {
> 
> private String username = "";
> private String password = "";
> .
> .
> .
> 
> How do i display the username using logic iterate.
> 
> Please help
> Thanks
> Richard
> 
> -
> 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: logic iterate help

2005-02-24 Thread Iyanu, Rajasekaran

 Richard, 

 U can specify it like this...





 When the iterate tag is evaluated, every element of rusers will be
taken out, typecasted into the Ruser Object and will be passed to the
loop.. 
 bean:write tag here can process this object, and use the get method of
the Ruser object to display the username value...

 Does this answer ur question..?
 
 Cheers
 Rajasekaran Iyanu.
 [EMAIL PROTECTED]


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 3:52 PM
To: Struts Users Mailing List
Subject: logic iterate help


Hello Guys,

I have a user obj at sessionScope. Now this object have an
field/object in it of  type ArrayList named rusers. Arraylist rusers
contains an array of object

public class RUser {

private String username = "";
private String password = "";
.
.
.

How do i display the username using logic iterate.

Please help
Thanks
Richard

-
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: logic iterate help

2005-02-24 Thread Krishna Mohan Radhakrishnan
Hi Richards,








Make sure that class Ruser has getter and setter methods too

Regards,
Krishna Mohan
 
-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 3:52 PM
To: Struts Users Mailing List
Subject: logic iterate help

Hello Guys,

I have a user obj at sessionScope. Now this object have an
field/object in it of  type ArrayList named rusers. Arraylist rusers
contains an array of object

public class RUser {

private String username = "";
private String password = "";
.
.
.

How do i display the username using logic iterate.

Please help
Thanks
Richard

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