0

timebox

asked 2010-01-28 07:55:21 +0800

obiwan gravatar image obiwan
57 2
http://www.payroll.it

Hi,
i've switched to zk 5.0.0 from 3.6.3 and i have a few question about timebox:

3.6.5                                                                5.0.0
--------------------------------------------      -----------------------------------------------
When i got focus the component wait for          When i got focus the component is   
user input and don't change aspect                   filled with 00:00 and is not select
                                                                        so i can't start typing.

I'm able to select (with shift-arrow move,       I can't select the text because every
or with mouse).                                               time i click with the mouse the selection
                                                                       is deleted and using shift with arrows key
                                                                       don't select but move the cursor between
                                                                       hours and minutes.

I'm able to clear the timebox with canc key    The canc key do nothing!

The editing experience is perfect, there is       The editing is crazy, i'm not able to update 
no one second left when filling huge ammount  hours or minutes without move the cursor
of data                                                             almost 4 or 5 times!

Please tell me that i'm in wrong or there is a bug in the timebox!
i made my tries with a simple page like this:

<zk>
  <window>
    <timebox/>
  </window>
</zk>

with the 3.6.3 was perfect, with 5.0.0 i have this problems.
Thanks!

delete flag offensive retag edit

15 Replies

Sort by ยป oldest newest

answered 2010-01-28 18:55:42 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi,obiwan
In ZK5 we refer to the clock in MS windows
This is new specification

link publish delete flag offensive edit

answered 2010-01-29 02:42:42 +0800

obiwan gravatar image obiwan
57 2
http://www.payroll.it

Let me explain my personal opinion, i'm working for a company that do business on personnel management and also time management.
We have used timebox component to make big forms with grid of timebox.
The users was happy to use this component because had a very good behaviour.
Now most of this capabilities was lost (like cut and paste for example, there is no way to select the value), the editing is too slow and
terrible.
I don't understand what do you mean about MS windows clock specification, there is a specification that say that a timebox had not to be
editable by keyboard ? If yes, let me say, YOUR last vision of this component was much bettere than MS !
I've already planned to implements a custom textbox components with the same behaviour of the OLD (better) timebox, but for my
"little personal opinion" the timebox has made a step backward and break compatibility with 3.6.* application.
Why not introduce a new "mold" that implements the new behaviour or a new component or a simple attribute that change the way it
behave? There was a lot of way to enhance this component without brake the old one.
But this is only me personal opinion ....

link publish delete flag offensive edit

answered 2010-01-29 03:54:02 +0800

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

Hi Obi, ist das eine neue Zeitarbeits Software?

link publish delete flag offensive edit

answered 2010-01-29 04:02:50 +0800

obiwan gravatar image obiwan
57 2
http://www.payroll.it

Excuseme Terry but i don't speak german but if i googleunderstand: yes is a timesheet software
where people need to fill worked hour absence and more ...

link publish delete flag offensive edit

answered 2010-01-29 06:17:25 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
937 2 12

I have to agree with Obi on this one.

Our app register timesheet too, and the 3.6 timebox is just a lot more intuitive to use.

+1 for a mold, or something to make it backward compatible.

Kind regards,
Madruga

link publish delete flag offensive edit

answered 2010-01-31 19:51:34 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Another reason is support new date format
refer to here

link publish delete flag offensive edit

answered 2010-02-01 02:21:29 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

@obiwan,

To support the format in timebox break the user's usage, because we can support the separator anywhere inside its format, but most of the users can't remember where the separator should be placed when they can remove or clean the original value. Except that, ZK5's timebox is more powerful than ZK3's to check whether the field is changeable like(1~24(0~23)hours, 0~59minutes, and 0~59 seconds) and the usage is just like Vista/Windows7 did.

I think you can use a button for user to copy/paste the timebox's value.

link publish delete flag offensive edit

answered 2010-02-01 07:04:15 +0800

obiwan gravatar image obiwan
57 2
http://www.payroll.it

updated 2010-02-01 07:04:59 +0800

@jumperchen

I understand very well the format problem and i agree with you. What i said before was to have a second component or a mold for the timebox with the same behaviour of the previous.
In my opinion for form with a single (or no more than 2 or 3) timebox there is no problem, the user can edit with the mouse but when we have a grid of components (like timebox) editing speed is
one of the primary goals to achieve. In a business application a look of time spent by complete forms of data is always a requirement (validation is always performed but not in the editing moment),
so also a button to copy and paste is not enough performant. But i do not want more controversy, if this is the choice for these component i can easily extend a TextBox to have
the same old behaviour :)
Thanks.

link publish delete flag offensive edit

answered 2010-02-08 07:26:28 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
937 2 12

Hi Jumper,

Sorry to insist on this one...

But I think that timebox on ZK5 could be enhanced a little, to make input with keyboard possible. Try a <timebox/> on zk live demo, and it's impossible to input data with kbd. Have to click on del, backspace, and left/right arrow to correctly input.

I don't know if it's hard to implement, but would be a major improvement if once the timebox has focus, autoselect the first part of the time, once user typed a correct input, move to the next part of the time and auto select it. (like focusing on timebox, and clicking the down arrow, but without need to click on the down arrow)

This way we would use the more powerful timebox and preserving the natural input with keyboard.

What do you think?

Regards,
Madruga

link publish delete flag offensive edit

answered 2010-02-12 01:51:14 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi All,

I post a feature here.
Please follow it, we will consider to enhance the user-experience in both scenarios.

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-01-28 07:55:21 +0800

Seen: 1,369 times

Last updated: Jan 09 '11

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