Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Portal Server 6 2005Q1 Technical Reference Guide 

Chapter 71
Miscellaneous Tags in search.tld

All of the following normal tags in the search.tld file have a bodycontent of empty.

Table 71-1  search.tld Normal Tags with Attributes  

Tag Name

Description

Attributes

getSearchString

Returns a string with a the search query being executed. Good for debugging.

id (optional)

scope (optional)

getCategory

Returns a string with the current category name or else set to root.

id (optional)

scope (optional)

getFirstHit

Returns the starting hit being displayed.

id (optional)

scope (optional)

getSessionID

Returns a string with a user’s session id. It has no value unless previously set.

id (optional)

scope (optional)

getQuery

Returns the query string; returns an empty string if not set.

id (optional)

scope (optional)

getViewHits

Returns viewHits, an integer that defines the maximum number of hits returned (range 0-100). The default value is 8 if not set or set outside of range.

id (optional)

scope (optional)



Previous      Contents      Index      Next     


Part No: 817-7696.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.