|
|
| |
Jifty::Web::Form::Link(3) |
User Contributed Perl Documentation |
Jifty::Web::Form::Link(3) |
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:
- url (optional)
- The URL of the link; defaults to the current URL.
- tooltip
- Additional information about the link.
- target
- Target of the link. Mostly useful when specified as "_blank" to
open a new window or as the name of a already existing window.
- escape_label
- HTML escape the label and tooltip? Defaults to true
- anything from Jifty::Web::Form::Element
- 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.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |