-
-
16 Apr 2014 18:33:32 UTC
- Distribution: Embperl
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (66 / 30 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (768.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Gerald Richter <richter at embperl dot org>
- Dependencies
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Embperl::Form::Control::display - A text display control inside an Embperl Form
SYNOPSIS
{ type => 'display', text => 'blabla', hidden => 1, name => 'foo', split => 1 }
DESCRIPTION
Used to create a display only control inside an Embperl Form. See Embperl::Form on how to specify parameters.
PARAMETER
type
Needs to be set to 'display'.
text
Will be used as label for the text display control.
value
value to display. If not given $fdat{<name>} will be used. If the data given within value is an arrayref, every element will be displayed on a separate line.
hidden
If set, an appropriate hidden input field will be created automatically.
name
Will be used as name for the hidden input field.
split
Splits the value into an array at \t if set and displays every array element on a new line.
splitlines
Splits the value into an array at \n if set and displays every array element on a new line.
value2text
Will run the value prefixed with the given paramenter through convert_text, so it can be translated.
Author
G. Richter (richter at embperl dot org), A. Beckert (beckert@ecos.de)
See Also
perl(1), Embperl, Embperl::Form
Module Install Instructions
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm Embperl
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.