PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#140 - Conditional opt:attribute does not hide the attribute, if the selected value is empty
Opened by Zyx (Zyx) - Friday, 27 November 2009, 23:34 GMT-7
Last edited by Zyx (Zyx) - Friday, 27 November 2009, 23:35 GMT-7
Consider the following code:
<opt:value test="$val1 == 'foo'">a</opt:value>
<opt:value test="$val1 == 'bar'">b</opt:value>
Let's say that `$val1` is 'joe'. As you can see, no condition is met and opt:attribute should not add the "class" attribute to the tag in this case. However, the output code is:
Friday, 27 November 2009, 23:35 GMT-7
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 270