I have not dug into this at all and I may determine that I don't need
it.  But it appears as if there is no way to send back a list of
options grouped in optgroups when the list is fetched from a server.

Is that true or did I miss something?

Has any other work been done on this?

Any thoughts on the format of what to return in order to accomplish
this?  The obvious choice is something like:

[ option, option, [ groupname, [ option, option, option ] ],
[ groupname, [ option, ... ], ... ]

Determining when a groupname is an option group name and not an option
may be tricky but if the length of the element is two and the second
element is an array, then assume it is a group with the first element
as the group name and the second element the list of options within
that group.

Anyone agree or disagree?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to