Am Dienstag 04 November 2008 schrieb Kornel Lesiński:
> On 03-11-2008 at 23:36:55 Christian Welzel <[EMAIL PROTECTED]> wrote:
>
> I've improved parsing of interpolated TALES paths. Please check SVN
> version of PHPTAL and see if that resolves your problem.

Ok, now the template compiles fine but it does not, what i want it to do :)

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}.

I think, what i want to get is:
Core_Helper_LinkHelper::getInstance()->createUrl('folder',array('goto'=>phptal_path($ctx->ud,
 'id'),))

But i'm not sure, if i'm on the right way.
Yesterday i had another idea: prefix the "value" part with "string:" before 
feeding it to phptal_tales()
but i didnt have time so far. Will try this soon.


-- 
 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/key.asc
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

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

Reply via email to