Name

value — display value, providing no option to change it

DESCRIPTION

The value widget simply displays variables from the values space and does not create any HTML form element that would allow changing them.

EXAMPLES

Example: Basic value initialization and display

[value name=widget_testvalue set="Test Widget Value" hide=1]

[widget name=widget_testvalue type=value]
Example in action:
              

Test Widget Value
            

NOTES

The variable value is automatically encoded before display; to avoid any processing before display, use widget realvalue.

AVAILABILITY

value is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

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} }

AUTHORS

Interchange Development Group

SEE ALSO

values-space(7ic), evalue(7ic), realvalue(7ic), text(7ic), textarea(7ic), scratch(7ic), Promiscuous(7ic), ValuesDefault(7ic)

DocBook! Interchange!