Commits

Juan Carlos Picado Herrera committed e0c65c8

Comments (0)

Files changed (23)

encuestame-business/src/main/java/org/encuestame/business/service/FrontEndService.java

         }
         log.debug("Max Results "+maxResults);
         final List<TweetPoll> items = new ArrayList<TweetPoll>();
-        if(period == null ){
+        if (period == null ) {
             throw new EnMeSearchException("search params required.");
         } else {
             final SearchPeriods periodSelected = SearchPeriods.getPeriodString(period);

encuestame-war/src/main/resources/messages_en.properties

 
 ##############################
 # Email
-emailPasswordConfirmation = Remember your new password
+emailPasswordConfirmation = Remember your new password
+
+
+#########################
+# Front End
+#########################
+submited.by = Submited by
+added = added
+home.item.views = views
+home.item.votes = votes
+home.category.hot = Hot
+home.category.weeks = Weeks
+home.category.month = Months
+home.category.all = All
+home.type.surveys = All Surveys
+home.type.poll = All Poll
+home.type.tweetpoll = All TweetPoll
+home.item.comments = comments
+
+header.signin = Sign In
+header.public.line = Public Line
+
+
+###############################
+## Menu
+###############################
+
+menu.members = Accounts Members
+menu.locations = Locations
+menu.project = Projects
+menu.tweetpoll = TweetPolls
+menu.poll = Polls
+menu.survey = Surveys
+
+
+
+
+

encuestame-war/src/main/resources/messages_es.properties

 
 ##############################
 # Email
-emailPasswordConfirmation = Recordatorio de nueva contrase�a
+emailPasswordConfirmation = Recordatorio de nueva contrase�a
+
+
+
+#########################
+# Front End
+#########################
+submited.by = Enviado por
+added = agregado
+home.item.views = vistas
+home.item.votes = votos
+home.category.hot = Reciente
+home.category.weeks = Semanal
+home.category.month = Mensual
+home.category.all = Todos
+home.type.surveys = Todos las Encuestas
+home.type.poll = Todos los Sondeos
+home.type.tweetpoll = Todos los TweetPoll
+home.item.comments = comentarios
+header.signin = Iniciar Sesi�n
+header.public.line = Inicio
+
+
+###############################
+## Menu
+###############################
+
+menu.members = Miembros
+menu.locations = Localizaci�n
+menu.project = Projectos
+menu.tweetpoll = TweetPolls
+menu.poll = Sondeos
+menu.survey = Encuestas

encuestame-war/src/main/webapp/WEB-INF/jsp/includes/web/menu.jsp

+ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%>
  <div class="menuWrapper enme-auto-center">
     <ul>
         <li>
                 <img src="<%=request.getContextPath()%>/resources/images/icons/enme_home.png" alt="Home" />
             </a>
         </li>
-        <li class="item"><a href="<%=request.getContextPath()%>/admon/members">Accounts Members</a></li>
-        <li class="item"><a href="<%=request.getContextPath()%>/admon/location">Locations</a></li>
-        <li class="item"><a href="<%=request.getContextPath()%>/admon/project">Projects</a></li>
-        <li class="item"><a href="<%=request.getContextPath()%>/user/tweetpoll/list">TweetPolls</a></li>
-        <li class="item"><a href="<%=request.getContextPath()%>/user/poll">Polls</a></li>
-        <li class="item"><a href="<%=request.getContextPath()%>/user/survey">Surveys</a></li>
+        <li class="item"><a href="<%=request.getContextPath()%>/admon/members">
+                <spring:message code="menu.members" />
+                </a></li>
+        <li class="item"><a href="<%=request.getContextPath()%>/admon/location">
+                <spring:message code="menu.locations" />
+            </a></li>
+        <li class="item"><a href="<%=request.getContextPath()%>/admon/project">
+            <spring:message code="menu.project" />
+            </a></li>
+        <li class="item"><a href="<%=request.getContextPath()%>/user/tweetpoll/list">
+            <spring:message code="menu.tweetpoll" />
+            </a></li>
+        <li class="item"><a href="<%=request.getContextPath()%>/user/poll">
+            <spring:message code="menu.poll" />
+            </a></li>
+        <li class="item">
+            <a href="<%=request.getContextPath()%>/user/survey">
+                <spring:message code="menu.survey" /></a></li>
     </ul>
     <div style="float: right;">
         <div dojoType="encuestame.org.core.commons.notifications.Notification"></div>

encuestame-war/src/main/webapp/WEB-INF/layouts/standard/header.jsp

 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
+<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%>
 <div class="web-header enme-auto-center">
         <div class="web-header-wrapper enme-auto-center">
             <div class="logo">
             <div class="web-header-options">
                 <c:if test="${!logged}">
                    <span class="link">
-                       <a href="<%=request.getContextPath()%>/user/signin">Sign In</a>
+                       <a href="<%=request.getContextPath()%>/user/signin">
+                        <spring:message code="header.signin" />
+                        </a>
                    </span>
                  </c:if>
                  <c:if test="${logged}">
                     <span class="link">
-                         <a href="<%=request.getContextPath()%>/home">Public Line</a>
+                         <a href="<%=request.getContextPath()%>/home">
+                            <spring:message code="header.public.line" />
+                         </a>
                     </span>
                  </c:if>
                  <c:if test="${logged}">
                  </span>
             </div>
      </div>
-</div>
+</div>

encuestame-war/src/main/webapp/WEB-INF/layouts/standard/page.jsp

         <div id="header">
             <tiles:insertAttribute name="header" />
         </div>
-        <div id="content-container">
+        <div id="content-container" class="enme-auto-center">
             <div id="enme-content" class="enme-auto-center">
                 <tiles:insertAttribute name="menu" ignore="true" />
                 <tiles:insertAttribute name="content"/>

encuestame-war/src/main/webapp/WEB-INF/views/home/mobile/home.jsp

 <div class="home-mobile">
     <div class="mobile-categoryMenu">
                 <div class="menu-options">
-                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=survey">Surveys</a></span>
-                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=tweetpoll">TweetPoll</a></span>
-                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=poll">Polls</a></span>
+                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=survey">
+                    <spring:message code="home.type.surveys" /></a></span>
+                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=tweetpoll">
+                    <spring:message code="home.type.tweetpoll" /></a></span>
+                    <span class="option"><a href="<%=request.getContextPath()%>/home?view=poll">
+                    <spring:message code="home.type.poll" /></a></span>
                 </div>
                 <div class="mobile-MenuHotTags">
-                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "24")%>">Hot</a></span>
-                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "7")%>">Week</a></span>
-                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "30")%>">Month</a></span>
-                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "all")%>">All</a></span>
+                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "24")%>">
+                     <spring:message code="home.category.hot" />
+                     </a></span>
+                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "7")%>">
+                    <spring:message code="home.category.weeks" />
+                    </a></span>
+                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "30")%>">
+                    <spring:message code="home.category.month" /></a></span>
+                    <span class="optionTags"><a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "all")%>">
+                     <spring:message code="home.category.all" /></a></span>
                 </div>
     </div>
     <div class="mobile-items">
                         <div>
                             <div class="votes">
                                 <span class="count"><strong>${item.totalVotes}</strong></span>
