UR::Object::View::Default::Html(3) represent object state in HTML format

SYNOPSIS


#####

package Acme::Product::View::OrderStatus::Html;
class Acme::Product::View::OrderStatus::Html {
is => 'UR::Object::View::Default::Html',
};
sub _generate_content {
my $self = shift;
my $subject = $self->subject;
my $html = ...
....
return $html;
}
#####
$o = Acme::Product->get(1234);
$v = $o->create_view(
perspective => 'order status',
toolkit => 'html',
aspects => [
'id',
'name',
'qty_on_hand',
'outstanding_orders' => [
'id',
'status',
'customer' => [
'id',
'name',
]
],
],
);
$html1 = $v->content;
$o->qty_on_hand(200);

$html2 = $v->content;

DESCRIPTION

This class implements basic HTML views of objects. It has standard behavior for all text views.