• 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
Problem with WOHyperlink/WORepetition in embedded WOComponents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with WOHyperlink/WORepetition in embedded WOComponents


  • Subject: Problem with WOHyperlink/WORepetition in embedded WOComponents
  • From: Ron DuCros <email@hidden>
  • Date: Wed, 10 Aug 2005 12:00:04 +0100

Hi,

I am new to WebObject so apologies if I'm missing something obvious here.

I have a page that contains a number of embedded WOComponents (actually multiple instances of the same WOComponent). Each WOComponent displays a table. Each table contains a WORepetition where on each row is a WOHyperlink that when clicked takes you to a new page.

The WOHyperlink is bound to the following code:

public ViewForum doViewForum() {
 ViewForum nextPage = (ViewForum)pageWithName("ViewForum");
 nextPage.setForum( forum );
 return nextPage;
}

'forum' is the object that the WORepetition is bound to on the table (item) - so should represent the item being clicked in the table.

This worked fine when I wasn't using embedded components but now when the item is clicked 'forum' is always null. All the tables displays fine so I know the item/list bindings work correctly (at least as far as display goes).

Any pointers on why this is happening would be gratefully received.

Many Thanks,

Ron
_______________________________________________
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


  • Follow-Ups:
    • Re: Problem with WOHyperlink/WORepetition in embedded WOComponents
      • From: Arturo Perez <email@hidden>
  • Prev by Date: Re: Subset of relationship
  • Next by Date: Re: Subset of relationship
  • Previous by thread: ERXWOTestInterface
  • Next by thread: Re: Problem with WOHyperlink/WORepetition in embedded WOComponents
  • Index(es):
    • Date
    • Thread