did you try
<map:call function="admin_category_{../1}"/>greets, volker
Am 21.04.2005 um 17:11 schrieb Peter Kr�pfl:
Hi,
I would want do something like this
<map:match pattern="admin/category/*"> <map:act type="auth-protect"> <map:parameter name="handler" value="user"/> <map:call function="admin_category_{1}"/> </map:act> </map:match>
to call flow functions. e.g url: admin/category/new --> flow function: admin_category_new()
Unfortunately I get the following error:
Resource not found Function "javascript:admin_category_()" not found
Could somebody please explain to me why this error happens?
if I do it without *, {1} like this:
<map:match pattern="admin/category/new"> <map:act type="auth-protect"> <map:parameter name="handler" value="user"/> <map:call function="admin_category_new"/> </map:act> </map:match>
everything works fine.
Since I have many functions like admin_category_new() my sitemap contains lots
of (possibly) redundant information. It would be nice if my sitemap was shorter.
Thanks, Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
