• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent


  • Subject: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
  • From: Thomas Peters <email@hidden>
  • Date: Thu, 31 Oct 2013 21:05:17 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln" (From: Chuck Hill <email@hidden>)
 >Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln" (From: Thomas Peters <email@hidden>)
 >error Trying to install mod_WebObject.so into xampp on ubuntu linux (From: Thomas Peters <email@hidden>)
 >Re: error Trying to install mod_WebObject.so into xampp on ubuntu linux (From: Thomas Peters <email@hidden>)

  • Prev by Date: Re: Bulding a true war
  • Previous by thread: Re: error Trying to install mod_WebObject.so into xampp on ubuntu linux
  • Next by thread: Bulding a true war
  • Index(es):
    • Date
    • Thread