My controller which is responsible for changeing the column looks like this:
Code: Select all
@RequestMapping(value="/remove/{itemId}", method = RequestMethod.GET)
public String remove(HttpServletRequest request, Model model, @PathVariable("itemId") String itemId){
CCustomer customer = (CCustomer) CustomerState.getCustomer();
customer.removeFromCompare(Long.parseLong(itemId));
return COMPARE_REDIRECT;
}
I'm using BLF 3.0.0-GA .