MOvEJQueryUIPlugin - 1.0.0
Your name here
You are currently browsing
the website for symfony 1
Your name here
This plugin provides widgets and helpers so you can easily integrate jQueryUI into your symfony project. Currently only one widget is available, MOvEWidgetFormDateJQueryUI which uses jQuery DatePicker to choose a date.
|Your name here||lead||se.lucitrap <<ta>> onanga.tnecniv|
Copyright (c) 2011 Daan Debie - daan(at)move.nl
This plugin is based on the sfJQueryUIPlugin by Artur Rozek. Therefore the same
licence is used as with the original iteration:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
This plugin makes use of jQuery UI library.
This plugin provides widgets and helpers so you can easily integrate jQueryUI into your symfony project. Currently only one widget is available, MOvEWidgetFormDateJQueryUI which uses jQuery DatePicker to choose a date. The Widget displays one input tag (not three seperated input tags for year, month and day like the jQueryUI datepicker Widget in sfFormExtraPlugin).
This plugin uses the jQuery library - so its not compatible with sfProtoculousPlugin (which has to be disabled).
$ symfony plugin:install MOvEJQueryUIPlugin $ symfony cache:clear
If you're installing from the archive, do not forget to copy the contents of the Plugin's web directory to your project's web directory, either by hand or with:
$ symfony plugin:publish-assets
In your form class:
$this->widgetSchema['my_date']= new MOvEWidgetFormDateJQueryUI(array("change_month" => true, "change_year" => true)),
Yuo can configure Widget with following options:
Widget is simple text input tag, date chooser appears after input is focused/clicked. User can still input date by hand. I recommend to use date validator.