Could not find an adaptor for class X

"Meade, Joseph L" <[email protected]> Tue, 11 Feb 2003 16:37:11 -0500
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <A594A186D0C36944AF95B53D907250F157BBC8@HSCEMAIL1.hscs.virginia.edu>
I'm working very hard to wrap my brain around Tapestry concepts and =
syntax, but need some help with this one.

I keep getting an exception with the text "Could not find an adaptor for =
class Person".

On a PersonList page, I've got a Foreach component that has as its =
source a List of Person objects.  I then need to access attributes of =
each object.  It's really straightforward and not unlike some of the =
tutorials.

Here's the clip from the PersonList.page file:
<component id=3D"e" type=3D"Foreach">
    <binding name=3D"source" expression=3D"personList"/>
    <binding name=3D"value" expression=3D"jondough"/>
</component>
<component id=3D"insertPersonID" type=3D"Insert">
    <binding name=3D"value" expression=3D"jondough.personID"/>
</component>
<component id=3D"insertAddress" type=3D"Insert">
    <binding name=3D"value" expression=3D"jondough.address"/>
</component>

What is an adaptor?  The Person class is in the same directory as the =
PersonList class.  I've been working on this one all day.  Thanks in =
advance for your help!


Joe Meade
[email protected]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com