Displaying 20 results from an estimated 500 matches similar to: "how to use datepicker"
2005 Sep 19
9
Rails compatible JS datepicker -- beta
hi all,
I''ve built a simple javascript datepicker for use with Rails. I''m sure
others exist, but think this one is quite decent without being
overengineered.
http://projects.exactlyoneturtle.com/date_picker/
At present there''s no Rails HTML generator method for it; later I will
package it in a script/generator, but for now it is quite easy to use with
Rails and
2006 Apr 28
5
Newbie: using date-picker
Finally found a nice date chooser script
(http://projects.exactlyoneturtle.com/date_picker), but am a little
confused how to implement it.
So I put this where I need the date picker:
<a id="_name_link" href="#"
onclick="DatePicker.toggleDatePicker(''name'')"
class="demo_link">[ choose date ]</a>
<div
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Feb 18
1
installing datebox_engine
Hi,
I want to install date picker from datebox.inimit.com.
$ ruby script/plugin install datebox_engine
Plugin not found: datebox_engine
So I browse the website and download the universal file. It is in zip
format. I extract it and here is the content:
calendar-blue2.css calendar-green.css calendar-system.css
calendar-win2k-2.css dateparse.js lang
calendar-blue.css
2006 Jan 20
13
Calendar date picker for use with rails.
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.
2006 Nov 29
5
wxSugar control problem
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with an error when trying to create a SpinCtrl (and quite a
few others have exactly the same prob.):
#file date_picker.rb
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
@cal = Wx::CalendarCtrl.new(self)
add(@cal)
#works fine up to
2011 Aug 29
1
jquery datepicker not working with nested forms rails 3
Hi people
I have a problem with the Jquery "Datepicker".
If I use datepicker in a simple-form, I have no problem... but I need
to use it in a nested form that add fields dynamically, and everytime
I add new fields I have a field that needs to use datepicker.
I''ve reading the web, and many people have the same problem, but
nobody get a solution for this issue
Could you help
2006 Apr 20
7
checking date
Radrails created a field for date
<%= product.date_available.strftime("%y-%m-%d") %>
What does this mean?
Should the definition be date or datetime? I tried both and no results
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060420/ed0cbb14/attachment.html
2006 Jan 27
4
testing for nil numeric value in find
In the agile/rails tutorial book the following construct is added
to products.rb.
def self.salable_items
find( :all,
:conditions => "date_available <= now()",
:order => "date_available desc")
end
Now, I wish to extend :conditions => to exclude products that have
a nil value for the price. I have tried different syntax
2006 Apr 01
7
need help(raidrails)
I have installed radRails V0.6.1 When i tried to press
ctrl+backspace in editor ,the error come up "Ruby
Content Assist did not complete normaly.please see the
log for moreinformation."
what sould i do to solve this error ?
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2011 May 04
0
using jquery datepicker within a jquery dialog
so I have datepicker working just fine in a normal window but I cannot
for the life of me get it to work within a dialog.
I have some javascript that opens a dialog in my application.js file
as well as the datepicker js
is as follows:
$(function() {
$("#version_release_date").datepicker({dateFormat: ''yy-mm-dd''});
});
$(document).ready(function() {
2007 Sep 17
0
DatePicker in external file?
i ry to use this
http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous
i included scriptacolous,prototype and datepicker.js in the main file
hen i load this data via ajax request
$o .= " <input value=\"".$rs->fdatum_faelligkeit."\"
ID=\"fdatum_faelligkeit\" name=\"fdatum_faelligkeit\" type=\"text\"
2006 Nov 28
2
(no subject)
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with a strange error when trying to create a SpinCtrl:
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
arrange_vertically(:padding => 5)
@month = Wx::SpinCtrl.new(self) # line 19
add(@month)
end
end
gives error:
2012 Feb 01
0
Datepicker with jqGrid
Hi all,
I want to have datepicker in search text fields of jqgrid on a Ruby on
Rails application.
Is there any way ?
Has any one used such combination ? Datepicker with jqGrid ?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Dec 19
2
Jquery Modal Dialog with Jquery DatePicker field strange behavior
Hi people.
I need your help here, please.
I have a rails 3.0.9 app, and I''m using Ajax to save some records to
the database. To achieve this, I use a jquery modal form, but one of
the fields is a datepicker, and if I click on it to display the
calendar it doesn''t work.
The thing is, I press submit without fill all the fields, so, my
custom validations were shown, telling me
2014 Apr 05
0
Datepicker FlatUI rails
Hi guys,
How does one use a datepicker flatUI calendar in rails? I have been poking
around for documentation, but can't seem to find any. Is there any out
there?
Thx!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2012 Apr 30
0
custom lib for datepicker
Hi there,
I''m doing an own library to manage datetimes depending on locales, to
deal with the formats of datetimes. I actually overrides the default
assign methods to made strptime.
I''ve made the following:
http://ideone.com/PXYl8
something is wrong when trying to access on I18n.t, the scope is valid,
if I put a debugger outside that misterious loop it prints what is
2005 Jun 20
3
Debian Vs Fedora
Does anyone have any comments about using Debian stable release Vs Fedora
for running Asterisk?
Syed Akbar
Alico Systems Inc
www.alicosystems.com
Tel: 562-436-1510
2006 Mar 04
2
unittest, not loading yml data
Here is my products.yml
version_control_book:
id: 1
title: Pragmatic Version Control
description: How to use version control
image_url: /images/sk_svn_small.jpg
price: 29.95
date_available: 2005-01-26 00:00:00
automation_book:
id: 2
title: Pragmatic Project Automation
description: How to automate your project
2006 Aug 06
6
Having Problem w/ Agile Web Development book
I get this error ...
NoMethodError in StoreController#index
undefined method `salable_items'' for Product:Class
and here is my store_controller.rb ...
class StoreController < ApplicationController
def index
@products = Product.salable_items
end
def self.salable_items
find(:all, :conditions => "date_available <= now()", :order =>
"date_available