value — display value, providing no option to change it
The value
widget simply displays variables
from the values space and does not create any HTML
form element that would allow changing them.
Example: Basic value initialization and display
[value name=widget_testvalue set="Test Widget Value" hide=1] [widget name=widget_testvalue type=value]
The variable value is automatically encoded before display; to
avoid any processing before display, use widget realvalue
.
Interchange 5.9.0:
Source: code/Widget/value.widget
Lines: 13
# Copyright 2005-2007 Interchange Development Group and others # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. See the LICENSE file for details. # # $Id: value.widget,v 1.3 2007-03-30 23:40:58 pajamian Exp $ CodeDef value Widget 1 CodeDef value Description Show value CodeDef value Help Encoded with HTML::Entities::encode CodeDef value Routine sub { my $opt = shift; return $opt->{encoded} }