Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Usage of CalendarDateSelect in Ruby

 
Shemida Nivedha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you tell how the CalendarDateSelect can be used in Ruby?
What is the difference when compared to the Java CalendarDateSelect?
 
Ben Scofield
author
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic