what version? I use it in 6.5.3 and it works there (but have not the no empty) can you try it with removing the no empty?
chillworld ( 2014-09-01 08:00:22 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am using zk textbox
with constraint something like this
<textbox constraint="no empty , /^[a-zA-Z]+\s?[a-zA-Z]+$" />
Now issue is that rater showing proper error message its showing illegal value
i want to know how to customize the error message ? So when user will input any wrong value it will show proper error message
Hi Sjoshi do the following :
<textbox constraint="no empty , /^[a-zA-Z]+\s?[a-zA-Z]+$/: your message" />
difference : put a /
after your regex.
Internationalisation :
If I'm correct this should work (after zk 5.0.7) :
<textbox constraint="no empty , /^[a-zA-Z]+\s?[a-zA-Z]+$/: ${labels.app.title}" />
Example :
I create a fiddle with test to show the version number, with is the same principal as I18N.
Greetz chill.
what version? I use it in 6.5.3 and it works there (but have not the no empty) can you try it with removing the no empty?
chillworld ( 2014-09-01 08:00:22 +0800 )editAsked: 2014-09-01 06:27:44 +0800
Seen: 32 times
Last updated: Sep 01 '14
ArrayIndexOuOfBoundsException showing Messagebox
error PWC2788: setAttribute: Non-serializable attribute with name javax.zkoss.zk.ui.Session
no grammar constraints (dtd or xml schema) detected for the document
ListModelList.clear() - Error in ZK Framework?
Getting wierd NullPointerException when using Shiro
Script error when doing stuff in background thread