0

Datebox : problems to select future date (dec 31 2009)

asked 2009-09-16 14:03:09 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

Hi, I have a problem really "strange" with the field datebox. When I try to select December 31, the field datebox return the 01 October. The other problem is that the onClick event is never triggered (same with onDrop event) ....
Any idea?


<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal" width="750px">
					
						Iscrizione/Scadenza/Pagamento		
						<hbox>  
							<datebox id="dtbData_iscrizione" onDrop="onDrop_dtbData_iscrizione(self)"/>
							<datebox id="dtbData_scadenza" onClick="onClick_dtbData_scadenza(self)" />
							<datebox id="dtbData_pagamento" />
						</hbox>
						<zscript>
						<![CDATA[ 
							void onClick_dtbData_scadenza(Datebox db)
							{
								System.out.println("Click");

							}
							
							void onDrop_dtbData_iscrizione(Datebox db)
							{
								System.out.println("Drop");
							}
						]]>
						</zscript>
		
</window>
</zk>

delete flag offensive retag edit

14 Replies

Sort by ยป oldest newest

answered 2009-09-18 05:45:48 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

3.6.3 ? But the current version isn't 3.6.2? Where I can download this version?

link publish delete flag offensive edit

answered 2009-09-17 20:48:59 +0800

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

updated 2009-09-17 20:51:44 +0800

Tested with 3.6.3.

I can select the 31 of December.
The problems with the events seems like a bug. I can trigger the onChanging event, but onClick and onDrop doesn't work.

Please, post it to the ZK Bugs.

link publish delete flag offensive edit

answered 2009-09-17 11:59:32 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

I use Eclipse Galileo, Apache+tomcat 6.0.18, zk studio 0.9.5, zk-bin 3.6.2.

link publish delete flag offensive edit

answered 2009-09-16 19:36:14 +0800

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

Wich zk version do you use?

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: 2009-09-16 14:03:09 +0800

Seen: 299 times

Last updated: Oct 03 '09

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