0

Reset input field

asked 2006-05-11 04:09:39 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3723446

By: michaelkmb

Is there any way to reset an input textbox to initial state (that is empty) if constraint "no empty" exists?

setValue("") will cause WrongValueException.





delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-05-11 06:23:26 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3723539

By: henrichen

This needs some discussion. It means an "initial" state concept has to be there.
(null?) I think this is a spec. issue.

/henri

link publish delete flag offensive edit

answered 2006-05-11 11:06:34 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3723901

By: michaelkmb

Right, a general reset may not be appropriate for ZK since it is not page oriented.
However, is there any menas to clear an input field even it's constraint is 'no empty' ?

Michael

link publish delete flag offensive edit

answered 2006-05-11 14:22:07 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3724254

By: henrichen

Hi Michael,

I suggest post this to Feature-Request and we can discuss this spec. there.

/henri


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: 2006-05-11 04:09:39 +0800

Seen: 334 times

Last updated: May 11 '06

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