Re: iterate issue

2002-01-09 Thread João Paulo G. Batistella

>

Strange.
But, why getDailyList returns ArrayList and setDailyList receives a boolean??

[]'s
JP


>
> public ArrayList getDailyList() {
> return (this.dailyList);
> }
>
> public void setDailyList(boolean isAdmin) throws ServletException {
> ...
> }
> ...
>
>
> Any Ideas?
>
> Thanks,
>
>  John Collard
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
João Paulo G. Batistella
Ci&T - Software enabling the e-world
Phone: +55 (19) 3737-4515
http://www.cit.com.br



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: iterate issue

2002-01-09 Thread Collard, John

setDailyList queries a database based on whether the user is an administor
or not.  The results
are placed in the arraylist dailyList.


> John Collard

-Original Message-
From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 2:17 PM
To: Struts Users Mailing List
Subject: Re: iterate issue


>

Strange.
But, why getDailyList returns ArrayList and setDailyList receives a
boolean??

[]'s
JP


>
> public ArrayList getDailyList() {
> return (this.dailyList);
> }
>
> public void setDailyList(boolean isAdmin) throws ServletException {
> ...
> }
> ...
>
>
> Any Ideas?
>
> Thanks,
>
>  John Collard
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
João Paulo G. Batistella
Ci&T - Software enabling the e-world
Phone: +55 (19) 3737-4515
http://www.cit.com.br



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

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




Re: iterate issue

2002-01-09 Thread João Paulo G. Batistella

But you should have the same type for set/get methods.
The information concerning about administrator should be in another attribute.
Try!

"Collard, John" wrote:

> setDailyList queries a database based on whether the user is an administor
> or not.  The results
> are placed in the arraylist dailyList.
>
> > John Collard
>
> -Original Message-
> From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 2:17 PM
> To: Struts Users Mailing List
> Subject: Re: iterate issue
>
> >
>
> Strange.
> But, why getDailyList returns ArrayList and setDailyList receives a
> boolean??
>
> []'s
> JP
>
> >
> > public ArrayList getDailyList() {
> > return (this.dailyList);
> > }
> >
> > public void setDailyList(boolean isAdmin) throws ServletException {
> > ...
> > }
> > ...
> >
> >
> > Any Ideas?
> >
> > Thanks,
> >
> >  John Collard
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> João Paulo G. Batistella
> Ci&T - Software enabling the e-world
> Phone: +55 (19) 3737-4515
> http://www.cit.com.br
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
João Paulo G. Batistella
Ci&T - Software enabling the e-world
Phone: +55 (19) 3737-4515
http://www.cit.com.br



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




RE: iterate issue

2002-01-09 Thread Jenkins, David

Try declaring the return type as Collection. I had the same problem which
disappeared when I changed type from List to Collection.

Dave


This message contains official information which is intended
for the use of the addressee(s) only.  If you are not the
intended recipient, please notify the sender immediately.
You should not further disseminate or copy this message
in any way.
*

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: iterate issue

2002-01-10 Thread PRESTON Scott

Any reason why the struts example works in registration.jsp, when the
property is a Hashtable and the return type is Subscriptions[]?

 

Tried this example with different classes and I get the no getter for class
error.