Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Reaction::UI::Widget::User3Contributed Perl DocumeReaction::UI::Widget::URI(3)

NAME
       Reaction::UI::Widget::URI - A hyperlink reference by URI	value

DESCRIPTION
       This widget allows a layout template to render a	hyperlink with either
       a simple	string or another viewport as the contents of the link.

FRAGMENTS
   widget
       Before the "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.

   display_fragment
       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.

   display_string
       Only implemented	in the layout set. This	will simply output the value
       of the "string_value" argument as content of the	hyperlink element.

LAYOUT SET
	 share/skin/base/layout/uri.tt

       This layout set will look for a widget called "URI" in the
       "widget_search_path".

AUTHORS
       See Reaction::Class for authors.

LICENSE
       See Reaction::Class for the license.

perl v5.32.0			  2010-10-29	  Reaction::UI::Widget::URI(3)

NAME | DESCRIPTION | FRAGMENTS | LAYOUT SET | AUTHORS | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Reaction::UI::Widget::URI&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help