• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERMODTabInspectPage tabs question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ERMODTabInspectPage tabs question
      • From: Fabian Peters <email@hidden>
  • Prev by Date: Re: Eclipse 4.4 support for WOLips
  • Next by Date: Re: d2w attachment rule?
  • Previous by thread: Re: d2w attachment rule?
  • Next by thread: Re: ERMODTabInspectPage tabs question
  • Index(es):
    • Date
    • Thread