-                                <span class="voteText">Votes</span>
+                                <span class="voteText"><spring:message code="home.item.votes" /></span>
                             </div>
                         </div>
                     </div>
                     </div>
                     <div class="mobile-submit-bottom">
                         <div class="mobile-submit-options">
-                            <div class= "mobile-submit-text">(Submited By
+                            <div class= "mobile-submit-text">( <spring:message code="submited.by" />
                             <strong>
                                <a href="<%=request.getContextPath()%>/profile/${item.ownerUsername}">${item.ownerUsername}</a>
-                             </strong>) added <strong>${item.relativeTime}</strong> |  25 Comments</div>
+                             </strong>) <spring:message code="added" /> <strong>${item.relativeTime}</strong>
+                              |  25 <spring:message code="home.item.comments" /></div>
                         </div>
                     </div>
                 </div>

encuestame-war/src/main/webapp/WEB-INF/views/home/web/home.jsp

 <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%>
 <script type="text/javascript">
-     dojo.require("encuestame.org.core.commons.notifications.NotificationList");
+     dojo.require("encuestame.org.core.commons.hashtags.Cloud");
+     dojo.require("encuestame.org.core.commons.rated.Comments");
+     dojo.require("encuestame.org.core.commons.rated.HashTags");
+     dojo.require("encuestame.org.core.commons.rated.Users");
+     dojo.require("encuestame.org.core.commons.stream.FrontEnd");
 </script>
 <div id="web-main-public-line" class="enme-auto-center">
