Can you show us your MovieList.jwc file/contents?

R

----- Original Message -----
From: "Rowland Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 8:40 AM
Subject: [Tapestry-developer] binding problem


> Hi,
>
> I'm a newbie to Tapestry, and I'm having a problem getting a custom
component
> to work.  I believe the problem is with a binding I have defined in my
> Home.jwc:
>
>   <component id="currentMovies"
type="/movietime/components/MovieList.jwc">
>     <binding name="movies" property-path="visit.calendar.allMovies"/>
>   </component>
>
> The MovieList component consists of :
>    MovieList.java
>    MovieList.html
>    MovieList.jwc
>
> MovieList.java defines the following property:
>    movies : getMovies():List / setMovies(List)
>
> I know that the MovieList component is getting rendered when I load the
Home
> page ( I have some static HTML that I can see is getting inserted ).
>
> The problem is that the 'movies' property is not getting set.  It appears
> that the binding defined above in Home.jwc is never getting resolved.  I
> introduced an error into the 'property-path' ( visit.calendar.llMoves ),
and
> didn't get an exception, so the binding must not be getting resolved.
>
> I don't understand compelete the flow of Tapestry yet, so I'm clueless as
to
> why the binding resolution isn't happening.
>
> Any help would be greatly appreciated - I really like Tapestry so far and
> want to move on to the next level :)
>
> Thanks in advance,
> Rowland
>
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>




_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to