Ajax_scaffold_generator and datebox_engine

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:

<%= @[email protected]_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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs