http://dev.helma.org/bugs/show_bug.cgi?id=686 Summary: Default macro parameter not passed to macro filter
Product: Helma
Version: CVS trunk
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Web Support
AssignedTo:
helma-dev@...
ReportedBy:
interface@...
If I assign a default value to a macro this value is not passed to a
consecutive filter inside the macro:
res.handlers.debug = {
macro_macro: function() {
res.write("");
},
filter_filter: function(value) {
res.write(value + "bar");
}
}
renderSkin(createSkin("<% debug.macro default=foo | debug.filter %>"));
// Result: nullbar
I would expect the default value to be passed to the filter_filter() method:
// Result: foobar
Is this the desired behaviour or a bug that should be fixed?
--
Configure bugmail:
http://dev.helma.org/bugs/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev