Reply To: Ajax

Splash Forums Rewrite Users Ajax Reply To: Ajax

#27040

Andreu
Participant

SearchFilterController

    public void onCategoryChange() {
        if (CATEGORY != null && !CATEGORY.equals("")) {
            //CategoryBean categoryBean = new CategoryBean(); // this don't work
            //categoryBean.setCategoryName(CATEGORY);         // this don't work
            AUTO_MARK = null;
            AUTO_MARKS = SEARCH_FILTER_DAO.getAutoMarksByCategory(CATEGORY);
        } else {
            AUTO_MARKS = new TreeMap<>();
        }
    }

want update URL by change category in p:selectOneMenu this is possible?