Ajax_scaffold_generator and datebox_engine


#1

All,

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
Calander.setup:
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.

ie.
In my partial view (_form.rhtml) I have:

<%= @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]

Thanks
Greg

Greg F.
The Norcross Group
Forensics for the 21st Century