Alexander mcLander | 17 Apr 14:56
Favicon

Petal namespace

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


Gmane