Forum: Ruby on Rails Ajax_scaffold_generator and datebox_engine

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Greg F. (Guest)
on 2006-03-16 20:20
(Received via mailing list)

I suspect the datebox_engine is not a compatible with AJAX, but I hope
I'm wrong.

Has anybody succesfully gotten a view that started out life as
generated from the ajax_scaffold_generator to have a form element
which is a datebox from the datebox_engine?

== Details

I just tried unsuccessfully.

>From the javascript I'm getting a dialog box that says
    Nothing to setup (no fields found). Please check your code.

I'm following the same procedure I used before that allows two
dateboxs on a single form.

In my partial view (_form.rhtml) I have:
<td><%= @date_field1=@table.date_field1 %><%=  date_box('date_field1')

In my controller I updated my update and create methods to have:
@table.date_field1 = params[:date_field1]

Greg F.
The Norcross Group
Forensics for the 21st Century
This topic is locked and can not be replied to.