The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache::Wyrd::View - Show the attributes of an enclosing Wyrd

SYNOPSIS

        <BASENAME::Message text="Hello, World!" color="#ffffff">
                <BASENAME::View text="name" />
        </BASENAME::Message>
        
        <BASENAME::Message name="Hello, World!" color="#ffffff">
                <BASENAME::View>
                        <p color="$:color">$:name</p>
                </BASENAME::View>
        </BASENAME::Message>

DESCRIPTION

The View Wyrd is simply a display placemarker for the attributes of the enclosing wyrd. If invoked with no enclosing text, it will replace itself with the value of that one of its parent's attribute indicated under the "attribute" attribute. If it encloses some text, that text will be treated as a "Setter" style template (see Apache::Wyrd::Interfaces::Setter).

HTML ATTRIBUTES

attribute

The name of the attribute it is to display

PERL METHODS

NONE

BUGS/CAVEATS/RESERVED METHODS

Reserves the _setup method.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

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

See LICENSE under the documentation for Apache::Wyrd.