/[projects]/android/MarketStats/WebContent/statsview.jsp
ViewVC logotype

Annotation of /android/MarketStats/WebContent/statsview.jsp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1016 - (hide annotations) (download)
Thu Aug 12 10:01:24 2010 UTC (13 years, 9 months ago) by torben
File size: 1487 byte(s)
Make view of extended info optional
1 torben 950 <%@ page language="java" contentType="text/html; charset=UTF-8"
2     pageEncoding="UTF-8"%>
3    
4     <%@ page import="dk.thoerup.marketstats.AppBean" %>
5     <%@ page import="dk.thoerup.marketstats.CommentBean" %>
6     <%@ page import="java.util.List" %>
7    
8     <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
9     <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>
10    
11     <c-rt:set var="app" value="${requestScope.app}"/>
12     <c-rt:set var="commentList" value="${requestScope.comments}" />
13     <c-rt:set var="commentCount" value="<%= ( (List) request.getAttribute("comments")).size() %>" />
14    
15    
16     <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
17     <html>
18     <head>
19     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
20     <title>MarketStats: ${app.title}</title>
21     </head>
22     <body>
23     <pre>
24     <h2>${app.title}</h2>
25     Ver: ${app.version} ( ${app.versionCode} )
26     Ratingcount: ${app.ratingsCount}
27     Rating: ${app.rating}
28     Downloads: ${app.downloadsCountText} (${app.downloadsCount})
29 torben 1016 <c-rt:if test="${extended}">
30 torben 1015 Creator: ${app.creator}
31     Website: <a href="${app.website}">${app.website }</a>
32 torben 1016
33     Description: ${app.description }
34     </c-rt:if>
35 torben 1015
36 torben 950 Comments: ${commentCount}
37     --------------------------------------------------------------------------------------------------------
38     <c-rt:forEach var="comment" items="${commentList}">
39     User: ${comment.author}
40     Rating: ${comment.rating }
41     Time: ${comment.time }
42     ${comment.text }
43    
44     </c-rt:forEach>
45    
46    
47     </pre>
48     </body>
49     </html>

  ViewVC Help
Powered by ViewVC 1.1.20