Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 92663 invoked from network); 8 Apr 2010 23:06:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 23:06:36 -0000 Received: (qmail 51685 invoked by uid 500); 8 Apr 2010 23:06:36 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 51581 invoked by uid 500); 8 Apr 2010 23:06:36 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 51573 invoked by uid 99); 8 Apr 2010 23:06:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 23:06:36 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.218.220] (HELO mail-bw0-f220.google.com) (209.85.218.220) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 23:06:29 +0000 Received: by bwz20 with SMTP id 20so2075335bwz.12 for ; Thu, 08 Apr 2010 16:06:07 -0700 (PDT) Received: by 10.204.32.145 with SMTP id c17mr905318bkd.126.1270767967701; Thu, 08 Apr 2010 16:06:07 -0700 (PDT) Received: from [192.168.1.99] (034-082-045-062.dynamic.caiway.nl [62.45.82.34]) by mx.google.com with ESMTPS id d5sm4190394bkd.13.2010.04.08.16.06.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Apr 2010 16:06:07 -0700 (PDT) Message-ID: <4BBE615C.2050003@douma.nu> Date: Fri, 09 Apr 2010 01:06:04 +0200 From: Ate Douma User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0b1 Shredder/3.0.3pre MIME-Version: 1.0 To: Jetspeed Developers List Subject: Re: edit_defaults References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/08/2010 06:17 AM, David Sean Taylor wrote: > A minor complication to any portlets using the Velocity Bridge with > the edit_defaults auto switch, seems we need to patch the bridge in > GenericVelocityPortlet.java > And require another release of this bridge if we want to properly > support edit_defaults auto switch ..... Maybe we should consider upgrading bridges also to use portals-pom and release using Nexus. If we combine that will separated and independent release versions for each bridges component like we now do with APA, e.g. start defining versions like bridges-common-1.0.5, bridges-velocity-1.0.5 etc. in APA JIRA, and have them all have their separate svn trunk/branches/tags folder, we could turn out a bridges-velocity-1.0.5 (and at least bridges-common-1.0.5 for proper Maven-2 dependency resolution) pretty quickly. Doing the ground work starting with only bridges-common and bridges-velocity probably can be done in matter of hours. WDYT? > > > ### Eclipse Workspace Patch 1.0 > #P velocity-bridge > Index: src/java/org/apache/portals/bridges/velocity/GenericVelocityPortlet.java > =================================================================== > --- src/java/org/apache/portals/bridges/velocity/GenericVelocityPortlet.java (revision > 931771) > +++ src/java/org/apache/portals/bridges/velocity/GenericVelocityPortlet.java (working > copy) > @@ -129,7 +129,8 @@ > */ > public void doEdit(RenderRequest request, RenderResponse > response) throws PortletException, IOException > { > - super.doEdit(request, response); > + createPortletVelocityContext(request, response); > + super.doEdit(request, response); > } > > /** > @@ -142,7 +143,8 @@ > */ > public void doHelp(RenderRequest request, RenderResponse > response) throws PortletException, IOException > { > - super.doHelp(request, response); > + createPortletVelocityContext(request, response); > + super.doHelp(request, response); > } > > /** > > > On Wed, Apr 7, 2010 at 6:15 PM, David Sean Taylor wrote: >> I would like to propose a simple change for the 2.2.1 release, making >> this setting true by default in jetspeed.properties: >> >> # switch edit_defaults mode to edit mode automatically for portlets >> not supporting edit_defaults mode >> supported.portletmode.autoswitch.edit_defaults=true >> >> This will allow me to configure portlets for *all* users more easily, >> not just for the current user, which seems to be what i need as >> administrator 9 times out of 10 >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org