ERMODTabInspectPage tabs question
ERMODTabInspectPage tabs question
- Subject: ERMODTabInspectPage tabs question
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 18 Aug 2014 10:19:59 -0400
I have an entity’s list page that is a tab inspect page. Entity Article >> pdfs > thePDF. I have a tab to show the pdfs which show up as a ERMODEditRelationshipPage.
This is a list of PDFs that have been uploaded. Let’s as there are 15 PDFs. I want to add a check box to the PDF entity (don’t know what to call the check box yet, maybe ‘isImportant’).
The result is that I want to add another tab to the Article entity that only shows the ‘Important’ pdfs. A subset of all uploaded PDFs.
I see in _Article:
public NSArray<com.as.model.PDF> pdfs() {
return (NSArray<com.as.model.PDF>)storedValueForKey(_Article.PDFS_KEY);
}
public NSArray<com.as.model.PDF> pdfs(EOQualifier qualifier) {
return pdfs(qualifier, null, false);
}
which implies adding a qualifier to pdfs (isImportant.eq(true)).
I currently have:
100 : pageConfiguration = 'EditArticle' => tabSectionsContents = ((“main", "pubRelease", "articleTitle", "description", "complete"), ("PDFs", "pdfs")) [com.webobjects.directtoweb.Assignment]
I want to add another tab (“ImportantPDFs”, "importantPDFs”), that obviously is qualified with isImportant.eq(true)
I am lost on this one.
Ted
_______________________________________________
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