• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Processing of input field before calling CriteriaFind

 
Saraswathy Krishnamoorth
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the input string is "Origin Airport='SFO',Destination Aiport='ANY'".
1) Is it okay to remove ANY at the client side and pass "Origin Airport='SFO'" alone to criteriaFind method.
2) Or should criteriaFind method be passed "Origin Airport='SFO',Destination Aiport='ANY'" and then criteriafind itself should decide how to handle ANY.
 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think our question does not permit this. You may discard ANY before searching in criteriaFind.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic