Martin Gainty wrote:
this is the applicable code in my copy of optiontransferselect.ftl
<#if parameters.doubleListValue?exists><#t/>
<#assign doubleItemValue =
stack.findString(parameters.doubleListValue) /><#t/>
<#else><#t/>
<#assign doubleItemValue = stack.findString('top') /><#t/>
</#if><#t/>
so..supposedly the parameters.doubleListValue has to exist before
stack.findString uses it
D'oh! Yes, this is what mine has, I just hadn't gotten around to
looking at it, yet :-)
What are all those <#t/> tags for?
So we know there is a problem with the freemarker libraries, and that
it's either in ?exists, or stack.findString(), or in the assumption that
the first being true implies the second will always produce a valid
result. Is it true that if it has a value that value must be
extractable as a string? The freemarker docs suggest that maybe
?has_content would be better than ?exists ...
I didn't realize just how long that stack trace was--sorry for including
it all :-)
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]