%@page language="java" import="com.deucher.core.categoria.delegate.CategoriaDelegate,com.deucher.core.categoria.vo.CategoriaVO,com.deucher.core.imagem.vo.*,com.deucher.core.categoria.vo.*,com.deucher.core.produto.vo.*,java.util.*"%>
<%!
public String getBreadCrumb(int idCategoria) throws Exception {
String retorno = "";
CategoriaVO categoriaVO = new CategoriaVO();
categoriaVO.setIdCategoria(idCategoria);
categoriaVO = new CategoriaDelegate().findByPrimaryKey(categoriaVO);
retorno = categoriaVO.getDescricao();
if (categoriaVO.getIdCategoriaPai() > 0) {
retorno = getBreadCrumb(categoriaVO.getIdCategoriaPai()) + " / " + retorno;
}
return retorno;
}
%>
<%Math.random();%>
( TRITEL T e l e c o m )