• 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
Customising D2W - adding filtering to list pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customising D2W - adding filtering to list pages


  • Subject: Customising D2W - adding filtering to list pages
  • From: Mark Wardle <email@hidden>
  • Date: Sun, 1 Nov 2009 23:05:33 +0000

Apologies for all the posts on D2W. After watching David's
presentation on D2W and buying the book suggested on his blog, I have
rediscovered D2W and am very happily deleting lots of components and
replacing them with (more powerful) D2W components. I've created a
custom look subclassed from ERNeutralLook and am busy recreating lots
of custom components in D2W. So thank you all for making it available.
I'm using Project Wonder obviously.

My old components used a display group and I usually added a filter
search box that allowed users to filter down the displayed list -
essentially creating a custom qualifier and applying it to the display
group.

I'd prefer not to make this a three step process from the list page
(1. Click on a query button, 2. Set query parameters, 3. get results),
but instead have a search box adjacent to my D2W list that I can use
to build queries on.

I wondered whether I should customise my D2W list page and embed a
ERDAnyField - but this results in "Attempt to insert null key into an
com.webobjects.foundation.NSMutableDictionary." as clearly the
queryAttributes binding is not being set and
stringAttributeListForEntityNamed is returning a null value.

Then I thought: this isn't the D2W "way". Do I instead add a fake
aboveDisplayPropertyKey and get that key displayed using a
D2WQueryAnyField and then somehow bind it to the right displaygroup
and a submit button?

Any pointers would be much appreciated. I'm sure I'm making this more
complicated than I need to....

Many thanks,

Mark

--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
 _______________________________________________
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: Customising D2W - adding filtering to list pages
      • From: Ramsey Lee Gurley <email@hidden>
  • Prev by Date: d2wContext in non-d2w components
  • Next by Date: Re: Customising D2W - adding filtering to list pages
  • Previous by thread: d2wContext in non-d2w components
  • Next by thread: Re: Customising D2W - adding filtering to list pages
  • Index(es):
    • Date
    • Thread