portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raquel Cruz" <rmc...@gmail.com>
Subject Re: Drag and drop protlets
Date Wed, 16 Apr 2008 09:48:46 GMT
Hi

What and where is the implementation that makes drag and drop in desktop
mode? Could I aplly it to portal mode?


2008/4/15 Raquel Cruz <rmcruz@gmail.com>:

> Your second option crash my tomcat :s
>
>
> 2008/4/15 Andrew Strickland <strickla@gmail.com>:
>
> > @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:
> >
> > <bean id="portalDesktopRedirectValve"
> >
> >  class="mil.disa.disnoss.desktop.impl.PortalDesktopRedirectValveImpl">
> >             <!-- /desktop pipeline -->
> >             <constructor-arg
> > index="0"><value>/desktop</value></constructor-arg>
> >             <!-- /portal pipeline -->
> >             <constructor-arg
> > index="1"><value>/portal</value></constructor-arg>
> >             <!-- Setting true will redirect all pages.  Set false to
> > just
> > redirect desktop pages -->
> >             <constructor-arg
> > index="2"><value>true</value></constructor-arg>
> > </bean>
> >
> > 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 <strickla@gmail.com>
> > 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 <rmcruz@gmail.com>
> > 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 <strickla@gmail.com>:
> > > >
> > > >
> > > >
> > > >
> > > > > 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/
> > <your-portal-context>/*desktop*/<rest-of-url>".
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Apr 15, 2008 at 10:56 AM, Raquel Cruz <rmcruz@gmail.com>
> > 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
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message