<%@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 )
 
Pesquisa
-----------------------------
Quem Somos 
-----------------------------
Sistema de Atendimento 
-----------------------------
Serviços 
-----------------------------
Manutenção Preventiva 
-----------------------------
Vendas de Equipamentos 
-----------------------------
Parceiros 
-----------------------------
Produtos 
-----------------------------
Clientes 
-----------------------------
Instalações Residenciais 
-----------------------------
Fale com a Gente 
-----------------------------


Produtos



<% int cont = 1; Collection col = categoria.getCategoriasAtivas(); for (Iterator i = col.iterator(); i.hasNext();) {%> <%CategoriaVO vo = (CategoriaVO) i.next(); ProdutoVO vo2 = new ProdutoVO(); vo2.setIdCategoria(vo.getIdCategoria()); vo2.setAtivo("S"); Collection col2 = produto.findByFilter(vo2); if (col2.size() > 0) {%> <% cont = 1; for (Iterator j = col2.iterator(); j.hasNext();) {%> <%ProdutoVO pvo = (ProdutoVO) j.next();%> <%if (cont % 2 == 0) {%> <%} cont++;%> <%}%> <%}%> <%}%>


<%=getBreadCrumb(vo.getIdCategoria())%>
<%=pvo.getTitulo()%> <%=pvo.getTitulo()%>

<%=pvo.getPreview()%>

( TRITEL T e l e c o m ) - Fone: 3766-6966
Desenvolvimento: Deucher Technologies