I want a type RatingValue which is either nil or an integer from 1 to 4.

I would like it to be edited by a dropdown.

I have defined the RatingValue type:

     http://pastie.org/10002728

     (in app/rich_types/rating_value.rb

And used it:

     http://pastie.org/10002716#6

     (in app/models/rating.rb

And I define the editors:

     http://pastie.org/10002747

But the custom editors don't get picked up. I get a regular text edit field 
(in which editing and saving work fine).

I even tried a coarse test to see if the editor tags are being called:

     http://pastie.org/10002761

But the tags are not being used.

Any ideas?

Thanks so much!

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to