-     <div class="categoryMenu">
-         <div style="clear: both;">
-             <div style="float: right;">
-                 <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "24")%>">Hot</a>
-                 <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "7")%>">Week</a>
-                 <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "30")%>">Month</a>
-                 <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "all")%>">All</a>
-             </div>
-             <div style="float: left;">
-                 <span><a href="<%=request.getContextPath()%>/home?view=survey">All Surveys</a></span>
-                 <span><a href="<%=request.getContextPath()%>/home?view=tweetpoll">All TweetPoll</a></span>
-                 <span><a href="<%=request.getContextPath()%>/home?view=poll">All Poll</a></span>
-             </div>
-         </div>
-    </div>
-    <div class="web-left-wrapper">
-         <div dojoType="encuestame.org.core.commons.notifications.NotificationList"></div>
-    </div>
     <div class="web-item-wrapper">
-        <div >
+        <div class="categoryMenu">
+             <div style="clear: both;">
+                 <div style="float: right;">
+                     <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "24")%>">
+                        <spring:message code="home.category.hot" />
+                     </a>
+                     <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "7")%>">
+                        <spring:message code="home.category.weeks" />
+                     </a>
+                     <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "30")%>">
+                        <spring:message code="home.category.month" />
+                     </a>
+                     <a href="<%=WidgetUtil.getHomeFilterPeriodParameter(request, "all")%>">
+                        <spring:message code="home.category.all" />
+                    </a>
+                 </div>
+                 <div style="float: left;">
+                     <span><a href="<%=request.getContextPath()%>/home?view=survey">
+                        <spring:message code="home.type.surveys" />
+                        </a></span>
+                     <span><a href="<%=request.getContextPath()%>/home?view=tweetpoll">
+                        <spring:message code="home.type.tweetpoll" />
+                        </a></span>
+                     <span><a href="<%=request.getContextPath()%>/home?view=poll">
+                        <spring:message code="home.type.poll" />
+                     </a></span>
+                 </div>
+             </div>
+        </div>
+        <div class="items">
         <c:forEach items="${items}" var="item">
            <div class="item">
                 <div class="img">
                             <div class="vote">
                                 <div>
                                     <span class="count"><strong>${item.totalVotes}</strong></span>
-                                    <div class="viewcount">answers</div>
+                                    <div class="viewcount">
+                                         <spring:message code="home.item.votes" />
+                                    </div>
                                 </div>
                             </div>
                              <div class="views">
-                               50 views
+                               50 <spring:message code="home.item.views" />
                             </div>
                         </div>
                 </div>
                 <div class="content">
-                    <h3>
+                    <div class="title">
                          <a href="<%=request.getContextPath()%>/tweetpoll/${item.id}/test">${item.questionBean.questionName}</a>
-                    </h3>
+                    </div>
                     <div class="bottom">
-                       <div class="share">
-                                <span class="title">Share on:</span>
-                                <img src="<%=request.getContextPath()%>/resources/images/social/twitter/enme_twitter.png" alt="Twitter" />
-                                <img src="<%=request.getContextPath()%>/resources/images/social/facebook/enme_facebook.png" alt="Facebook" />
-                       </div>
                        <div class="options">
                             <div class="image">
