0

decimalbox . , onkeyup zk 5.0.1

asked 2010-03-29 10:18:11 +0800

pymsoft gravatar image pymsoft
133 5

<decimalbox id="quantita" cols="10"
maxlength="9" format="###0.000"
action="onkeyup:#{self}.value = #{self}.value.replace('.',',');" 
/>

this code work's ok with zk 3.6.3 but don't work with zk 5.01 any idea?
(when a user write "." in a decimalbox replace with a ",")

thank you

Pedro Gonzalez

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-03-30 22:19:19 +0800

PeterKuo gravatar image PeterKuo
481 2

@pymsoft

"Note: Client Side Action is deprecated in ZK 5. For ZK 5 developers, please refer to ZK5: Client Computing with ZUML"

Please refer to
http://docs.zkoss.org/wiki/Client_Side_Actions

You may be also interested to
ZK 5: Upgrade Notes
http://docs.zkoss.org/wiki/ZK_5:_Upgrade_Notes

link publish delete flag offensive edit

answered 2010-04-01 03:26:14 +0800

pymsoft gravatar image pymsoft
133 5

updated 2010-04-02 03:41:33 +0800

Thank you, I see the documentation after my post.


but I have another problem (with decimals) in this post:

http://www.zkoss.org/forum/listComment/11837

can you see it.

thank you.

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-29 10:18:11 +0800

Seen: 656 times

Last updated: Apr 01 '10

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