# zk 5.0.1 datebox problem

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 retag edit

## 8 Replies

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

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! :-()

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

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

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>
</hbox>
<separator />
Date Of Birth:
<hbox>
<datebox id="dbZZ" format="dd/MM/yyyy" />
</hbox>
</zk>


dickdastardly
168 1 5

could someone at potix please look at this

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

ashishd
1972 6

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

dickdastardly
168 1 5

Ashish

Nice

D Dastardly

ZK does indeed Rock

[hide preview]