-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a Decimalbox with a single String constraint like this
"no empty:El monto no puede ser vacio,no negative:El monto no puede ser negativa"
But only a non empty constraint is fired and show all the literal in the wrong value case like this
"no empty:El monto no puede ser vacio,no negative:El monto no puede ser negativa"
I want both constraint are fired when non emtpy showing a message and when is negative value the other message but i couldn't make it work!!
but when i set a String like this it works but with the default messages
constraintForPenalizacion = "no empty,no negative";
What i am doing wrong??
Your doing nothing wrong.
It's a bug of ZK 7 (maybe previous also), and it's resolved in ZK 8.
I tested it in fiddle, what makes it easy to test in what versions it do work.
Chill.
Asked: 2017-02-24 19:41:08 +0800
Seen: 20 times
Last updated: Feb 25 '17
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate