Project

Profile

Help

An ixsl:call extension element would be most useful

Added by Eric van der Vlist over 10 years ago

Currently, calling a JavaScript method is only possible through the ixsl:call function and to call a method that does an action from which the return value is meaningless we have to "consume" this value (setting a variable is not enough since the method will not be called if we don't use the variable).

This leads to unnecessary hacks such as outputting the result in a message of using it in an expression where it will not be used (and this is risky since you have to be more clever than the optimizer) or setting a dummy property, ....

An ixsl:call extension element would be perfect for this kind of situation!

Thanks,

Eric


Please register to reply