Re: [Formsess-devel] Fix: Smarty-vars & functions as tag-attributes:
Status: Beta
Brought to you by:
mrkatana
|
From: David <da...@df...> - 2004-02-03 17:07:51
|
Hello,
just tried the latest CVS version, couldn't believe it, it's really
working. :-D
Found a few serious bugs in my implentation, so here's the second
version of the patch, forget the first one.
I had to change getAttributeValue(). It must not use
smartyVariableRemoveDelimiter() because that prevents glueAttrbibutes()
from handling the smarty vars & functions correctly..
It might not be the cleanest way, we could probably move some stuff from
glueAttributes() to getAttributeValue() but it works and lets you do
things like:
<fs:input name="whatever" value="{$myvar|myModifier}" />
greets
David
|