<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
h3
{mso-style-priority:9;
mso-style-link:"Heading 3 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:13.5pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-link:"Heading 3";
font-family:"Calibri Light",sans-serif;
color:#1F4D78;}
p.berschrift3, li.berschrift3, div.berschrift3
{mso-style-name:"Überschrift 3";
mso-style-link:"Überschrift 3 Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.berschrift3Zchn
{mso-style-name:"Überschrift 3 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 3";
font-family:"Times New Roman",serif;
font-weight:bold;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Thanks Tobias, Yes it solved my problem. Actually whenever page has some error in code, the same error message shows up.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">I just used JSP for quicker experiments. I will definitely use formatters for actual pages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:black">Asif G. Khan<o:p></o:p></span></b></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Tobias Karrer [mailto:kartobi@gmail.com]
<br>
<b>Sent:</b> 27 July 2016 17:16<br>
<b>To:</b> Asif G. Khan <agkhan@globalrescue.com>; opencms-dev@opencms.org<br>
<b>Subject:</b> AW: [opencms-dev] CmsSolrResultList Issue<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE">Hi Asif,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">I think changing </span>"solr_online"<span lang="DE"> to
</span>"<span lang="DE">Solr Online</span>"<span lang="DE"> should solve your problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Or did you rename the standard index?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">BTW:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Why don’t you use the solr collector in jsp? (see
<a href="http://documentation.opencms.org/opencms-documentation/solr-search-integration/#1.4">
http://documentation.opencms.org/opencms-documentation/solr-search-integration/#1.4</a>)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Tobias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von: </span></b><span lang="DE"><a href="mailto:agkhan@globalrescue.com">Asif G. Khan</a><br>
<b>Gesendet: </b>Dienstag, 26. Juli 2016 12:49<br>
<b>An: </b><a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<b>Betreff: </b>[opencms-dev] CmsSolrResultList Issue<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="DE" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<h3 style="margin:0cm;margin-bottom:.0001pt;background:white"><span style="font-family:"Calibri Light",sans-serif;font-weight:normal">I have following code in a JSP page. When I run the page in browser, it does not show anything and instead throws an error
“<span style="color:#222222"><a href="https://vaadin.com/forum#!/thread/2438273"><span style="color:#660099;text-decoration:none">Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap</span></a>.js”<o:p></o:p></span></span></h3>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><%@ page pageEncoding="UTF-8" %><o:p></o:p></p>
<p class="MsoNormal"><%@ page import="org.opencms.main.*" %> <o:p></o:p></p>
<p class="MsoNormal"><%@ page import="org.opencms.search.*" %><o:p></o:p></p>
<p class="MsoNormal"><%@ page import="org.opencms.search.solr.*" %><o:p></o:p></p>
<p class="MsoNormal"><%@ page import="org.opencms.jsp.*" %><o:p></o:p></p>
<p class="MsoNormal"><%@ page import="java.util.*" %><o:p></o:p></p>
<p class="MsoNormal"><%@ page import="java.io.*" %> <o:p></o:p></p>
<p class="MsoNormal"><%<o:p></o:p></p>
<p class="MsoNormal">String query="fq=type:Blog-Entry";<o:p></o:p></p>
<p class="MsoNormal">CmsSolrResultList results = OpenCms.getSearchManager().getIndexSolr("solr_online").search(getCmsObject(), query);<o:p></o:p></p>
<p class="MsoNormal">%><o:p></o:p></p>
<p class="MsoNormal"><h1><%= results.size() %></h1><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:black">Asif G. Khan<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>