It might help if I also actually asked a question I guess :)

I need the department to people list to be generic, but depending on 
what tab you are on for the result event to be handled by a function 
based on the tab you ahve selected.

I am guessing this means using a custom event that is dispatched by 
the generic result handler and then changing the event handler 
function by adding a new event listener.

However I do not know how to do this eactly, nor do I know what to 
attack the listeners to with each tab.  I have look in the 
documentation, but if the answer is there, I am just not getting it 
as I have tried different attacks and only get error messages.

So 1, how would I create a custom event to use the dispatchEvent 
function when the dept2id result handler runs, and what do I need to 
dispatch the event from.  And what should I assign the listener to?

--- In flexcoders@yahoogroups.com, "Greg Johnson" <[EMAIL PROTECTED]> 
wrote:
>
> Ok.  Lets say I have a search screen(btw the queries are running 
via 
> a webservice to a set of CFCs).  The search screen lets you choose 
> between person, department, and company.  
> 
> Person Search returns a list of people you can select from.
> Department Search returns a list of departments you can select from.
> Company Search returns a list of companies you can select from.
> 
> Then you click one of 4 tabs.
> 
> When you click on a tab, and the search was for people, it uses 
there 
> unique IDs in a search of what they are responsible for and returns 
> that.
> 
> If the search was for departments then a list of people in all of 
> those departments has to be created so the seach can use that list 
of 
> people's unique IDs.  Same kinda thing for Company.
> 
> Getting the list of people in all the departments is easy.  The 
> difficult part is how to get the second search that runs when you 
> click the tab to wait until the the department call finishes to run 
> it's search.  Plus each tab will need to be able to do this.
> 
> Obveously the simple approch would be that each sub search have 
it's 
> own webservice operation and result handler.  However this 
interface 
> will have other tabs added later that have nothing to do with what 
im 
> working on how save they draw there unquie person IDs from the same 
> inital search.
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to