DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29637>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29637 Default property value not replace when entrered a conditinal block ------- Additional Comments From [EMAIL PROTECTED] 2004-06-17 10:08 ------- There is no problem with properties being inmutable. It is just that you have to think about your code the other way around. I.e.: 1) First evaluate your conditional and set the value of the property if the condition is true. 2) Just before you use the value of the property for the first time set the property to its default value. If the property was already set, the second <property/> will have no effect, otherwise you get the default. So the only problem here is that you have to change your frame of mind when working on a declarative (non-imperative) language. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]