John,
Did you get any resolution on this?
I would like to make a custom tag to treat arrays as hashes
(associative arrays in Perl & PHP). This would simplify the repeated
use of
<@ASSIGN NAME="desired_row" VALUE="<@FILTER ARRAY="array"
EXPR="#col='expr'">">
@@desired_row[1,column]
to
<@HASHREF KEY="expr" [ARRAY="array"] [KEYCOL="col"] COL="column">
But for this to be worthwhile, my result needs to be usable in other
metatags.
On Thursday, June 23, 2005, at 07:54 AM, John McGowan wrote:
So... Are there known issues with using Custom Tags in expressions.
(ie, "If" Actions, expr="" attributes etc...) because It's not
something we've ever really done before, and now that I'm testing out
a couple of new custom tags that i will be doing that sort of thing
with i'm seeing some very strange behaviour. Like
"LEN(<@mycustomtag>)" where <@mycustomtag> returns an empty string,
LEN is returning "56" obviously wronge, If I assign the output of the
custom tag to a var and do a len on the var it returns 0 like it
should...
Just wanted to know if these issues were know about by anybody else or
if they are new and I should submit bug reports.
/John
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf