Hello!

In order to render my custom widget to associate in a has_many horizontal subform (batches has_many storage_assignments), I overwrote BatchesController::edit_associated. Now a click on "Create Another" delivers the desired javascript creating my widget.

Unfortunately, the initial edit-view is unaffected by this change, so it still shows the old select-boxes instead. After browsing through some rather long stack-traces, I'm still at a loss as to wich method I should overwrite in order to get what I want.

Do I need to overwrite whatever renders the "_horizontal_subform.html.erb" partial? If yes, which method is that and will this also affect the content delivered by ajax when clicking "Create Another"?

What should I do?

thanks!
ben

--
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