| Jifty documentation | view source | Contained in the Jifty distribution. |
Jifty::Web::Form::Link - Creates a state-preserving HTML link
Describes an HTML link that may be AJAX-enabled. Most of the computation of this comes from Jifty::Web::Form::Clickable, which generates Jifty::Web::Form::Links.
Link adds url and escape_label to the list of possible accessors
and mutators, in addition to those offered by
accessors in Jifty::Web::Form::Element.
Creates a new Jifty::Web::Form::Link object. Possible arguments to
the PARAMHASH are:
The URL of the link; defaults to the current URL.
Additional information about the link.
Target of the link. Mostly useful when specified as "_blank" to open a new window or as the name of a already existing window.
HTML escape the label and tooltip? Defaults to true
Any parameter which new in Jifty::Web::Form::Element can take.
Gets or sets the URL that the link links to.
Returns the string of the link, including any necessary javascript.
Render the string of the link, including any necessary javascript.
| Jifty documentation | view source | Contained in the Jifty distribution. |