Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
- Subject: Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 01 Nov 2013 05:41:14 -0700 (PDT)
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@hidden> wrote:
Subject: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
To: "WebObjects Development" <email@hidden>
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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