Is it possible to access the displayGroup of an embedded list page?
Is it possible to access the displayGroup of an embedded list page?
- Subject: Is it possible to access the displayGroup of an embedded list page?
- From: David Holt <email@hidden>
- Date: Fri, 27 Jul 2012 13:59:05 -0700
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden