May 18, 2015; 23:45
Daniel Logue
Container tag not returning
Hi List,
The following refers to Lasso 8.6.
This is an interesting issue - it appears that anything inside of the 'run_children' of a custom container tag won't execute 'return' in the context of another (non-container) tag. Consider the following:
[
define_tag(
'inner',
-container
);
return(run_children);
/define_tag;
define_tag(
'outer'
);
inner;
return(true); // does not return
/inner;
return(false);
/define_tag;
outer(); // false (instead of true)
]
Even though outer() should return true, that line is actually being run by run_children; and it appears that run_children does not seem to realize that it's in the context of another tag, and does not return (and stop execution of) the outer tag.
If I was executing a built-in container tag, like inline, the outer() tag would return true.
Has anyone come across this, and is there any other technique I might be missing?
Thanks,
Daniel
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 19, 2015; 01:50
Ke Carlton
Re: Container tag not returning
May 19, 2015; 17:40
Daniel Logue
RE: Container tag not returning