-                                    <img width="32" height="32" alt=""
-                                    src="http://www.gravatar.com/avatar/6757caf55de0413ae0994293e001d465?s=32&amp;d=identicon&amp;r=PG"/>
+                                    <a href="<%=request.getContextPath()%>/profile/${item.ownerUsername}">
+                                        <img width="32" height="32" alt=""
+                                        src="<%=request.getContextPath()%>/picture/profile/${item.ownerUsername}/thumbnail"/>
+                                    </a>
                             </div>
-                            <div>(Submited By
-                                <strong>
-                                    <a href="<%=request.getContextPath()%>/profile/${item.ownerUsername}">${item.ownerUsername}</a>
+                            <div class="share">
+                                    <span class="title">Share on:</span>
+                                    <img src="<%=request.getContextPath()%>/resources/images/social/twitter/enme_icon_twitter.png" alt="Twitter" />
+                                    <img src="<%=request.getContextPath()%>/resources/images/social/facebook/enme_icon_facebook.png" alt="Facebook" />
+                                </div>
+                            <div class="submited">
+                                <spring:message code="submited.by" />
+                                    <strong>
+                                        <a href="<%=request.getContextPath()%>/profile/${item.ownerUsername}">${item.ownerUsername}</a>
                                     </strong>
-                                        ) added
+                                         <spring:message code="added" />
                                     <strong>
-                                ${item.relativeTime}</strong>
-                            </div>
-                            <div>
-                                <img src="/resources/images/icons/enme_comment_reply.png"/> 25 Comments
+                                        ${item.relativeTime} | <br>
+                                        <a href="<%=request.getContextPath()%>/tweetpoll/${item.id}/test#comments">
+                                           25  <spring:message code="home.item.comments" />
+                                        </a>
+                                    </strong>
                             </div>
                        </div>
                        <div class="tags">
                 </div>
           </div>
         </c:forEach>
+        <div class="pagination">
+             <div dojoType="encuestame.org.core.commons.stream.FrontEnd"></div>
         </div>
+        </div>
+    </div>
+    <div class="web-left-wrapper">
+         <div class="section">
+            <div dojoType="encuestame.org.core.commons.hashtags.Cloud"></div>
+         </div>
+         <div class="section">
+            <div dojoType="encuestame.org.core.commons.rated.Comments"></div>
+         </div>
+         <div class="section">
+            <div dojoType="encuestame.org.core.commons.rated.HashTags"></div>
+         </div>
+         <div class="section">
+            <div dojoType="encuestame.org.core.commons.rated.Users"></div>
+         </div>
     </div>
 </div>

encuestame-war/src/main/webapp/resource/css/default.css

 }
 
 #mainWrapper {
-    min-height: 92%;
-    position: relative;
+    min-height: 100%;
+    overflow: auto;
 }
 
 #content-container {
-    padding-top: 19px;
-    min-height: 100%;
+    min-height: 450px;
 }
 
 #content-container #enme-content {

encuestame-war/src/main/webapp/resource/css/public.css

 .enme-auto-center {
   margin: 0 auto;
   position: relative;
-  max-width: 1180px;
+  max-width: 1100px;
 }
 
 #header{
     text-align: left;
 }
 
-#web-main-public-line div.categoryMenu{
-    padding-bottom: 5px;
+#web-main-public-line div.categoryMenu {
     font-size: 120%;
     margin: 0 1em auto;
-    min-height: 50px;
+    min-height: 30px;
 }
 
 #web-main-public-line div.categoryMenu span{
     display: inline-block;
     width: 100px;
     padding: 4px;
-    background-color: #275296;
+    background-color: #3E6D8E;
     text-align: center;
 }
 
 
 #web-main-public-line div.web-item-wrapper{
     float: left;
+    border: 0px solid rgb(255, 255, 255);
+    width: 78%;
 }
 
 #web-main-public-line div.web-left-wrapper {
-  border-left: 1px solid #EEEEEE;
   float: right;
+  border-left: 1px solid #EEEEEE;
   margin-bottom: 60px;
   overflow: hidden;
   width: 220px;
 }
 
