Re: D2W Question, Embedding D2WList in non D2W Component
Re: D2W Question, Embedding D2WList in non D2W Component
- Subject: Re: D2W Question, Embedding D2WList in non D2W Component
- From: Mark Ainge <email@hidden>
- Date: Mon, 17 Aug 2009 07:57:58 +0100
Daniel,
What object from the listpageinterface do you bind to the selectpage.selectedObject?
Mark
Sent from my iPhone On 17 Aug 2009, at 04:17, Daniel Mejía < email@hidden> wrote: Mark,
May be D2WSelect component could help you, You can specify the selectedObject binding. On 16/08/2009, at 04:38 p.m., Mark Ainge wrote: Daniel,
I did toy with the idea but couldn't see how to obtain a reference to the object being clicked so could not set the ListPageInterface.setObject()
?
Thanks,
Mark Message: 1 Date: Sat, 15 Aug 2009 15:45:28 -0500 From: Daniel Mej?a <email@hidden> Subject: Re: Webobjects-dev Digest, Vol 6, Issue 754 To: email@hidden Cc: email@hidden Message-ID: <email@hidden">email@hidden">email@hidden> Content-Type: text/plain; charset="us-ascii" Mark, Have you tried to assign the action binding with a method to do what you want to do with the selected EO? Saludos, Daniel. On 15/08/2009, at 02:08 p.m., email@hidden wrote: > From: Mark Ainge <email@hidden> > Date: 15 de agosto de 2009 05:03:56 a.m. GMT-05:00 > To: email@hidden > Subject: Re: D2W Question, Embedding D2WList in non D2W Component > > > I have embedded a D2WList within a standard statefull component, see > below > > > <webobject name = "PageWrapper"> > <webobject name = "NewsList"></webobject> > </webobject> > > PageWrapper : PageWrapper { > pageName = "News"; > } > > NewsList : D2WList { > list = allNews2; > entityName = "News"; > } > > allNews2 returns an NSArray containing news objects. > > The list displays all data OK within page, BUT the inspect buttons > do not function like they would in a stand alone D2WListPage. > > I'm clearly missing a step to hookup this option when embedding pages. > > Can anyone point me in the right direction? > > Thanks, > > Mark > > >
|
_______________________________________________
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