This is the error I get. I looked at the crete.html.erb and update.html.erb
for examples but they do not generate a -form that I can see. They generate
-view ids. The action link has -link not -form.
TypeError: Result of expression
'ActiveScaffold.find_action_link('as_users-set_password-2-form')' [null] is not
an object.
Michael
On Jan 18, 2011, at 9:47 PM, Michael Latta wrote:
> That seems to require that the form rendered for the action conform to some
> expectations, like having a -form id. Can you suggest what I need to do in
> the render tamplate for the action to match what this rjs expects? Is there
> an AS method that wraps a normal ejs template with what is needed?
>
> Michael
>
> On Jan 18, 2011, at 1:20 AM, vhochstein wrote:
>
>> Hi Michael,
>>
>> take a look into on_update.js.rjs for an example to close an
>> action_link.
>>
>> --
>> Volker
>>
>> On Jan 17, 6:11 pm, Michael Latta <[email protected]> wrote:
>>> Is there a way to close the inline action form when the user selects the
>>> submit action? It looks like the request is expecting JS back, but I do
>>> not know what to return. Does it accept just normal RJS render :update?
>>> Or are there special methods to build the JS properly to deal with item id
>>> based tags etc?
>>>
>>> Michael
>>
>> --
>> 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.
>>
>
> --
> 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.
>
--
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.