Problem with WOHyperlink/WORepetition in embedded WOComponents
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