Sun Java System Portal Server 7.1 Technical Reference

Chapter 65 Miscellaneous Tags in search.tld

This chapter lists the other available tags and their corresponding attributes in search.tld file. All these tags in the search.tld file have a bodycontent of empty.

search.tld Normal Tags with Attributes

Table 65–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) 

getDatabase 

Returns the database being searched. 

id (optional) 

scope (optional) 

getMaximumPages 

Returns the maximum number of pages from any search executed in the current search context. Useful for building the previous or next page iterator. 

id (optional) 

scope (optional)