Hi Hans, Two points: 1. Calm down, this is just a discussion. Telling Adrian to look at the code is perfectly valid, getting mad and making threats is not 2. You're not the first to mention it but I don't know where this idea of a veto came from, it doesn't exist. When required, the PMC as a group can make binding decisions but not individuals.
Regards Scott On 9/07/2010, at 12:17 AM, Hans Bakker wrote: > please check the code before you comment? > > i changed it because the comments were not shown by default anymore as > was originally. > > If you go that far , i will go so far and will use my veto and revert > the code that added this context stuff? 'true' in the properties file > should always show the widgets comments irrespective of the context. > > no wonder there aren't any significant changes in the last few > months .... > > Regards, > Hans > > > On Thu, 2010-07-08 at 04:47 -0700, Adrian Crum wrote: >> Then you should change the description, not the code. The intended behavior >> is: >> >> The properties setting is the default, it can be overridden in the web.xml >> file (application-wide setting), or in the context (screen-specific setting). >> >> -Adrian >> >> --- On Thu, 7/8/10, Hans Bakker <mailingl...@antwebsystems.com> wrote: >> >>> From: Hans Bakker <mailingl...@antwebsystems.com> >>> Subject: Re: svn commit: r961684 - >>> /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java >>> To: dev@ofbiz.apache.org >>> Date: Thursday, July 8, 2010, 3:13 AM >>> I agree with what the description of >>> the code says at the top. >>> >>> your setting makes that the widget.verbose by default is >>> false and the >>> messages are not shown. >>> >>> Regards, >>> Hans >>> >>> P.S. i missed the last comments, which one? >>> >>> On Thu, 2010-07-08 at 21:54 +1200, Scott Gray wrote: >>>> The context setting should override the >>> widget.properties setting, that is the only reason why we >>> have a context version of the setting. >>>> >>>> Please respond to this one, you haven't responded to >>> the discussion regarding your last commit yet. >>>> >>>> Regards >>>> Scott >>>> >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> On 8/07/2010, at 9:49 PM, hans...@apache.org >>> wrote: >>>> >>>>> Author: hansbak >>>>> Date: Thu Jul 8 09:49:57 2010 >>>>> New Revision: 961684 >>>>> >>>>> URL: http://svn.apache.org/viewvc?rev=961684&view=rev >>>>> Log: >>>>> make widgetBoundaryCommentsEnabled work as the >>> descriptions states: Widget boundary comments are enabled by >>> setting widgetVerbose true in the context Map, OR by setting >>> widget.verbose=true in widget.properties. And not let the >>> context override the widget.properties setting >>>>> >>>>> Modified: >>>>> >>> ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java >>>>> >>>>> Modified: >>> ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java >>>>> URL: >>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java?rev=961684&r1=961683&r2=961684&view=diff >>>>> >>> ============================================================================== >>>>> --- >>> ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java >>> (original) >>>>> +++ >>> ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java >>> Thu Jul 8 09:49:57 2010 >>>>> @@ -21,6 +21,7 @@ package org.ofbiz.widget; >>>>> import java.io.Serializable; >>>>> import java.util.Map; >>>>> import org.w3c.dom.Element; >>>>> +import org.ofbiz.base.util.Debug; >>>>> import org.ofbiz.base.util.UtilGenerics; >>>>> import org.ofbiz.base.util.UtilProperties; >>>>> >>>>> @@ -110,7 +111,7 @@ public class ModelWidget >>> implements Seri >>>>> */ >>>>> public static boolean >>> widgetBoundaryCommentsEnabled(Map<String, ? extends >>> Object> context) { >>>>> boolean >>> result = >>> "true".equals(UtilProperties.getPropertyValue("widget", >>> "widget.verbose")); >>>>> - if (context != null) >>> { >>>>> + if (result == false >>> && context != null) { >>>>> >>> String str = (String) >>> context.get(enableBoundaryCommentsParam); >>>>> >>> if (str != null) { >>>>> >>> result = "true".equals(str); >>>>> >>>>> >>>> >>> >>> -- >>> Ofbiz on twitter: http://twitter.com/apache_ofbiz >>> Myself on twitter: http://twitter.com/hansbak >>> Antwebsystems.com: Quality services for competitive rates. >>> >>> >> >> >> > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. >
smime.p7s
Description: S/MIME cryptographic signature