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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1015 - (show annotations) (download)
Thu Aug 12 09:52:03 2010 UTC (13 years, 9 months ago) by torben
File size: 1447 byte(s)
Also extract creator, website and description
1 <%@ 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
30 Creator: ${app.creator}
31 Website: <a href="${app.website}">${app.website }</a>
32
33 Description= ${app.description }
34
35 Comments: ${commentCount}
36 --------------------------------------------------------------------------------------------------------
37 <c-rt:forEach var="comment" items="${commentList}">
38 User: ${comment.author}
39 Rating: ${comment.rating }
40 Time: ${comment.time }
41 ${comment.text }
42
43 </c-rt:forEach>
44
45
46 </pre>
47 </body>
48 </html>

  ViewVC Help
Powered by ViewVC 1.1.20