Details

      Description

      [java] ./portal-web/docroot/html/taglib/ui/ratings/page.jsp expected:<..." />
           [java] 								</svg>
           [java] [
           [java] 								<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 									<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 								</svg>
           [java] 							</span>
           [java] 
           [java] 						<%
           [java] 						}
           [java] 						%>
           [java] 
           [java] 					</liferay-util:whitespace-remover>
           [java] 
           [java] 					<div class="rating-label">
           [java] 						(<%= totalEntries %> <liferay-ui:message key='<%= (totalEntries == 1) ? "vote" : "votes" %>' />)
           [java] 					</div>
           [java] 				</div>
           [java] 			</div>
           [java] 
           [java] 			<c:if test="<%= themeDisplay.isSignedIn() && enabled %>">
           [java] 				<div class="liferay-rating-vote" id="<%= randomNamespace %>ratingStar">
           [java] 					<div id="<%= randomNamespace %>ratingStarContent">
           [java] 						<liferay-util:whitespace-remover>
           [java] 
           [java] 							<%
           [java] 							double yourScoreStars = (yourScore != -1.0) ? yourScore * numberOfStars : 0.0;
           [java] 
           [java] 							for (int i = 1; i <= numberOfStars; i++) {
           [java] 								String ratingId = PortalUtil.generateRandomKey(request, "taglib_ui_ratings_page_rating");
           [java] 							%>
           [java] 
           [java] 								<a class="btn btn-unstyled rating-element <%= (i <= yourScoreStars) ? "icon-star-on" : "icon-star-off" %>" href="javascript:;">
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star" />
           [java] 									</svg>
           [java] 
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 									</svg>
           [java] 								</a>
           [java] 
           [java] 								<div class="rating-input-container">
           [java] 									<label for="<%= ratingId %>"><liferay-ui:message arguments="<%= new Object[] {i, numberOfStars} %>" key='<%= (yourScoreStars == i) ? ((i == 1) ? "you-have-rated-this-x-star-out-of-x" : "you-have-rated-this-x-stars-out-of-x") : ((i == 1) ? "rate-this-x-star-out-of-x" : "rate-this-x-stars-out-of-x") %>' translateArguments="<%= false %>" /></label>
           [java] 
           [java] 									<input checked="<%= i == yourScoreStars %>" class="rating-input" id="<%= ratingId %>" name="<portlet:namespace />rating" type="radio" value="<%= i %>" />
           [java] 								</div>
           [java] 
           [java] 							<%
           [java] 							}
           [java] 							%>
           [java] 
           [java] 						</liferay-util:whitespace-remover>
           [java] 					</div>
           [java] 				</div>
           [java] 			</c:if>
           [java] 		</c:when>
           [java] 		<c:when test="<%= type.equals(RatingsType.STARS.getValue()) %>">
           [java] 			<c:if test="<%= themeDisplay.isSignedIn() && enabled %>">
           [java] 				<div class="liferay-rating-vote" id="<%= randomNamespace %>ratingStar">
           [java] 					<div id="<%= randomNamespace %>ratingStarContent">
           [java] 						<div class="rating-label"><liferay-ui:message key="your-rating" /></div>
           [java] 
           [java] 						<liferay-util:whitespace-remover>
           [java] 
           [java] 							<%
           [java] 							double yourScoreStars = (yourScore != -1.0) ? yourScore * numberOfStars : 0.0;
           [java] 
           [java] 							for (int i = 1; i <= numberOfStars; i++) {
           [java] 								String ratingId = PortalUtil.generateRandomKey(request, "taglib_ui_ratings_page_rating");
           [java] 							%>
           [java] 
           [java] 								<a class="btn btn-unstyled rating-element <%= (i <= yourScoreStars) ? "icon-star-on" : "icon-star-off" %>" href="javascript:;">
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star" />
           [java] 									</svg>
           [java] 
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 									</svg>
           [java] 								</a>
           [java] 
           [java] 								<div class="rating-input-container">
           [java] 									<label for="<%= ratingId %>"><liferay-ui:message arguments="<%= new Object[] {i, numberOfStars} %>" key='<%= (yourScoreStars == i) ? ((i == 1) ? "you-have-rated-this-x-star-out-of-x" : "you-have-rated-this-x-stars-out-of-x") : ((i == 1) ? "rate-this-x-star-out-of-x" : "rate-this-x-stars-out-of-x") %>' translateArguments="<%= false %>" /></label>
           [java] 
           [java] 									<input checked="<%= i == yourScoreStars %>" class="rating-input" id="<%= ratingId %>" name="<portlet:namespace />rating" type="radio" value="<%= i %>" />
           [java] 								</div>
           [java] 
           [java] 							<%
           [java] 							}
           [java] 							%>
           [java] 
           [java] 						</liferay-util:whitespace-remover>
           [java] 					</div>
           [java] 				</div>
           [java] 			</c:if>
           [java] 
           [java] 			<div class="liferay-rating-score" id="<%= randomNamespace %>ratingScore">
           [java] 				<div id="<%= randomNamespace %>ratingScoreContent">
           [java] 					<div class="rating-label">
           [java] 						<liferay-ui:message key="average" />
           [java] 
           [java] 						(<%= totalEntries %> <liferay-ui:message key='<%= (totalEntries == 1) ? "vote" : "votes" %>' />)
           [java] 					</div>
           [java] 
           [java] 					<liferay-util:whitespace-remover>
           [java] 
           [java] 						<%
           [java] 						for (int i = 1; i <= numberOfStars; i++) {
           [java] 							String message = StringPool.BLANK;
           [java] 
           [java] 							if (inTrash) {
           [java] 								message = LanguageUtil.get(resourceBundle, "ratings-are-disabled-because-this-entry-is-in-the-recycle-bin");
           [java] 							}
           [java] 							else if (!enabled) {
           [java] 								message = LanguageUtil.get(resourceBundle, "ratings-are-disabled-in-staging");
           [java] 							}
           [java] 							else if (i == 1) {
           [java] 								message = LanguageUtil.format(request, ((formattedAverageScore == 1.0) ? "the-average-rating-is-x-star-out-of-x" : "the-average-rating-is-x-stars-out-of-x"), new Object[] {formattedAverageScore, numberOfStars}, false);
           [java] 							}
           [java] 						%>
           [java] 
           [java] 							<span class="rating-element <%= (i <= averageIndex) ? "icon-star-on" : "icon-star-off" %>" title="<%= message %>">
           [java] 								<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star" role="img">
           [java] 									<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star" />
           [java] 								</svg>
           [java] ]
           [java] 								<svg aria-h...> but was:<..." />
           [java] 								</svg>
           [java] [								<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 									<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 								</svg>
           [java] 							</span>
           [java] 
           [java] 						<%
           [java] 						}
           [java] 						%>
           [java] 
           [java] 					</liferay-util:whitespace-remover>
           [java] 
           [java] 					<div class="rating-label">
           [java] 						(<%= totalEntries %> <liferay-ui:message key='<%= (totalEntries == 1) ? "vote" : "votes" %>' />)
           [java] 					</div>
           [java] 				</div>
           [java] 			</div>
           [java] 
           [java] 			<c:if test="<%= themeDisplay.isSignedIn() && enabled %>">
           [java] 				<div class="liferay-rating-vote" id="<%= randomNamespace %>ratingStar">
           [java] 					<div id="<%= randomNamespace %>ratingStarContent">
           [java] 						<liferay-util:whitespace-remover>
           [java] 
           [java] 							<%
           [java] 							double yourScoreStars = (yourScore != -1.0) ? yourScore * numberOfStars : 0.0;
           [java] 
           [java] 							for (int i = 1; i <= numberOfStars; i++) {
           [java] 								String ratingId = PortalUtil.generateRandomKey(request, "taglib_ui_ratings_page_rating");
           [java] 							%>
           [java] 
           [java] 								<a class="btn btn-unstyled rating-element <%= (i <= yourScoreStars) ? "icon-star-on" : "icon-star-off" %>" href="javascript:;">
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star" />
           [java] 									</svg>
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 									</svg>
           [java] 								</a>
           [java] 
           [java] 								<div class="rating-input-container">
           [java] 									<label for="<%= ratingId %>"><liferay-ui:message arguments="<%= new Object[] {i, numberOfStars} %>" key='<%= (yourScoreStars == i) ? ((i == 1) ? "you-have-rated-this-x-star-out-of-x" : "you-have-rated-this-x-stars-out-of-x") : ((i == 1) ? "rate-this-x-star-out-of-x" : "rate-this-x-stars-out-of-x") %>' translateArguments="<%= false %>" /></label>
           [java] 
           [java] 									<input checked="<%= i == yourScoreStars %>" class="rating-input" id="<%= ratingId %>" name="<portlet:namespace />rating" type="radio" value="<%= i %>" />
           [java] 								</div>
           [java] 
           [java] 							<%
           [java] 							}
           [java] 							%>
           [java] 
           [java] 						</liferay-util:whitespace-remover>
           [java] 					</div>
           [java] 				</div>
           [java] 			</c:if>
           [java] 		</c:when>
           [java] 		<c:when test="<%= type.equals(RatingsType.STARS.getValue()) %>">
           [java] 			<c:if test="<%= themeDisplay.isSignedIn() && enabled %>">
           [java] 				<div class="liferay-rating-vote" id="<%= randomNamespace %>ratingStar">
           [java] 					<div id="<%= randomNamespace %>ratingStarContent">
           [java] 						<div class="rating-label"><liferay-ui:message key="your-rating" /></div>
           [java] 
           [java] 						<liferay-util:whitespace-remover>
           [java] 
           [java] 							<%
           [java] 							double yourScoreStars = (yourScore != -1.0) ? yourScore * numberOfStars : 0.0;
           [java] 
           [java] 							for (int i = 1; i <= numberOfStars; i++) {
           [java] 								String ratingId = PortalUtil.generateRandomKey(request, "taglib_ui_ratings_page_rating");
           [java] 							%>
           [java] 
           [java] 								<a class="btn btn-unstyled rating-element <%= (i <= yourScoreStars) ? "icon-star-on" : "icon-star-off" %>" href="javascript:;">
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star" />
           [java] 									</svg>
           [java] 									<svg aria-hidden="true" class="lexicon-icon lexicon-icon-star-o" role="img">
           [java] 										<use xlink:href="<%= themeDisplay.getPathThemeImages() %>/lexicon/icons.svg#star-o" />
           [java] 									</svg>
           [java] 								</a>
           [java] 
           [java] 								<div class="rating-input-container">
           [java] 									<label for="<%= ratingId %>"><liferay-ui:message arguments="<%= new Object[] {i, numberOfStars} %>" key='<%= (yourScoreStars == i) ? ((i == 1) ? "you-have-rated-this-x-star-out-of-x" : "you-have-rated-this-x-stars-out-of-x") : ((i == 1) ? "rate-this-x-star-out-of-x" : "rate-this-x-stars-out-of-x") %>' translateArguments="<%= false %>" /></label>
           [java] 
           [java] 									<input checked="<%= i == yourScoreStars %>" class="rating-input" id="<%= ratingId %>" name="<portlet:namespace />rating" type="radio" value="<%= i %>" />
           [java] 								</div>
           [java] 
           [java] 							<%
           [java] 							}
           [java] 							%>
           [java] 
           [java] 						</liferay-util:whitespace-remover>
           [java] 					</div>
           [java] 				</div>
           [java] 			</c:if>
           [java] 
           [java] 			<div class="liferay-rating-score" id="<%= randomNamespace %>ratingScore">
           [java] 				<div id="<%= randomNamespace %>ratingScoreContent">
           [java] 					<div class="rating-label">
           [java] 						<liferay-ui:message key="average" />
           [java] 
           [java] 						(<%= totalEntries %> <liferay-ui:message key='<%= (totalEntries == 1) ? "vote" : "votes" %>' />)
           [java] 					</div>
           [java] 
           [java] 					<liferay-util:whitespace-remover>
           [java] 
           [java] 						<%
           [java] 						for (int i = 1; i <= numberOfStars; i++) {
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            joshua.itagaki Joshua Itagaki
            Recent user:
            Brian Wulbern
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package