0

zk 5.0.1 datebox problem

asked 2010-03-28 12:28:29 +0800

dickdastardly gravatar image dickdastardly
168 1 5

Anybody else found this?

I've upgraded to zk ee 5.0.1 and my dateboxes dont work correctly!

When you click on the year at the top to get a list of years, nothing happens

You have to use the "arrows" left and right to "travel through dates" which is a bit upsetting!

:-(

Is this a bug in the software? or in the liveware? (e.g. Me?)

delete flag offensive retag edit

8 Replies

Sort by ยป oldest newest

answered 2010-03-28 19:07:56 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Works for me in the live demo as in my applications. I'm using CE, but I don't think that datebox should make a difference in CE or EE.

Cheers, Maik

link publish delete flag offensive edit

answered 2010-03-28 23:02:15 +0800

dickdastardly gravatar image dickdastardly
168 1 5

Yes I saw the live demo working OK

when i copied that the live demo code into my app it stopped working !

however, just by restoring to zk ee 5.0.0 my dateboxes have started working again

where in zk ee 5.0.1 they just dont. What else could it be?

DD (lost for ideas! :-()

link publish delete flag offensive edit

answered 2010-03-30 01:31:50 +0800

dickdastardly gravatar image dickdastardly
168 1 5

something else that was odd when i was using 5.0.1

the List boxes border was "broken" it was'nt a perfect straight line, the down arrow is on the right
was smaller than the rest of the listbox, it look rather ugly

now that i have reverted back to 5.0.0 both problems have gone away

Has nobody else seen this?

Could it be because i am using UBUNTU?

DD

link publish delete flag offensive edit

answered 2010-03-30 16:23:30 +0800

dickdastardly gravatar image dickdastardly
168 1 5

I've just rebuilt my entire app

retried the zk 5.0.1 demo and the datebox works ok

However my app still does not work correctly with datebox

It must be something to do with using spring, spring mvc or something like that.

Has anybody else used zk 5.0.1 with spring 3, and have dateboxes working ok?

DD

link publish delete flag offensive edit

answered 2010-03-31 23:28:20 +0800

dickdastardly gravatar image dickdastardly
168 1 5

Datebox zk 5.0.1 problem the facts

If you are using zk 5.0.1 and set up a zul page as sgown below

you will find the following ...

Only those two dateboxes WITHOUT readonly="true" will work correctly

Why is that?

Why cant you make zk 5.0.1 dateboxes readonly?

<zk>
	<separator />
	Date Of Birth:
	<hbox>
		<datebox id="dbXX" onSelection="self.close()" readonly="true" format="dd/MM/yyyy" />
	</hbox>
	Date Of Birth:
	<hbox>
		<datebox id="dbAA" onSelection="self.close()" format="dd/MM/yyyy" />
	</hbox>
	<separator />
	Date Of Birth:
	<hbox>
		<datebox id="dbYY" readonly="true" format="dd/MM/yyyy" />
	</hbox>
	<separator />
	Date Of Birth:
	<hbox>
		<datebox id="dbZZ" format="dd/MM/yyyy" />
	</hbox>
</zk>

link publish delete flag offensive edit

answered 2010-04-01 16:30:43 +0800

dickdastardly gravatar image dickdastardly
168 1 5

could someone at potix please look at this

I know your demo works

even with readonly="true" however it doesnt work for me on ubuntu

i can set readonly="false" and the year selection feature then works fine

however i dontot want an editable datebox, i want it readonly

what has changed between 5.0.0 and 5.0.1

please some one give a helping hand?

Warmest regards

DD

link publish delete flag offensive edit

answered 2010-04-01 20:52:47 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

updated 2010-04-01 20:53:20 +0800

Hi dickdastardly,
You are correct. It does seem not to work on Ubuntu box. I tested it on ubuntu 9.0.4 with ZK 5.0.1 release. I have posted this as a bug on sourceforge. We will try to fix it asap. Please track its progress from SF.

Thanks
- Ashish

link publish delete flag offensive edit

answered 2010-04-02 04:37:30 +0800

dickdastardly gravatar image dickdastardly
168 1 5

Ashish

Nice

D Dastardly

ZK does indeed Rock

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: 2010-03-28 12:28:29 +0800

Seen: 1,227 times

Last updated: Apr 02 '10

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