Hellow!
I use Webflow(2.3.0) and Primefaces(ver 2.2.1) to develop Web Application.
But I face the follow problem.
If somebody know that,Please teach me.
I refer Primefaces's Datatable like follow:
ApplicationService.doSearch that is impossible to cause Exception as like DB down.Code:@Override public List<Car> load(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String,String> filters) { page=pageSize/first+1; List<Car> data = new ArrayList<Car>(); data =ApplicaiontService.doSearch(page,sortField,sortOrder); } //rowCount int dataSize = data.size(); this.setRowCount(dataSize);
So I want to use the follow webflow definition to Catch the Exception:
<transion on-exception="ApplicationException" to="error.xhtml">
Somebody who can help me,Please.
kaku



Reply With Quote