[Rt-commit] r6477 - rt/branches/3.6-RELEASE/html/Elements

clkao at bestpractical.com clkao at bestpractical.com
Tue Nov 21 07:17:24 EST 2006


Author: clkao
Date: Tue Nov 21 07:17:23 2006
New Revision: 6477

Modified:
   rt/branches/3.6-RELEASE/html/Elements/MyRT

Log:
Allow arguments from component porlets.

Modified: rt/branches/3.6-RELEASE/html/Elements/MyRT
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/MyRT	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/MyRT	Tue Nov 21 07:17:23 2006
@@ -89,7 +89,7 @@
     if ($type eq 'component') {
 	my $name = $entry->{name};
 	# security check etc.
-	$m->comp ($name);
+	$m->comp ($name, %{$entry->{arguments} || {}});
     }
     elsif ($type eq 'system') {
 	$m->comp ('/Elements/ShowSearch', Name => $entry->{name});


More information about the Rt-commit mailing list