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


XAO-Web documentation  | view source Contained in the XAO-Web distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

Nothing.

AUTHOR

Top

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

Top

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


XAO-Web documentation  | view source Contained in the XAO-Web distribution.