We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
component: code owner: martinP,mariam reporter: martin created: 2016-06-09 16:59:48 milestone: type: task version: keywords:
You shouldn't put programming code within the JSP stuff. That's super ugly and bad habits. Especially looking at constructs like these:
<% String feedbackUrl = Util.getFeedbackUrl(request); if( feedbackUrl != null) { %> <div id="feedback"> <a href="<%=feedbackUrl%>" title="feedback"></a> </div> <% } %>
or
<div class="col-md-2 col-md-offset-8 col-xs-6 search-result-score"> <% if( search.getAggregationType().equals("DEFAULT") || search.getAggregationType().equals("COMB_MNZ") ) { %> <fmt:formatNumber value="${result.score * 100}" minFractionDigits="1" maxFractionDigits="1" var="score" /> score: ${score}% <% } %> </div>
Instead please ONLY use taglibs and expression language! To learn more see for example: http://stackoverflow.com/a/3180202/723540
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trac Ticket #6
component: code
owner: martinP,mariam
reporter: martin
created: 2016-06-09 16:59:48
milestone:
type: task
version:
keywords:
You shouldn't put programming code within the JSP stuff. That's super ugly and bad habits. Especially looking at constructs like these:
or
Instead please ONLY use taglibs and expression language! To learn more see for example: http://stackoverflow.com/a/3180202/723540
The text was updated successfully, but these errors were encountered: