add templates to the mix. Product macro template scan and update done

This commit is contained in:
Colin Kuskie 2008-05-08 03:20:42 +00:00
parent 4cf45c289c
commit e39ae106fd
2 changed files with 37 additions and 0 deletions

View file

@ -61,6 +61,24 @@ my $lProperties1 = {
my $layout1 = $root->addChild($lProperties1);
my $sProperties1 = {
className => 'WebGUI::Asset::Snippet',
url => 'oneSnippet',
title => 'One Snippet',
snippet => q|^Product('South Beach'); ^Product(i-mG8KKBPuPiUA0qq04byQ);|,
};
my $snippet1 = $root->addChild($sProperties1);
my $tProperties1 = {
className => 'WebGUI::Asset::Template',
url => 'oneTemplate',
title => 'One Template',
snippet => q|^Product('Slingshot Dragonfly'); ^Product('jqRw23vjpIDOYuhaFHoBkA');|,
};
my $template1 = $root->addChild($tProperties1);
$tag->commit;
diag "Done.";