I bet resultsList is null when the request comes back.


Am 01.11.2013 um 02:05 schrieb Thomas Peters <[email protected]>:

> I have the following…  This should be working… the movie that is getting 
> passed to setMovie on the MovieDetails method is null.  The WOHyperLink id 
> inside the WORepetition that is the results list of movies.  Typical demo... 
> what am I doing wrong?
> ___________________________ 
> Main.wo
> Results : WORepetition {
>       list = resultsList;
>       item = movie;
>       index = indexrt;
> }
> 
> ResultTitle : WOString {
>       value = movie.title;
> }
> 
> MovieLink2 : WOHyperlink {
>       action = showDetails;
> }
> 
> ___________________________
> Main.html
> <snippet>
>       <webobject name = "Results">
>                       
>               <webobject name="MovieLink2">
>                       <webobject name = "ResultTitle" />
>               </webobject><br><br>
>               
>       </webobject>
> </snippet>
> 
> ___________________________
> Main.java
> <snippet>
>       public WOComponent showDetails() {
>               MovieDetails detailsPage = 
> (MovieDetails)pageWithName("MovieDetails");
>               detailsPage.setMovie(movie);
>               return detailsPage;
>       }
> </snippet>
> 
>       
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to