Oh yes, it can be done.

http://cookbook.hobocentral.net/recipes/15-dynamically-populated-select-menus


On Sun, Feb 1, 2009 at 6:14 AM, isaac <[email protected]> wrote:

>
> Can it be done?
> let's say I have "Virus" belongs_to "Genus" belongs_to "family", and I
> want to be able to look for a specific virus based on it's genus and
> it's family.
>
> I'm trying currently to add maybe an outside menu which'll take (or
> give) from (or to) the filter menu it's properties.
>
>  <form action="?">
>    <div class="family">
>        <label class="choose-family">Choose Family:</label>
>        <select-one options="&family.all"/>
>    </div >
>  </form>
>
>  <div class="filter">
>    Choose Genus:
>    <filter-menu param-name="genus" options="&@virus.family.genus"/>
>  </div>
> (of course I'll need to integrate the whole Ajax thingy from Tom's
> guide..)
>
> I haven't tried it yet and I'm sure there are many mistakes I've
> thrown here. so if any of you could point me to the right direction
> I'l be grateful.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to