Reaction::UI::Widget::URI - A hyperlink reference by URI value
This widget allows a layout template to render a hyperlink with either a simple string or another viewport as the contents of the link.
widget fragment is rendered, the
uri argument will be set to the return value of the
uri method on the viewport. The layout will render a hyperlink with the
uri as value of the
href attribute and the
display_fragment fragment as content of the element.
This will render nothing if the viewport doesn't return true when
has_display is called on it. If it has a
display defined and it is a viewport, the
_ argument will be set to it and the
viewport fragment (inherited from Reaction::UI::Widget will be rendered. If the
display is not a viewport, the
string_value argument will be set and the
display_string layout will be rendered.
display_fragment is only implemented in the widget class.
Only implemented in the layout set. This will simply output the value of the
string_value argument as content of the hyperlink element.
This layout set will look for a widget called
URI in the
See Reaction::Class for authors.
See Reaction::Class for the license.