• 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
Re: Replicating iTunes Smart List in WO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replicating iTunes Smart List in WO?


  • Subject: Re: Replicating iTunes Smart List in WO?
  • From: David Holt <email@hidden>
  • Date: Fri, 19 Dec 2008 11:47:32 -0800

Hi Jerome,

This might be a primitive solution and I haven't tried it, but maybe you could have several WOAnyFields in the component and hide all but one in conditionals until the + button is clicked. The + button in each one would expose the next WOAnyField below it. You'd have a limited number (say 5) of fields on the page, but it might work out for 95% of the cases. There's probably a nice Ajaxy way to do this with the buttons and exposed parts of the page.

Another way to go might be to have a concatenated field in your database (a derived attribute in EOF) of all your possible fields and use one "Simple Search" field that accesses all the fields. It doesn't provide as specific a filtered set as your solution, but again, it might satisfy the majority of your users.

David

On 19-Dec-08, at 11:20 AM, Jerome Chan wrote:

I want to create a dynamic search list like iTunes Smart List.

Is it possible to use several WOAnyFields to change what is displayed for a WODisplayGroup?

+ - [name] [contains] xxx
+ - [name [ends] zzz
+ - [age] [greater] 30

Where clicking on the + button will add a new search field and clicking on the - button will delete the selected search field.

Or do I have to create my own component?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


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
References: 
 >Replicating iTunes Smart List in WO? (From: Jerome Chan <email@hidden>)

  • Prev by Date: Re: Replicating iTunes Smart List in WO?
  • Next by Date: Re: EOF Transaction logging
  • Previous by thread: Re: Replicating iTunes Smart List in WO?
  • Next by thread: [OT] New WO Years Resolutions.
  • Index(es):
    • Date
    • Thread