Hi there,
I thought I got Dojo working with rails but I was wrong. When I have a
text_area set-up as:
<%= f.text_area :content %>
Generated HTML:
<textarea cols="40" id="content_content"
name="content[content]"
rows="20"></textarea>
The form submits fine and the content is sent to the controller. However
when I use the following:
<%= f.text_area :content, {:dojoType => ''dijit.Editor'',
:class =>
''dojoEditor''} %>
Generated HTML:
<textarea class="dojoEditor" cols="40"
dojoType="dijit.Editor"
id="content_content" name="content[content]"
rows="20"></textarea>
The form is submitted but, the content is not submitted. Has anyone
worked with rails and Dojo, specifically the rich editor, and found a
way to make this work?
Thanks,
Schalk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---