File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ruby and the fly likes Usage of CalendarDateSelect in Ruby Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Usage of CalendarDateSelect in Ruby" Watch "Usage of CalendarDateSelect in Ruby" New topic

Usage of CalendarDateSelect in Ruby

Shemida Nivedha

Joined: May 22, 2008
Posts: 18
Could you tell how the CalendarDateSelect can be used in Ruby?
What is the difference when compared to the Java CalendarDateSelect?
Ben Scofield

Joined: May 20, 2008
Posts: 29
There are several ways to interpret this question, and I'm not sure which you meant. Firstly, there is no version of CalendarDateSelect in Ruby's core or standard library. I'm sure the GUI frameworks available in Ruby (like Shoes) provide something similar, but I haven't used them enough to know much about it.

If you're referring to Rails, on the other hand, there are several date helpers available. The ones in Rails core are all select-menu-driven, but I know of at least a few plugins that allow you to add calendar controls to a Rails application with minimal code. There is indeed one called CalendarDateSelect, but I have not tried it personally (one of my co-workers wrote a different version which we tend to use).
I agree. Here's the link:
subject: Usage of CalendarDateSelect in Ruby
jQuery in Action, 3rd edition