0

Query By Example

asked 2013-12-19 15:52:19 +0800

Alex007 gravatar image Alex007
1

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

delete flag offensive retag edit

Comments

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 )edit

Hi 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 )edit

can the user see the predefault objects a list or combobox?

chillworld ( 2013-12-20 12:35:41 +0800 )edit

Yes he can. The use can choose a value into the list or write a specified value.

Alex007 ( 2013-12-20 14:29:45 +0800 )edit

Who 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
Be the first one to answer this question!
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
2 followers

RSS

Stats

Asked: 2013-12-19 15:52:19 +0800

Seen: 19 times

Last updated: Dec 19 '13

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