Barry King > Apache-Wyrd > Apache::Wyrd::ErrTag

Download:
Apache-Wyrd-0.98.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.98   Source  

NAME ^

Apache::Wyrd::ErrTag - Indicate errors on a Form Wyrd

SYNOPSIS ^

        <b>Name:</b><BASENAME::ErrTag trigger="name" /><br>
        <BASENAME::Input type="text" name="name" flags="required" />

DESCRIPTION ^

The ErrTag is an item which shows up when an error occurs. It is used for putting a placemarker, typically an asterisk, next to an input with an error in it's input.

HTML ATTRIBUTES

trigger

Alias of triggers.

triggers

Which errors to alter state for. May be a comma or whitespace separated list.

PERL METHODS

(format: (returns) name (arguments after self))

(scalar) default_tag (void)

Returns the HTML string which should be used as the default. Normally an asterisk spanned with the class "error".

(void) fire (void)

Method called to trigger the behavior of an error.

(arrayref) get_triggers (void)

Called by the Form parent to determine what error conditions will trigger this tag.

BUGS/CAVEATS/RESERVED METHODS ^

Reserves the _setup, _format_output, and final_output methods.

AUTHOR ^

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO ^

Apache::Wyrd

General-purpose HTML-embeddable perl object

Apache::Wyrd::Form

Build complex HTML forms from Wyrds

LICENSE ^

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.

syntax highlighting: