ERD2WUtilities.parentListPage(sender) did it. Thanks Ramsey. Now for the inevitable next question:
The delegate just returns the download using the ERDActionBar embedded in the list. Now when I go to hit the page level buttons on the Inspect page (Edit or Return), it downloads as if the embedded download button has been pressed?? On 2012-07-27, at 4:29 PM, Ramsey Gurley <[email protected]> wrote: > Sorry I didn't reply earlier. I'm used to seeing you answer questions instead > of asking them :-) > > ERD2WUtilities has a number of methods that should get you the page you want. > > Ramsey > > On Jul 27, 2012, at 4:19 PM, David Holt wrote: > >> Maybe I should have asked: can I get the array of objects in an embedded >> list in a BranchDelegate? >> >> Thanks, >> >> David >> >> >> On 2012-07-27, at 1:59 PM, David Holt <[email protected]> wrote: >> >>> Hello all, >>> >>> We've been using a button on list pages of documents that allows you to >>> download all the attachments at once. We can get the display group using >>> sender.context().page(). >>> >>> ClassCastException: er.modern.look.pages.ERMODInspectPage cannot be cast to >>> er.directtoweb.pages.ERD2WListPage >>> >>> Is there anything similar that could be done to get access to the >>> displayGroup of a list of documents embedded in an inspect page? >>> >>> WODisplayGroup displayGroup = ((ERD2WListPage) >>> sender.context().page()).displayGroup(); >>> >>> Thanks, >>> >>> David >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com >>> >>> This email sent to [email protected] >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com >> >> This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
