Hi,
I need a date picker ,Calendar Widget which can be
1) Configured
2) Can show multiple months(two months)
Please advice me as what to do,
Thanks In Advance,
Sudheesh
Hi,
I need a date picker ,Calendar Widget which can be
1) Configured
2) Can show multiple months(two months)
Please advice me as what to do,
Thanks In Advance,
Sudheesh
try richfaces ,its well integrated with swf2,unless u have problem with the license
joe
Thanks for the reply
Am not using JSF , am using Spring MVC...
Any other options..
(I need to show two months cal)..
Sudheesh
I have had some good success using ExtJs (extjs.com) in combination with our Spring MVC forms also using Spring Webflow 2.0.2.
You can lay out your form as a regular Spring MVC form with the date field you wish to use setup as a regular text field. Then ExtJs has some nice calls for their widgets to be applied to an existing element.
Here's a quick example:
This is my date input that lives in a spring managed form.
This is the javascript to attach the ext date field to my form element, which then provides a rich, robust, and even configurable date chooser that looks sweet too.Code:<form:input id="reportDate" path="runForDate" />
The 'applyTo' attribute tells ExtJs to apply the new DateField object onto the element with the matching id, 'reportDate'.Code:var setupForm = function() { var date = new Ext.form.DateField({ width: 90, allowBlank: false, blankText: 'The report date is required', applyTo: 'reportDate' }); }; Ext.onReady(setupForm);
Hope that helps
browncow
Thanks for your reply.
Can I use the extjs facilities commercialy?
Is there anyway to customize the Dojo Calender that comes with Spring webflow?
Do anybody know more abt the usage of Dojo Calender along with Spring webflow?
Thanks In Advance,
Sudheesh
Or use the Spring JavaScript extension, it is part of the new webflow distribution but works perfectly without Webflow. It is quite easy to integrate.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan