[Catalyst] Html::Proptotype

Stephen Keenan keenan at sanger.ac.uk
Mon Nov 7 16:36:03 CET 2005


Have a look at CGI::Ajax. I've used it in similar way to what you are 
seeking (although not in catalyst) You can pass the value from a 
popup-select back to a perl method that does a CDBI fetch, builds the 
html dropdowns and returns that to the div. It's incredibly easy to use.

The /scripts directory in the cgiajax tarball have plenty of examples. I 
think I even saw a sample on how to do chained dropdown selects, which 
is what I think you are after.


On Mon, 7 Nov 2005, Will Smith wrote:

> Hi, could someone give me some help on this:
>
> I need to work on a drill-down hierarchy relationship like: Artist 
>->Cd->Title
> Can I within catalyst, use some module like Html::Prototype to do the 
>onchange event when one select an Artist, the Cd , and Title fields 
>will change without refreshing the page (or the worst case, refreshing 
>the page - but this is not right). I am not sure that Html::Prototype 
>could handle this. Someone has mentioned this few months ago, but there 
>was no solution for it, so I just repeat the question.
> Thanks
>
>
>
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.



More information about the Catalyst mailing list