Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 89998 invoked from network); 15 Apr 2008 18:02:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 18:02:09 -0000 Received: (qmail 96310 invoked by uid 500); 15 Apr 2008 18:02:08 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 96292 invoked by uid 500); 15 Apr 2008 18:02:07 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 96281 invoked by uid 99); 15 Apr 2008 18:02:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 11:02:07 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rmcruz@gmail.com designates 64.233.170.184 as permitted sender) Received: from [64.233.170.184] (HELO rn-out-0910.google.com) (64.233.170.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 18:01:25 +0000 Received: by rn-out-0910.google.com with SMTP id a46so1010735rne.9 for ; Tue, 15 Apr 2008 11:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Q+YVUPRK/bwb7nWEH61hoZ//7VqpiDyAqdXEQHphsg0=; b=ocN395o8fD6dMWl3f0bMwLiKuHV52LOPw74fpOG5y0/mB5cZcjSQxcGLvJ00niqHAojlU0vxCfkxbiZI+QuE3B/Ncm424Ova0fG1OyOQTIGx8umaLY5x6welhBtI6TPZH+ZqYQtEALLgyZirq7VyLFZq9MrYZ2Zt97RkAmTdE/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CRqdJUtgZr9moNIpdWZ70y1d60se2zhF5xI17hmtdU//sjJJPffEHQKMxt3jWRl7rXb4v9h4stNJlJMVZwVTg/ie/CNp5/VVA7u1a8KhHBh4oKsspbRLXyKyNrK/HRqW40yDdfZlgS1YRDCYqW8NJYqy/6ajJy5T5yJARgkkJXI= Received: by 10.114.155.1 with SMTP id c1mr5344525wae.174.1208282494425; Tue, 15 Apr 2008 11:01:34 -0700 (PDT) Received: by 10.114.166.3 with HTTP; Tue, 15 Apr 2008 11:01:34 -0700 (PDT) Message-ID: <76e35b400804151101j34e6f188v7d986ad3facd324e@mail.gmail.com> Date: Tue, 15 Apr 2008 19:01:34 +0100 From: "Raquel Cruz" To: "Jetspeed Users List" Subject: Re: Drag and drop protlets In-Reply-To: <94cd6be60804150927x7346415fr83e041c232dc0e0c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6346_32501458.1208282494418" References: <76e35b400804150756g7e60aac9g497b875c0a9fb133@mail.gmail.com> <94cd6be60804150802q66b9e978q69e0450b6df5ab81@mail.gmail.com> <76e35b400804150818p700fb076y7db4ce8bb2e15adc@mail.gmail.com> <94cd6be60804150854m963afb8xb63277a3781df387@mail.gmail.com> <94cd6be60804150927x7346415fr83e041c232dc0e0c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6346_32501458.1208282494418 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Your second option crash my tomcat :s 2008/4/15 Andrew Strickland : > @Dan: You can, a couple of different ways. You could modify the > Jetspeed servlet that is mapped to /portal/* and instead redirect it > to /desktop/* instead. That way all requests starting with /portal > would instead go to /desktop...the key being the /* at the end of the > mapping so the rest of the URL is unchanged. > > Or, you can do like we did and create a custom class that extends > org.apache.jetspeed.pipeline.valve.AbstractValve. Then have that > class inspect the URLs being piped through it and modify them to > instead go to /desktop, again leaving the rest of the URL unchanged. > Then you would add an entry into your /etc/assembly/pipelines.xml for > that new valve class like: > > > class="mil.disa.disnoss.desktop.impl.PortalDesktopRedirectValveImpl"> > > index="0">/desktop > > index="1">/portal > > index="2">true > > > We then do a fairly complicated set of processing to determine whether > or not the URL with the parameters provided needs to be redirected, if > so we modify the URL, and then pass the request on to the next valve. > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 15, 2008 at 11:54 AM, Andrew Strickland > wrote: > > You can specify the layout and decorations of the desktop mode in the > same manner that you specified the portal mode layout and decorations. > > > > > > > > > > > > On Tue, Apr 15, 2008 at 11:18 AM, Raquel Cruz wrote: > > > > > Hi Andrew > > > > > > Thanks but I've got another doubt: can't I have drag and drop support > in > > > portal in spite of desktop? > > > I'm doing this to a kind of prototype demo and I want to show to > client that > > > it's possible to reorganize portlets with drag and drop but I still > want the > > > layout I've defined and in desktop mode the layout becames diferent. > Or can > > > I edit desktop mode to became similiar to portal mode? > > > > > > Thanks again > > > Raquel > > > > > > 2008/4/15 Andrew Strickland : > > > > > > > > > > > > > > > > Jetspeed 2 offers this...out of the box, I believe. You need to > make sure > > > > you're in "*desktop*" mode and not "portal" mode. Desktop mode is > the > > > > AJAX > > > > mode where drag and drop is enabled and all page refreshes are done > via > > > > AJAX. You'll know you're in "desktop" mode if the URL you're going > to is > > > > like "http://localhost/ > /*desktop*/". > > > > > > > > > > > > > > > > On Tue, Apr 15, 2008 at 10:56 AM, Raquel Cruz > wrote: > > > > > > > > > I'm trying to develop an web portal with JetSpeed 2 and one of its > > > > > features > > > > > is drag and drop to move portlets in real time. I would like to > have > > > > that > > > > > feature in my webportal but I can't understand how to implement > it. > > > > > > > > > > Tkanks anyway > > > > > Raquel > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-user-help@portals.apache.org > > ------=_Part_6346_32501458.1208282494418--