SearchForm

Struts config
<form-bean
  name="com.escenic.search.SearchForm"
  type="com.escenic.search.SearchForm"/>
Action Error

This are the errors returned by the validate method found on this action form.

errors.required

(On the pageLength property.) when a value is missing for this property

errors.integer

(On the pageLength property.) when the value of this property can't be converted to a integer

errors.minvalue

(On the pageLength property.) when the value of this property is less or equal to '0'

errors.required

(On the pageNumber property.) when a value is missing for this property

errors.integer

(On the pageNumber property.) when the value of this property can't be converted to a integer

errors.minvalue

(On the pageNumber property.) when the value of this property is smaller than '1'

errors.required

(On the pageLength property.) when a value is missing for this property

errors.integer

(On the pageLength property.) when the value of this property can't be converted to a integer

errors.minvalue

(On the pageLength property.) when the value of this property is less or equal to '0'

SearchForm inherits properties from:

  • com.escenic.tools.struts.ValidateForm

It also has the following properties of its own:

pageLength
String

The number of search hits to show on each result page.; default value=10

pageNumber
String

the page in the search result we want to display.; default value=1

searchEngineName
String

The name of the search engine to use for search. When no name is given the default search engine configured by the system will be used.; default value='null'

publicationId
String

The publication to search; default value='null'