% try { %>
<%@
page import="org.roller.presentation.planet.PlanetAction" %><%@
page import="java.util.Locale" %><%@
include file="/taglibs.jsp" %><%@
include file="/theme/header.jsp" %>
<%
request.setAttribute("aggregation", ((PlanetAction.PlanetPageData)
request.getAttribute("data")).getAggregation(50));
request.setAttribute("topBlogs", ((PlanetAction.PlanetPageData)
request.getAttribute("data")).getTopSubscriptions(50));
request.setAttribute("popularWebsites",((PlanetAction.PlanetPageData)
request.getAttribute("data")).getPopularWebsites(65));
// custom groups, only shown if they exist
request.setAttribute("featuredGroup1",((PlanetAction.PlanetPageData)
request.getAttribute("data")).getGroup("featuredGroup1"));
request.setAttribute("featuredGroup1_entries",((PlanetAction.PlanetPageData)
request.getAttribute("data")).getAggregation("featuredGroup1",20));
request.setAttribute("featuredGroup2",((PlanetAction.PlanetPageData)
request.getAttribute("data")).getGroup("featuredGroup2"));
request.setAttribute("featuredGroup2_entries",((PlanetAction.PlanetPageData)
request.getAttribute("data")).getAggregation("featuredGroup2",20));
%>
<%@ include file="local-banner-planet.jspf" %>
|
<%-- to prevent invalid XHTML --%>
<%-- to prevent invalid XHTML --%>
|
<%@ include file="/theme/footer.jsp" %>
<% } catch (Exception e) {e.printStackTrace();} %>