ViewCriteria : Execute MyLogic then Execute Search functionality.
MyRequirement:
In Search Panel if user clicks on Search button, i need to execute my Login then execute the Search functionality.
Solution:
Just override the executeQuery() function in VOImpl + Do you Logic + super.executeQuery()
For More Info Refer:
http://andrejusb.blogspot.in/2010/05/yes-no-check-box-in-query-criteria.html
Solution2:
Generate custom where clause fragment for the ViewCriteriaItem
http://www.jobinesh.com/2010/09/using-bind-variable-for-sql-statements.html
No comments:
Post a Comment