17 Apr 14:56
Petal namespace
From: Alexander mcLander <mclander@...>
Subject: Petal namespace
Newsgroups: gmane.comp.lang.perl.modules.petal
Date: 2007-04-17 12:58:11 GMT
Subject: Petal namespace
Newsgroups: gmane.comp.lang.perl.modules.petal
Date: 2007-04-17 12:58:11 GMT
Hi, friends.
Is it posible to make additional parameter for Petal constructor.
When Petal used in portlets it's two not useful ways:
1. Specifing namespace in first tag of portlet
2. Usinng "petal:" name space instead of "tal:"
Is it posible to specify namespaces in constructor?
For sample:
my $portlet = new Petal (file=>'portlet.xml', namespace => 'tal');
print $portlet->process ({name => 'Ivan'});
RSS Feed