Creating a simple search filter but...
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