0

datebox popup

asked 2011-03-31 03:53:59 +0800

luksajob gravatar image luksajob
48

Hi everyone, is it possible to customize a datebox so that the popup calendar shows only the months and years?
The user has to choose only a month of some year and they don't want to see the whole day thing in the popup, just months and year, does zk let you customize the popup of a datebox so it does not show the days in a month????

Big question I know,
thank you.

delete flag offensive retag edit

6 Replies

Sort by » oldest newest

answered 2011-06-29 07:54:37 +0800

EasyEagle gravatar image EasyEagle
18

I´m looking for the same.
Any suggestions?
Maybe with an own calendar-component?

thanks

link publish delete flag offensive edit

answered 2011-07-11 03:56:58 +0800

PeterKuo gravatar image PeterKuo
481 2

It's a complete new component. Not really possible to just customize datebox.

Please add feature request in sourceforge.

It's an interesting feature actually.

link publish delete flag offensive edit

answered 2011-07-11 04:49:41 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2011-07-11 04:56:56 +0800

That would be very good business components.

I would have an additionally one. A WeekYearBox.

In Germany we often calculate in CalendarWeeks for an appointment.
Second with such a weekYear spinner combination we can i.e. easy create a weekly input mask for work hours.

Month_Year_Box
------------------------
| 02 <> | 2011 <>| '< > should be a spinner'
------------------------

Week_Year_Box
-------------------------
| 53 <> | 2011 <> |
-------------------------

// firstDayOfWeek: reacting on american/european start day of a week
weekYearBox.getFirstDay(int firstDayOfWeek );
weekYearBox.getLastDay(int firstDayOfWeek );

The spinner should react on the week changes over the year's end.
-------------------------
| 52 <> | 2009 <> | OK
-------------------------
| 53 <> | 2009 <> | OK
-------------------------
| 53 <> | 2010 <> | OK
-------------------------
| 1 <> | 2010 <> | OK
-------------------------

thanks
Stephan

PS:

Extended weekMonthYearBox. With two of it you can react on the date range between them .

Week_Month_Year_Box
-----------------------------------
| 53 <> | 12 <> | 2010 <> |
-----------------------------------

link publish delete flag offensive edit

answered 2011-07-11 05:16:50 +0800

PeterKuo gravatar image PeterKuo
481 2

Good point, Stephan

After we have such component, it'll be placed under

http://code.google.com/p/zk-widgets/

Thanks for your valuable suggestion.

link publish delete flag offensive edit

answered 2011-07-11 12:09:56 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2011-07-11 12:10:21 +0800

Hi Peter, thanks.

The only problem which i and others will have with the widgets are that they are not to get for a maven build ?
So we can and will not use it in that way to copy the jars in our /lib folder while than it was stored in our Subversion/CVS system.
That's not good.

thanks
Stephan

link publish delete flag offensive edit

answered 2011-07-11 23:37:28 +0800

PeterKuo gravatar image PeterKuo
481 2

@terrytornado

Maven will be one of ways for us to provide everything eventually.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-03-31 03:53:59 +0800

Seen: 531 times

Last updated: Jul 11 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More