Andrew Maltsev
and 1 contributors

NAME

XAO::DO::Web::Clipboard - clipboard value retrieval object.

SYNOPSIS

Currently is only useful in XAO::Web site context.

DESCRIPTION

Clipboard object is based on Action object (see XAO::DO::Web::Action) and therefor what it does depends on the "mode" argument.

For each mode there is a separate method with usually very similar name. The list below lists mode names and their method counterparts.

'set' => clipboard_set (%)

Sets a value in the clipboard. Example:

 <%Clipboard mode='set' name='foo' value='bar'%>

If there is no 'value' argument it puts 'undef' into the clipboard, but does not remove the named record.

'show' => clipboard_show (%)

Displays clipboard parameter with the given "name". Example:

 <%Clipboard mode="show" name="username" default="aa@bb.com"%>

Would display whatever is set in the Clipboard for variable "username" or "aa@bb.com" if it is not set.

EXPORTS

Nothing.

AUTHOR

Copyright (c) 2003-2005 Andrew Maltsev

<am@ejelta.com> -- http://ejelta.com/xao/

Copyright (c) 2001 XAO Inc.

Andrew Maltsev <am@xao.com>, Marcos Alves <alves@xao.com>.

SEE ALSO

Recommended reading: XAO::Web, XAO::DO::Web::Page.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 101:

You forgot a '=back' before '=head1'