Advanced EVAL in commando
Submitted by Sunday, 12 September, 2004 - 12:12
on
Very common is that some control in commando is populated using EVAL attribute, for example to populate "Source file" control, write EVAL="buffer.getPath()" as an attribute of the FILE_ENTRY element (BTW, commando.dtd is wrong and says that no such element is allowed, but all works).
What if I want to write some EVAL-expression that has quotes inside, for example buffer.getPath().endsWith(".java") ? buffer.getPath() : "" ? Can anybody help me?