El Friday 19 December 2008 21:20:22 Matt Culbreth escribió: > Hello Friends, > > Before the latest upgrade the following code worked for me: > > page.replace_html "security_assignments-messages", :partial => > 'messages' > > This code would force the particular scaffold's messages container to > appear at the top of the form, regardless of the success / failure of > the operation. > > Now I'm getting an error with this. It looks like maybe the messages > container has changed names? How can I refer to this container from > within the overridden create.rjs file?
It's better use helpers for ids like active_scaffold code when there is a method in id_helpers.rb For messages container id use active_scaffold_messages_id -- Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
