Thanks! That worked.

On Jan 11, 2:46 am, vhochstein <[email protected]> wrote:
> Hi,
>
> thats a form override: eg.
>
> def <col_name>_form_column(record, options)
>   select_tag("record[<col_name>][]",
> options_for_select(<Options_Array>.collect { |item| [item, item]},
> <current_values_array>), options.merge({:multiple=>true, :size=>6}))
> end
>
> --
> Volker
>
> On Jan 11, 12:43 am, p k <[email protected]> wrote:
>
> > I'm working with a legacy table, where one of the columns in the table
> > is a colon delimited list of values.
>
> > The comprehensive list of options for this column value comes from a
> > list defined in a file, which is read into an array.
>
> > Given the array and the current value of the column, is there a way to
> > cleanly display this as a multi-select widget in activescaffold?
>
> > Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to