0

How to set datebox to show Buddhist Era

asked 2011-12-28 04:33:28 +0800

dearest555 gravatar image dearest555
111

<datebox id="trainingDate" >

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2011-12-29 07:30:01 +0800

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

Hi dearest555,
You can try to set local to TH

<datebox  locale="th_TH" onCreate="self.value = new Date()"/>

link publish delete flag offensive edit

answered 2011-12-29 09:40:30 +0800

dearest555 gravatar image dearest555
111

Thank you but I found org.zkoss.zk.ui.metainfo.PropertyNotFoundException: Method setLocale not found for class org.zkoss.zul.Datebox
I use zk 3.6.2

link publish delete flag offensive edit

answered 2011-12-29 09:45:34 +0800

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

The feature only available in ZK 5.0.7
http://books.zkoss.org/wiki/ZK_Component_Reference/Input/Datebox#Version_History

link publish delete flag offensive edit

answered 2012-01-06 08:19:34 +0800

dearest555 gravatar image dearest555
111

If I still need to use zk 3.6.4 because I use it with jbpm which need zk 3.6.4 .How can I set datebox to be Buddhist Era
Thank you in advance.

link publish delete flag offensive edit

answered 2012-01-09 02:37:31 +0800

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

It is hard to merge ZK 5 implement to ZK3.

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: 2011-12-28 04:33:28 +0800

Seen: 206 times

Last updated: Jan 09 '12

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