Howdy folks, As I was putting together a rough form for a rails app, I got to thinking how much smoother (in my siytuation) a little calendar widget would be than the default date picker selects. Does anyone know if such a thing exists ? I suspect it would have to be somewhat designed with rails in mind to populate the right kind of post params for convenient use at the controller end. Without that, I guess a little controller magic to unpack whatever format a generic javascript calendar widget generated, wouldn''t be too much trouble. Might make a nice alternative to date_select. Thoughts, suggestions(*), howls of derisive laughter welcomed. Alan (*)aside from the "great idea, you should get right on that" variety...my javascript chops are nonexistent :-S -- Posted via http://www.ruby-forum.com/.
Alan Francis wrote:> Does anyone know if such a thing exists ? >http://projects.exactlyoneturtle.com/date_picker/# Doh! Amazing what a difference searching for "date picker rails" made over searching for "calendar widget rails". Alan -- Posted via http://www.ruby-forum.com/.
Alan Francis wrote:> Alan Francis wrote: > >> Does anyone know if such a thing exists ? >> > > http://projects.exactlyoneturtle.com/date_picker/# > > Doh! Amazing what a difference searching for "date picker rails" made > over searching for "calendar widget rails". > > AlanThis one is pretty good too.... http://datebox.inimit.com/ It also lets you do things like "+1 week" _Kevin -- Posted via http://www.ruby-forum.com/.
I prefer this one: http://www.dynarch.com/projects/calendar/ It''s open sourced and with beautiful theme support. On 1/20/06, Kevin Olbrich <kevin.olbrich@duke.edu> wrote:> Alan Francis wrote: > > Alan Francis wrote: > > > >> Does anyone know if such a thing exists ? > >> > > > > http://projects.exactlyoneturtle.com/date_picker/# > > > > Doh! Amazing what a difference searching for "date picker rails" made > > over searching for "calendar widget rails". > > > > Alan > > This one is pretty good too.... http://datebox.inimit.com/ > > It also lets you do things like "+1 week" > > _Kevin > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Blog >>> http://spaces.msn.com/members/skyincookoo
Going to agree with Sky on this one. Just recently added this calendar to a couple of apps of mine and its worked great! On 1/20/06, Sky Yin <sky.yin@gmail.com> wrote:> I prefer this one: http://www.dynarch.com/projects/calendar/ > It''s open sourced and with beautiful theme support. > > On 1/20/06, Kevin Olbrich <kevin.olbrich@duke.edu> wrote: > > Alan Francis wrote: > > > Alan Francis wrote: > > > > > >> Does anyone know if such a thing exists ? > > >> > > > > > > http://projects.exactlyoneturtle.com/date_picker/# > > > > > > Doh! Amazing what a difference searching for "date picker rails" made > > > over searching for "calendar widget rails". > > > > > > Alan > > > > This one is pretty good too.... http://datebox.inimit.com/ > > > > It also lets you do things like "+1 week" > > > > _Kevin > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > Blog >>> http://spaces.msn.com/members/skyincookoo > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 20.1.2006, at 15.29, Nick Stuart wrote:> Going to agree with Sky on this one. Just recently added this calendar > to a couple of apps of mine and its worked great!The one Kevin mentioned uses the Dynarch calendar. In addition, it supports some cool freehand input like "tomorrow" etc. //jarkko -- Jarkko Laine http://jlaine.net http://odesign.fi
I can ditto this one... I''m using the Dynarch calendar in one of my apps and it works extremely well. -Will On 1/20/06, Nick Stuart <nicholas.stuart@gmail.com> wrote:> Going to agree with Sky on this one. Just recently added this calendar > to a couple of apps of mine and its worked great! > > On 1/20/06, Sky Yin <sky.yin@gmail.com> wrote: > > I prefer this one: http://www.dynarch.com/projects/calendar/ > > It''s open sourced and with beautiful theme support. > > > > On 1/20/06, Kevin Olbrich <kevin.olbrich@duke.edu> wrote: > > > Alan Francis wrote: > > > > Alan Francis wrote: > > > > > > > >> Does anyone know if such a thing exists ? > > > >> > > > > > > > > http://projects.exactlyoneturtle.com/date_picker/# > > > > > > > > Doh! Amazing what a difference searching for "date picker rails" made > > > > over searching for "calendar widget rails". > > > > > > > > Alan > > > > > > This one is pretty good too.... http://datebox.inimit.com/ > > > > > > It also lets you do things like "+1 week" > > > > > > _Kevin > > > > > > -- > > > Posted via http://www.ruby-forum.com/. > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > -- > > Blog >>> http://spaces.msn.com/members/skyincookoo > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Peter Aszkenasy
2006-May-27 21:46 UTC
[Rails] Re: Re: Calendar date picker for use with rails.
I''ve had a look at the Dynarch calendar and it looks really nice. I''m new to rails and I''m wondering how I can convert a scaffold form tied to a table with with the normal default rails date selector to one with the Dynarch Calendar so that it updates the datefield in the database? Many thanks in advance -- Posted via http://www.ruby-forum.com/.
Beate Paland
2006-May-27 21:59 UTC
[Rails] Re: Re: Calendar date picker for use with rails.
Peter, try the Bundled Resource Plugin: http://blog.inquirylabs.com/index.php?s=Bundled+Resource&submit=Search There is a helper for the Dynarch calendar. Beate
Peter Aszkenasy
2006-May-27 22:13 UTC
[Rails] Re: Re: Re: Calendar date picker for use with rails.
Hi Beate, Thanks very much for that. As soon as I get it to work I''ll post some sample code. Peter -- Posted via http://www.ruby-forum.com/.
Kevin Olbrich
2006-May-27 22:52 UTC
[Rails] Re: Re: Re: Calendar date picker for use with rails.
Peter Aszkenasy wrote:> Hi Beate, > > Thanks very much for that. As soon as I get it to work I''ll post some > sample code. > > PeterI think the Dynarch Calendar picker has been incorporated into the Datebox Engine (see http://rails-engines.org) _Kevin -- Posted via http://www.ruby-forum.com/.
Peter Aszkenasy
2006-May-28 10:16 UTC
[Rails] Re: Re: Re: Calendar date picker for use with rails.
Kevin Olbrich wrote:> Peter Aszkenasy wrote: >> Hi Beate, >> >> Thanks very much for that. As soon as I get it to work I''ll post some >> sample code. >> >> Peter > > I think the Dynarch Calendar picker has been incorporated into the > Datebox Engine (see http://rails-engines.org) > > _KevinKevin I''ve had a look at the rails engine version, it uses the following as its engine, http://datebox.inimit.com/ Also, its not clear from the documentation how you tie it to a database table field. Peter -- Posted via http://www.ruby-forum.com/.
Can this calendar be used with JSF? --- Beate Paland <bpaland@gmail.com> wrote:> Peter, > > try the Bundled Resource Plugin: > > http://blog.inquirylabs.com/index.php?s=Bundled+Resource&submit=Search > > There is a helper for the Dynarch calendar. > > Beatehttp://www.ProblemSolvingSkill.net Hone your problem-solving skills
Peter Aszkenasy
2006-May-28 19:29 UTC
[Rails] Re: Calendar date picker for use with rails.
Hi Beate, Many thanks for that. With rails 1.1.2 and Bundled Resource v 0.9 I was able to get the following working. Here''s the partial form for my test app t1 <% require_bundle :dynarch_calendar %> <%= error_messages_for ''t1'' %> <!--[form:t1]--> <p><label for="t1_start_date">Start date</label><br/> <%= dynarch_date_select ''t1'', ''start_date'' %></p> <p><label for="t1_description">Description</label><br/> <%= text_field ''t1'', ''description'' %></p> <!--[eoform:t1]--> And here''s the associated layout file with all the necessary includes <html> <head> <title>T1s: <%= controller.action_name %></title> <%= stylesheet_link_tag ''scaffold'' %> <%= javascript_include_tag :defaults %> <%= stylesheet_auto_link_tags %> <%= javascript_auto_include_tags %> </head> <body> <p style="color: green"><%= flash[:notice] %></p> <%= @content_for_layout %> </body> </html> I''ve openned another thread to see if anyone else is using the dynarch_date_select to see if I''ve got the above code right. http://www.ruby-forum.com/topic/67304 Anyway, my code seems to work:) -- Posted via http://www.ruby-forum.com/.