I managed to figure out why.
It looks like defining the spry namespace inside the top level HTML tag doesn't 
have any impact.
But defining it at the level of let's say a macro that contains some spry code 
So what works is:
<div metal:define-macro="SomeMacro" xmlns:spry="http://ns.adobe.com/spry"; >
 <div spry:region="someSpryRegion">
   <p spry:if="'{someRegion::element}' != 'hello'">{someSpryRegion::element}</p>

I have to say this could be better explained in the manual.

On Wednesday, 30 September, 2009, at 07:34AM, "Damian Kobylinski" 
<damia...@me.com> wrote:
>Hi there
>I am trying to migrate my pages from a pervious version of TAL.
>The problem I have is the inclusion of SPRY in my pages.
>The previous version has no problem with SPRY attributes.
>But the latest version is telling me that there is no namespace for attribute 
>So, I found the DTD entry that validates SPRY:
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
><html xmlns="http://www.w3.org/1999/xhtml"; 
>It still says "There is no namespace declared for prefix of attribute 
>spry:region of element ...".
>No idea why this causes a problem.
>There is absolutely no help about combining multiple namespaces inside the 
>same HTML block.
>I need this to work:
><input type="text" value="${phptal_var}" spry:if="i == 1" />
>PHPTAL mailing list

PHPTAL mailing list

Reply via email to