<%-- /* $Header: relatedLinks.jspf 13-jul-2005.02:07:20 andyao Exp $ */ /* Copyright (c) 2004, 2005, Oracle. All rights reserved. */ /* DESCRIPTION The relatedLinks PRIVATE CLASSES NOTES MODIFIED (MM/DD/YY) andyao 07/13/05 - add oem license andyao 07/12/05 - standardize related links andyao 06/14/05 - andyao_p3fixes3 andyao 05/27/05 - Creation */ /** * @version $Header: relatedLinks.jspf 13-jul-2005.02:07:20 andyao Exp $ * @author andyao * @since release specific (what release of product did this appear in) */ --%> <%-- copied from target/groupHomepage --%> <% java.util.List relatedLinks = (java.util.List)request.getAttribute("relatedLinks"); if (relatedLinks != null) { int len = relatedLinks.size(); %> <% for (int i = 0; i < len ; i++) { if (i%3 != 0) { continue; } java.util.Map map = (java.util.Map) relatedLinks.get(i); String name = (String)map.get("name"); String desc = (String)map.get("desc"); String dest = (String)map.get("link"); %> <% } // end for %> <% for (int i = 0; i != len ; i++) { if (i%3 != 1) continue; java.util.Map map = (java.util.Map) relatedLinks.get(i); String name = (String)map.get("name"); String desc = (String)map.get("desc"); String dest = (String)map.get("link"); %> <% } // end for %> <% for (int i = 0; i != len ; i++) { if (i%3 != 2) continue; java.util.Map map = (java.util.Map) relatedLinks.get(i); String name = (String)map.get("name"); String desc = (String)map.get("desc"); String dest = (String)map.get("link"); %> <% } // end for %> <% } // end if(relatedLinks != null) %>