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

public static boolean isCategoryChildOf ( ServletRequest request , String parentProductCategoryId , String productCategoryId ) { return isCategoryChildOf ( ( Delegator ) request . getAttribute ( "delegator" ) , ( LocalDispatcher ) request . getAttribute ( "dispatcher" ) , parentProductCategoryId , productCategoryId ) ; }
scipio : returns true only if the category id is child of the given parent category id . < p > note : is caching
