I think a client-based approach for this issue is a bit better.

A shuttle/dual-list widget is _functionally_ equivalent with a  <select
multiple="multiple"> box.
Of course, a shuttle/dual-list widget is more usable & appropriate for
large lists.

Instead of having the server generate code for a Javascript-dependent
widget, you can use Javascript (if available) to transform a <select
multiple="multiple"> list box into a fully-fledged shuttle widget. Here
are some selling points:

* when JS is not available, you still have a functional widget
* no server-side changes; act like it's a normal <select> box
* beautiful :P


Here you have a working example:
http://learn.devnet.ro/dual.php


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to