hdp
Tag goToPage


This JSF Tag is used to render a text box along with either a submit button, hyperlink, or image link. The button, hyperlink, or image link is used to submit the request and navigate to the page specified in the text box. The decision to render the button, hyperlink, or image link relies on the following rule:

If property 'imgSrc' is specified, then an image link (<img> tag with enclosing <a> tag) is rendered. Otherwise, if property 'linkLabel' is specified, the hyperlink (text with enclosing tag <a>) is rendered. If none of these are specified, the button is rendered by default.

Unless otherwise specified, all attributes accept static values or EL expressions.



Tag Information
Tag Classorg.hdpagination.web.jsf.tag.GoToPageTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagiDefinitionIdtruetruejava.lang.StringBean identifier of the corresponding PaginateDefinition instance declared in Spring application context.
invalidPageAlertfalsefalsejava.lang.StringThe alert message which is displayed when an invalid integer number is typed in the text box.
exceedMaxPageAlertfalsefalsejava.lang.StringThe alert message which is displayed when page number typed in the text box is greater than total pages.
buttonLabelfalsefalsejava.lang.StringLabel of the submit button. The default value is "Go". This property will not take effect if property 'imgSrc' or 'linkLabel' is set and the button is not rendered in this case.
linkLabelfalsefalsejava.lang.StringThe text label for the hyperlink if rendered. This property will not take effect if the property 'imgSrc' is set.
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied when the element (button, hyperlink, or image link) is rendered.
stylefalsefalsejava.lang.StringSpecifies an inline style for the element (button, hyperlink, or image link).
tabindexfalsefalsejava.lang.StringPosition of the element (button, hyperlink, or image link) in the tabbing order for the current document. This value must be an integer between 0 and 32767.
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for the element (button, hyperlink, or image link).
accesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element (button, hyperlink, or image link).
textStyleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied to the text box. Refer to attribute 'class' in <input> HTML tag.
textStylefalsefalsejava.lang.StringSpecifies an inline style for the text box. Refer to attribute 'style' in <input> HTML tag.
textTabindexfalsefalsejava.lang.StringPosition of text box in the tabbing order for the current document. This value must be an integer between 0 and 32767. Refer to attribute 'tabindex' in <input> HTML tag.
textTitlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for the text box. Refer to attribute 'title' in <input> HTML tag.
textSizefalsefalsejava.lang.StringThe number of characters used to determine the width of the text box. If not specified, the default value is "2". Refer to attribute 'size' in <input type="text" > HTML tag.
textMaxlengthfalsefalsejava.lang.StringThe maximum number of characters that may be entered in the text box. Refer to attribute 'maxlength' in <input type="text" > HTML tag.
textAccesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element (text box). Refer to attribute 'accesskey' in <input> HTML tag.
imgSrcfalsefalsejava.lang.StringAbsolute or relative URL of the image to be displayed for the image link. If specified, the image link will be rendered. Otherwise, hyperlink (if property 'linkLabel' is specified) or button is rendered. Refer to attribute 'src' in <img> HTML tag.
imgWidthfalsefalsejava.lang.StringSpecifies the width (pixels %) of the image. Refer to attribute 'width' in <img> HTML tag.
imgHeightfalsefalsejava.lang.StringSpecifies the height (pixels %) of the image. Refer to attribute 'height' in <img> HTML tag
imgStyleClassfalsefalsejava.lang.StringSpecifies a classname for the image. Refer to attribute 'class' in <img> HTML tag.
imgStylefalsefalsejava.lang.StringSpecifies an inline style for the image. Refer to attribute 'style' in <img> HTML tag.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.