public static boolean isCategoryContainsProduct(ServletRequest request,String productCategoryId,String productId){
  return isCategoryContainsProduct((Delegator)request.getAttribute("delegator"),(LocalDispatcher)request.getAttribute("dispatcher"),productCategoryId,productId);
}

public static boolean isCategoryContainsProduct ( ServletRequest request , String productCategoryId , String productId ) { return isCategoryContainsProduct ( ( Delegator ) request . getAttribute ( "delegator" ) , ( LocalDispatcher ) request . getAttribute ( "dispatcher" ) , productCategoryId , productId ) ; }
scipio : returns true only if the category contains the product , non - recursive . < p > note : is caching
