Dónal
Dónal

Reputation: 187379

Grails datePicker

I'm looking for a calendar component for my Grails app. I'm aware that Grails already has the g:datePicker, but it's a bit primitive and not very visually appealing.

I've had a look on the contribute-a-tag page and in the grails plugin portals and there's a wide range of options. Rather than trying them all out, I'd be very grateful if anyone could recommend one in particular. My requirements are:

I'm really just looking for something that will allow the user to easily choose a particular point in time, rather than a fully-featured calendar like JQuery Calendar.

Cheers, Don

Upvotes: 4

Views: 6494

Answers (3)

user1032951
user1032951

Reputation: 45

If you want something JQuery based, you could check out JQueryUI (http://jqueryui.com/datepicker/). It can be complex if you want it to be, but is generally very simple and thus I think fits with what you want. There is an existing grails plugin in for it already as well

Upvotes: 0

dgfischer
dgfischer

Reputation: 1

I know this may be a little bit late but I have forked a project called glDatePicker and added some time picker functionality. Check it out https://github.com/dfisch/glDatePicker

Upvotes: 0

Karsten Silz
Karsten Silz

Reputation: 1076

You have two popular options: GrailsUI has a date picker (see the very end of the page), and so does RichUI. They both use YUI, but RichUI uses some more libraries for stuff like timeline, calendar view and such. I've only used GrailsUI so far, and the one thing to look out for is to use the proper body style class in your "grails-app\views\layouts\main.gsp":

<body class="yui-skin-sam">

Upvotes: 1

Related Questions