Jean-Christian HASSLER > HTML-GUI > HTML::GUI::select

Download:
HTML-GUI-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

HTML::GUI::select - Create and control a select input for webapp

VERSION ^

Version 0.01

SELECT ^

The select widget is made for choose an item in limited list.

PUBLIC ATTRIBUTES ^

PUBLIC METHODS ^

new

isNewValue Description : return 1 if the value already exist in the widget's options else return 0

  parameter :
          the newValue (scalar) to test

setOptions

   Description : 
      Define the options of the select box.

                parameters :
                                $options is a ref to an array of hash ref
                                [{      value           =>      "myvalue",
                                                label           =>      "my label},
                                 {      value           =>      "myvalue2",
                                                label           =>      "my second label}]

getDefinitionData

  This method is the specialisation of the widget.pm method, refer to the widget.pm manual for more information.

getNudeHtml

   Description : 
      Return the html of the widget to be inserted in a <p> tag or a a table.

AUTHOR ^

Jean-Christian Hassler, <jhassler at free.fr>

BUGS ^

Please report any bugs or feature requests to bug-gui-libhtml-select at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-GUI-widget. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc HTML::GUI::widget

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 Jean-Christian Hassler, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: