Gytis
Gytis

Reputation: 403

Calendar in wicket

I would like to have a small brief calendar in wicket. DatePicker is a component which has textField, and calendar is being shown for short period of time, until you select date. But I need permanent calendar, like in Outlook. Wicket FullCalendar is very large for me, I need the one of datePicker format. There is such component, or no?

Upvotes: 4

Views: 1728

Answers (3)

Andrea Del Bene
Andrea Del Bene

Reputation: 2511

Take also a look at Webical project. It's written in Wicket and it has what you need in its GUI: http://code.google.com/p/webical/wiki/Screenshots

Upvotes: 1

Nicktar
Nicktar

Reputation: 5575

I don't think, there's a readymade component in core wicket for that. But it should be pretty easy to roll your own. Here are a few ideas on that:

  • Grab the DatePicker and extract the calender from there (Note that the DatePicker uses YUI internally).
  • Have a look at the WijCalendar component from the WiQuery project
  • just render the values as a table, apply CSS and let jQuery's Themeroller have a go.

Upvotes: 3

magomi
magomi

Reputation: 6685

Recently I needed such a calendar widget too. But couldn't find one. The Wicket calendar picker is based on the YUI component. Despite the base component supports inline display I couldn't find any parameter for the wicket date picker that triggers this mode.

Finally I came up with writing my own simple component. It uses the JQueryUI calendar widget.

Upvotes: 1

Related Questions