[Petal] Petal namespace

Alexander mcLander mclander at list.ru
Tue Apr 17 13:58:11 BST 2007


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'});



More information about the Petal mailing list