Re: ERMODTabInspectPage tabs question
Re: ERMODTabInspectPage tabs question
- Subject: Re: ERMODTabInspectPage tabs question
- From: Fabian Peters <email@hidden>
- Date: Tue, 19 Aug 2014 09:48:55 +0200
Hi Ted,
Maybe I didn't get your question, but:
> public NSArray<com.as.model.PDF> importantPdfs() {
> return pdfs(isImportant.eq(true), null, false);
> }
> 100 : pageConfiguration = 'EditArticle' => tabSectionsContents = ((“main", "pubRelease", "articleTitle", "description", "complete"), ("Important PDFs", "importantPdfs"), ("PDFs", "pdfs")) [com.webobjects.directtoweb.Assignment]
Fabian
Am 18.08.2014 um 16:19 schrieb Theodore Petrosky <email@hidden>:
> 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
_______________________________________________
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