[Petal] Petal 0.84 released
Jean-Michel Hiver
jhiver at mkdoc.com
Mon Feb 10 12:33:47 GMT 2003
On Sun 09-Feb-2003 at 08:21:07PM -0500, Daniel Fisher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was wondering if folks have tried using Petal 0.84 to generate Petal
> templates from other Petal templates.
>
> I'm using a technique (which might have been a syntactical violation)
> under 0.83 which doesn't work under 0.84.
>
> <input type='hidden'
> TAL:attributes="name configuration/get_identity_field_name;"
> petal:attributes="value
> entry/${configuration/get_identity_field_name};"
> />
>
> Under 0.83 output:
> <input petal:attributes="value entry/id;" type="hidden" name="id" />
>
> Under 0.84 this doesn't work and complains ...
> 'Cannot find value for name="configuration/get_identity_field_name"?>:
> get_identity_field_name"?> cannot be retrieved
I am not sure to understand what's going wrong... If you could send a
little script and sample templates, both AS MINIMALISTIC as possible,
to demonstrate the incorrect behavior it would greatly help!
> > - Fixed entities not being encoded in static attributes.
> > Kurt's analysis seemed to be the right one so it was very easy
>
> fix?
Maybe. But we can't just remove that fix, because it actually fixes
things :-) So I've got to add a test to the test suite and make it so
that everything in the test suite passes...
Cheers,
--
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/
More information about the Petal
mailing list