Hi Sergio:

Thank you very much for your help. Initially, I could not find
"update_row" action. But after downloaded the latest master,
everything worked as it should.

Thanks again.

Jefflin

On Jun 10, 6:32 pm, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Jueves, 10 de Junio de 2010 08:34:30 Jefflin escribió:
>
> > the rjs template for both actions are as following:
>
> > page.replace element_row_id(:action => 'list', :id =>
> > @record.id), :partial => 'list_record', :locals => {:record =>
> > @record}
> > page.replace_html active_scaffold_messages_id, :partial => 'messages'
>
> You can try with render :action => 'update_row' instead of your template,
> although I think your template is right. Update_row update the row in a
> different way, but your one should work too.
>
>
>
>
>
> > So far the setup seems to work fine. Two custom actions works as
> > expected.
>
> > The problem I have is that, after execute Unlock action, the Edit
> > action (ajax) no longer work. The default ajax Edit action will
> > disable the "Edit" label first and display the edit form. But after
> > unlock that refreshes the record, the Edit action only disable the
> > "Edit" label and does not display the edit form.
>
> > I have traced the error occurred in active_scaffold.js. The error
> > occurred when executing "new Insertion.After(this.target, content);".
> > I modified the javascript and It generated the following error in
> > firebug.
>
> > fileName   "http://192.168.74.138:3001/javascripts/prototype.js?
> > 1275958012"
> > lineNumber 1653
> > message    "element is null"
> > name       "TypeError"
> > stack      "([object HTMLTableRowEl...ent([object Event])@:0\ .......
>
> > Does anyone have idea on how to resolve this? Any help will be greatly
> > appreciated.
>
> > Thanks
>
> > Jefflin
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 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.

Reply via email to