alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jforum example source code file (SearchBox.jsp)

This example jforum source code file (SearchBox.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jforum tags/keywords

advanced, edit, edit, provides, provides, search, search, view, view

The jforum SearchBox.jsp source code

<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<%-- Provides a simple searchbox that can be easily included anywhere
     on the page --%>

<form action="
  <div>
  <%-- search images --%>
  <input onblur= "if( this.value == '' ) { this.value = 'Search'}; " 
         onfocus="if( this.value == 'Search' ) { this.value = ''}; "
         type="text" value="Search" name="query" size="20" 
         accesskey="f"></input>
  </div>  
  <div id="searchboxMenu" style='visibility:hidden;'>
    <div>
      <a href="javascript://nop/" 
         onclick="SearchBox.navigation( '<wiki:Link format="url" page="__PAGEHERE__"/>','' );return false;"
         title="View the selected page">view</a> 
      | 
      <a href="javascript://nop/" 
         onclick="SearchBox.navigation( '<wiki:Link format="url" context="edit" page="__PAGEHERE__"/>','' );return false;"
         title="Edit the selected page">edit</a> 
      | 
      <a href="javascript://nop/" 
         onclick="SearchBox.navigation( '<wiki:BaseURL />Search.jsp?query=__PAGEHERE__','' );return false;"
         title="Advanced Search">find</a> 
      [ f ]
    </div>
    <div id="recentSearches" > 
</div> </form>

Other jforum examples (source code examples)

Here is a short list of links related to this jforum SearchBox.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.