• 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
Resolved: 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]

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


  • Subject: Resolved: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
  • From: Thomas Peters <email@hidden>
  • Date: Sun, 03 Nov 2013 20:29:48 -0500

I had an error in my code…  it’s working now.  :-)


On Nov 2, 2013, at 9:03 AM, Theodore Petrosky <email@hidden> wrote:

> why do you want this index? maybe I was answering the wrong question!
>
> Ted
>
>
> On Nov 1, 2013, at 4:04 PM, Thomas Peters <email@hidden> wrote:
>
>> thanks to both of you for your reply.
>>
>> 	The resultsList is an NSArray type casted to a Movie object. and has 5 elements in the array.
>> 	I have setMovie and getMovie accessor methods.
>>
>> I am trying to understand how to get the index of the selected element in the array.  the WOHyperlink is inside the WORepetition…  and I have 5 movies inside bases on the results of a fetch.  The WOHyperlink has the movie title set for each in the ResultTitle.  However, I am trying to understand how to pass the current object.
>>
>> Thomas
>>
>>
>>
>> On Nov 1, 2013, at 8:41 AM, Theodore Petrosky <email@hidden> wrote:
>>
>>> 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


References: 
 >Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent (From: Theodore Petrosky <email@hidden>)
 >Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent (From: Thomas Peters <email@hidden>)
 >Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Seems like partial commit to wonder?
  • Next by Date: trying to get a Fetch Specification - Distinct Categories working on a WOPopupButton
  • Previous by thread: Re: I am trying to create a WOHyperlink inside a WORepetition > null target WOComponent
  • Next by thread: trying to get a Fetch Specification - Distinct Categories working on a WOPopupButton
  • Index(es):
    • Date
    • Thread