Hi everyone,

For the past days I have been developing a fully dynamic tree view
display to show stats from our database.  Basically it looks like
this:

<AJAX LINK>
    <Years>
        <Months>
             <Days>
<AJAX LINK>
<AJAX LINK>
<AJAX LINK>


When clicked, it goes through my controller, gets data based on the id
given and generates the next level.  Then I have another function that
re-builds my tree (I found that this was the most appropriate solution
for me because when fully expended the tree would hold over 9000
objects).

So, fairly simple..

Although, now I need to update a form (on top of my view) based on
what level of the tree I'm at..

If I'm at:
<AJAX LINK> Nothing
    <Years> One select Box
        <Months> Two Select Boxes
             <Days> Three Select Boxes

I was thinking of working with an $ajax->form and $ajax->observeForm,
but the documentation didn't quite help me finding a start point.  If
anyone has a clue to what I'm trying to do, I'd really appreciate some
help.  Tutorials would also be helpful.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to