Form::Control::displaylink(3pm)
NAME
Embperl::Form::Control::displaylink - A control to display links inside
an Embperl Form
SYNOPSIS
{
type => 'displaylink',
text => 'blabla',
link => ['ecos', 'bb5000'],
href => ['http://www.ecos.de', 'http://www.bb5000.info']
}
DESCRIPTION
- Used to create a control which displays links inside an Embperl Form.
See Embperl::Form on how to specify parameters. - PARAMETER
- type
- Needs to be set to 'displaylink'.
- text
- Will be used as label for the text display control.
- link
- Arrayref with texts for the links that should be shown to the user
- href
- Arrayref with hrefs
- open
- Arrayref, if a value is given for the link, the value will be used as
javascript function which is executed onclick. href will be pass as
argument. - target
- Arrayref with targets
Author
G. Richter (richter@dev.ecos.de)
See Also
- perl(1), Embperl, Embperl::Form