On 04-11-2008 at 18:45:10 Christian Welzel <[EMAIL PROTECTED]> wrote:

Now it generates this:
Core_Helper_LinkHelper::getInstance()->createUrl('folder',array('goto'=>$ctx->{phptal_path($ctx->ud, 'id')},))

what leads to the runtime error: Unable to find path 0 in current scope.
"0" is the value of ${ud/id}.

Yes, because path "${ud/id}" is supposed to do exactly that. If ud/id does not evaluate to a variable name, then you should use "ud/id".

Compare <p tal:content="ud/id">, <p tal:content="${'ud'}/${'id'}"> and <p tal:content="${ud/id}">.

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to