Do you have accessors for 'movie'? setter and getter? I do this with an ajaxmodaldialogopener and it would not work without the setter and getter.
Ted -------------------------------------------- On Thu, 10/31/13, Thomas Peters <[email protected]> wrote: Subject: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent To: "WebObjects Development" <[email protected]> Date: Thursday, October 31, 2013, 9:05 PM 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.woResults : 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> -----Inline Attachment Follows----- _______________________________________________ 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/tedpet5%40yahoo.com 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]
