menu.jspf revision 99b4056e2c5b0a51f7f480ebcefb1f917613ce2a
2452N/ASee LICENSE.txt included in this distribution for the specific
2452N/Afile and include the License file at LICENSE.txt.
2452N/A--%><%@page import="org.opensolaris.opengrok.web.SearchHelper"%>
2452N/A<%@page import="java.util.Map"%>
3817N/A // PageConfig cfg = PageConfig.get(request);
2452N/A List<Project> projects = cfg.getEnv().getProjects();
2452N/A QueryBuilder queryParams = cfg.getQueryBuilder();
5795N/A if (projects.size() != 0) {
5795N/A String name = p.getDescription();
6972N/A jsProjects.append('\'');
6972N/A for (String name : cfg.getRequestedProjects()) {
3817N/A jsProjects.append(name).append("','");
if (jsProjects.length() > 1) {
<script type="text/javascript">/* <![CDATA[ */
%>';document.domReady.push(function() { domReadyMenu(); });
<td><label for="s1" title="The text token(s) or other fields to be found (lucene query, this is not full text!)">Full Search</label></td>
<td><label for="s2" title="Definition of function/variable/class">Definition</label></td>
<td><label for="s3" title="Usage of function/variable/class">Symbol</label></td>
<td><label for="s4" title="path or parts of it, no need to use dividers">File Path</label></td>
String selection = queryParams.getType();
if (d.getKey().equals(selection)) {
if (projects.size() != 0) {
String imgDir = cfg.getCssDir() + "/img/";
imgDir %>transparent_pixel.gif)
value="<%= cfg.getRequestedProjectsAsString()
alt="" src="<%= imgDir %>button2.png"/>
if (projects.size() != 0) {
SortedSet<String> pRequested = cfg.getRequestedProjects();
for (Entry<String,String> e : pMap.entrySet()) {
<option value="<%= e.getValue() %>"<%
%>><%= e.getValue() %></option><%
/* ---------------------- menu.jspf end --------------------- */