-div.web-item-wrapper {
-    border: 0px solid rgb(255, 255, 255);
-    width: 940px;
-}
-
-div.web-item-wrapper .item{
-    border-bottom: 1px solid #DFDFDF;
-    padding: 5px;
-    background: none repeat scroll 0 0 #FFFFFF;
-    clear: both;
+div.web-item-wrapper .item {
+  background: none repeat scroll 0 0 #FFFFFF;
+  border-bottom: 1px dotted #C8C8C8;
+  clear: both;
+  overflow: auto;
+  padding: 4px;
 }
 
 div.web-item-wrapper .item .img{
     float: left;
-    width: 86px;
-    margin-right: 8px;
-
+    margin-right: 10px;
+    margin-top: 6px;
 }
 
 div.web-item-wrapper .item .content{
     float: right;
-    width: 700px;
+    width: 87%;
+    max-width: 750px;
 }
 div.web-item-wrapper .item .clear{
     clear: both;
 }
 
 div.web-item-wrapper .item .content{
+    float: left;
+    padding: 4px;
+}
 
+div.web-item-wrapper .item .content div.title {
+  font-size: 140%;
+  font-weight: bold;
+  margin-bottom: 5px;
+  text-transform: capitalize;
 }
 
-div.web-item-wrapper .item .content h3{
-    font-size: 130%;
-    text-transform: capitalize;
-    margin-bottom: 1px;
+div.web-item-wrapper .item .content div.title a{
+    color : #275296;
 }
 
+div.web-item-wrapper .item .content div.title a:hover{
+    color : #275296;
+    text-decoration: none;
+}
+
+
 div.web-item-wrapper .item .content h3 a{
     color: #5C8397;
 }
     color: #CACACA;
 }
 
-div.web-item-wrapper .item .content .bottom .options{
-    float: left;
-    background-color: #F3F3F3;
-    color: #3E6D8E;
-    font-size: 90%;
-    margin: 2px 2px 2px 0;
-    padding: 3px 4px;
-    white-space: nowrap;
-    width: 260px;
+div.web-item-wrapper .item .content .bottom .options {
+  background-color: #FCFCFC;
+  clear: both;
+  color: #3E6D8E;
+  float: left;
+  font-size: 90%;
+  margin: 2px 2px 2px 0;
+  overflow: auto;
+  padding: 3px 4px;
+  white-space: nowrap;
+  width: 100%;
 }
+
 div.web-item-wrapper .item .content .bottom .image{
     float: left;
     margin-right: 6px;
 }
 
 div.web-item-wrapper .item .tags{
-    float: left;
-    margin-left: 10px;
     padding-top: 5px;
+    padding-bottom: 2px;
 }
 
 div.web-item-wrapper .item .tags .tag{
-    background-color: #F3F3F3;
-    color: #3E6D8E;
+    background-color: #3E6D8E;
+    color: #F7FBFF;
     font-size: 90%;
     margin: 2px 2px 2px 0;
     padding: 3px 4px;
     white-space: nowrap;
     border: 1px solid #929292;
-}
+    -webkit-border-radius: 3px;
+    -moz-border-radius: 3px;
+    border-radius: 3px;
+}

encuestame-war/src/main/webapp/resource/css/tweetpoll.css

 
 div.tweetPollWrapper div.previewAbsolute {
      position: absolute !important;
-     top: 110px;
+     top: 73px;
 }
 
 div.tweetPollWrapper div.previewFixed {

encuestame-war/src/main/webapp/resource/js/encuestame.profile.js

                 "encuestame.org.core.commons.search.SearchMenu",
                 "encuestame.org.core.commons.search.SearchSuggestItem",
                 "encuestame.org.activity.Activity",
+                "encuestame.org.core.commons.hashtags.Cloud",
+                "encuestame.org.core.commons.rated.Comments",
+                "encuestame.org.core.commons.rated.HashTags",
                 "encuestame.org.mobile.notifications.NotificationList",
                 "org.cometd",
                 "org.cometd.AckExtension",

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons.js

 encuestame.service.list.addPermission = encuestame.contextWidget()+"/api/admon/add-permission.json";
 encuestame.service.list.removePermission = encuestame.contextWidget()+"/api/admon/remove-permission.json";
 encuestame.service.list.hashtags = encuestame.contextWidget()+"/api/common/hashtags.json";
+encuestame.service.list.cloud = encuestame.contextWidget()+"/api/common/hashtags/cloud.json";
 //TODO: replace twitter encuestame.service.list.socialAccounts
 encuestame.service.list.socialAccounts = encuestame.contextWidget()+"/api/common/social/confirmed-accounts.json";
 encuestame.service.list.allSocialAccount = encuestame.contextWidget()+"/api/common/social/accounts.json";

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/hashtags/Cloud.js

+dojo.provide("encuestame.org.core.commons.hashtags.Cloud");
+
+dojo.require('dojox.timing');
+dojo.require("dojox.widget.Dialog");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dijit.layout.ContentPane");
+dojo.require('encuestame.org.core.commons');
+
+dojo.declare(
+    "encuestame.org.core.commons.hashtags.Cloud",
+    [dijit._Widget, dijit._Templated],{
+        templatePath: dojo.moduleUrl("encuestame.org.core.commons.hashtags", "template/cloud.html"),
+
+        widgetsInTemplate: true
+});

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/hashtags/template/cloud.html

+<div>
+cloud
+
+</div>

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/Comments.js

+dojo.provide("encuestame.org.core.commons.rated.Comments");
+
+dojo.require('dojox.timing');
+dojo.require("dojox.widget.Dialog");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dijit.layout.ContentPane");
+dojo.require('encuestame.org.core.commons');
+
+dojo.declare(
+    "encuestame.org.core.commons.rated.Comments",
+    [dijit._Widget, dijit._Templated],{
+        templatePath: dojo.moduleUrl("encuestame.org.core.commons.rated", "templates/comments.html"),
+
+        widgetsInTemplate: true
+});

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/HashTags.js

+dojo.provide("encuestame.org.core.commons.rated.HashTags");
+
+dojo.require('dojox.timing');
+dojo.require("dojox.widget.Dialog");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dijit.layout.ContentPane");
+dojo.require('encuestame.org.core.commons');
+
+dojo.declare(
+    "encuestame.org.core.commons.rated.HashTags",
+    [dijit._Widget, dijit._Templated],{
+        templatePath: dojo.moduleUrl("encuestame.org.core.commons.rated", "templates/hashTags.html"),
+
+        widgetsInTemplate: true
+});

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/Users.js

+dojo.provide("encuestame.org.core.commons.rated.Users");
+
+dojo.require('dojox.timing');
+dojo.require("dojox.widget.Dialog");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dijit.layout.ContentPane");
+dojo.require('encuestame.org.core.commons');
+
+dojo.declare(
+    "encuestame.org.core.commons.rated.Users",
+    [dijit._Widget, dijit._Templated],{
+        templatePath: dojo.moduleUrl("encuestame.org.core.commons.rated", "templates/users.html"),
+
+        widgetsInTemplate: true
+});

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/templates/comments.html

+<div>rated comments</div>

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/templates/hashTags.html

+<div>rated hashtags</div>

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/rated/templates/users.html

+<div>rated users</div>

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/stream/FrontEnd.js

+dojo.provide("encuestame.org.core.commons.stream.FrontEnd");
+
+dojo.require('dojox.timing');
+dojo.require("dojox.widget.Dialog");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dijit.layout.ContentPane");
+dojo.require('encuestame.org.core.commons');
+
+dojo.declare(
+    "encuestame.org.core.commons.stream.FrontEnd",
+    [dijit._Widget, dijit._Templated],{
+        templatePath: dojo.moduleUrl("encuestame.org.core.commons.stream", "templates/frontEnd.html"),
+
+        widgetsInTemplate: true
+});

encuestame-war/src/main/webapp/resource/js/encuestame/org/core/commons/stream/templates/frontEnd.html

+<div>
+    See next 10 items
+</div>