hi every body
i have a viewobject with two criteria , and in view controller i have af:query for each viewobject criteria , what i want when i click on Search button on one of any af:query ,is to Execute the query of another af:query beside the clicked af:query.
thanks in advance
I don't understand your use case. If you oly use one VO which has two VC where each VC is mapped to an af:query on the page, it doesn't make sense to execute both of them together. If you do this the resutl set from the first query would be overwritten by the second query.
Or do you just want to 'and' the two VC into one query and get the result as select ! from table where (vc1) and (vc2)?
i will explain my case.
first criteria is for simple search and contain some attributes.
second criteria is for advanced search (transit attributes) and contain different attributes.
i want to put in same page two af:query (for arrangement) one for first criteria,second for second criteria , and i want to append the two query to each other.
yes Timo i just want to 'and' the two VC into one query (by Using two af:query) and get the result as select ! from table where (vc1) and (vc2)?
Edited by: 842127 on Jan 17, 2013 6:17 AM
Edited by: 842127 on Feb 3, 2013 9:14 AM