That is really, really odd.  A stack trace (and the exact version of
Tapestry you are using) would be helpful.ß

On Fri, Apr 4, 2008 at 3:06 AM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  When i try to show a list of my objects in a grid, i get the following
> error :
>  "Could not find a coercion from type org.hibernate.collection.PersistentSet
> to type com.mycompany.MyType"
>
>  Here is my component code :
>
>  public class UserAdsList {
>
>    @Parameter(required = true)
>    private List<Ad> ads = null;
>    public List<Ad> getAds() {
>        return ads;
>    }
>    public void setAds(List<Ad> ads) {
>        this.ads = ads;
>    }
>  }
>
>
>  and template :
>
>  <t:container
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
>  <t:grid source="ads"/>
>
>  </t:container>
>
>  Any idea ?
>
>  Stephane
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to