-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
anyone cal tell me if is it possibile unsing QBE in the ZK search module with MVVM?
Example, insert into a numeric field
>= 0 AND <= 20
or into string field
Name or surname
And if field are obejct, instead a string, from a List?
Thanks a lot.
Alessandro
Asked: 2013-12-19 15:52:19 +0800
Seen: 19 times
Last updated: Dec 19 '13
What do you mean? Do you want to use constraints on some textbox or how to convert the textbox to QBE?
see here for example of search: http://www.zkoss.org/zkdemo/window/panel
chillworld ( 2013-12-20 06:55:02 +0800 )editHi chillworld, hi write a long answare but i don't see that. So i try to synthesize. I need to translate the user input into text/list/combo-box to distinguish if the user have selected a predefault object or the user have to write >= 12/18/2013 AND <= 12/22/2013 or similar for double. Thanks, Alex
Alex007 ( 2013-12-20 11:14:37 +0800 )editcan the user see the predefault objects a list or combobox?
chillworld ( 2013-12-20 12:35:41 +0800 )editYes he can. The use can choose a value into the list or write a specified value.
Alex007 ( 2013-12-20 14:29:45 +0800 )editWho not just take selectie item from your list? Bind this with a selecteditem and check if its null. If its null check your checkbox value. Greetz chill
chillworld ( 2013-12-20 16:32:58 +0800 )edit