0

how to set constraint datebox : Selected date must before 2 working days from today

asked 2012-03-12 10:02:40 +0800

dearest555 gravatar image dearest555
111

how to set constraint datebox : Selected date must before 2 working days from today

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-03-13 02:37:00 +0800

matthewgo gravatar image matthewgo
375

Hi dearest555,
The following is a pseudo code:

Datebox db = new Datebox();
String theDay = getThatDate(); //should control yourself
db.setConstraint("before " + theDay);
.......

link publish delete flag offensive edit

answered 2012-03-19 07:25:46 +0800

dearest555 gravatar image dearest555
111

Should I add the code in Zul file?
Datebox db = new Datebox();
String theDay = getThatDate(); //should control yourself
db.setConstraint("before " + theDay);

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: 2012-03-12 10:02:40 +0800

Seen: 299 times

Last updated: Mar 19 '12

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