• 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
Creating a simple search filter but...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a simple search filter but...


  • Subject: Creating a simple search filter but...
  • From: Gustavo Pizano <email@hidden>
  • Date: Thu, 20 Aug 2009 08:34:14 +0200

Hello,
I wish to create a search filter for the list of EO Im showing, the problem I see here, is that the search component it's sibling of the component that its showing the list.
I implemented a live search following the example of WOnder, but now this is a little bit different.


I was thinking in something like this:

inthe Search component, I will create a form and surrounf the components of the search, then using AjaxSubmitButton I will call the searchFunction passing the parameters I typed in the search.

Now I need form the component that holds the list get the parameters filters make the search and reload the component:

option 1. implement an observer patter so the component that holds the list will update somehow asking for the search parameters and filtering.

option 2. use a singleton in the list component and from within the search component ask the singleton of the list component to update and pass the parameters, then surround the list component with an ajaxupdatecontainer to reload when its done.


problems: 1. how do I reload just that component after updating the data?.


1. the ajaxupdatecontainer will be in the List component so calling updateContainerID form the search bar will give an error.. isn't it?... or maybe not.. mm now im doubting.


Any help please?


Thanks

Gustavo
_______________________________________________
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


  • Prev by Date: RE: War deployment build problem
  • Next by Date: WOPayPal and Express Checkout
  • Previous by thread: WOWebServiceClient cannot open
  • Next by thread: WOPayPal and Express Checkout
  • Index(es):
    • Date
    • Thread