Toolbocks date problem

The toolbocks_date_select doesn’t honour when put in a partial file.

<%= toolbocks_date_select :ci, :supply_date, { :format => ‘us’,
:autoRollOver => false} %>

Any solution to recover this? Thanks in advance!!

Regards
Venu

On 12 Jan 2008, at 06:27, Venu Vallayil wrote:

The toolbocks_date_select doesn’t honour when put in a partial file.

<%= toolbocks_date_select :ci, :supply_date, { :format => ‘us’,
:autoRollOver => false} %>

Any solution to recover this? Thanks in advance!!

We’ve just migrated away from toolbocks for a number of reasons:

  • The markup it produces is about the ugliest thing I’ve ever seen
    and can lead to very annoying css related problems, especially if you
    combine it with ajax
  • It doesn’t integrate with formbuilder at all
  • Loading the whole engines plugin just for a simple date/datetime
    selection, whether embedded or popup, is just overkill

We replaced it with calendar_date_select (and there’s another
unobtrusive one out there that’s good too), and life just got a whole
lot easier.

Best regards

Peter De Berdt

Peter De Berdt wrote:

On 12 Jan 2008, at 06:27, Venu Vallayil wrote:

The toolbocks_date_select doesn’t honour when put in a partial file.

<%= toolbocks_date_select :ci, :supply_date, { :format => ‘us’,
:autoRollOver => false} %>

Any solution to recover this? Thanks in advance!!

We’ve just migrated away from toolbocks for a number of reasons:

  • The markup it produces is about the ugliest thing I’ve ever seen
    and can lead to very annoying css related problems, especially if you
    combine it with ajax
  • It doesn’t integrate with formbuilder at all
  • Loading the whole engines plugin just for a simple date/datetime
    selection, whether embedded or popup, is just overkill

We replaced it with calendar_date_select (and there’s another
unobtrusive one out there that’s good too), and life just got a whole
lot easier.

Best regards

Peter De Berdt

Peter …

I think calendar_date_select needs RAILS 2.0 and PROTOTYPE 1.6.0

Regards
Venu

On 12 Jan 2008, at 11:41, Venu Vallayil wrote:

Peter …

I think calendar_date_select needs RAILS 2.0 and PROTOTYPE 1.6.0

If you read what it says, you would see:

Version 1.9.0 and greater require prototype.js 1.6.0. If you’re
compelled to use an earlier version of prototype.js Use version 1.8.3.

We’re using it in a Rails 1.2.6 (with prototype 1.5) project.

Best regards

Peter De Berdt