[opencms-dev] CmsLinkManager modification

Jason Trump jason.trump at brulant.com
Sun Aug 21 17:15:30 CEST 2005


Here is a question to any OpenCms developers on the list:

I am working on a modification to the OpenCms source that makes
CmsLinkManager configurable.

Basically, I am creating an interface, I_CmsLinkManager, which
CmsLinkManager implements, and then I want to add a configuration
setting that allows you to specify a different implementation of
I_CmsLinkManager if you want to.

First:  Does this sound like the right approach, if I want to change the
way <cms:link> tags are rendered?

Second:  Where should I add the configuration option?  I was thinking
opencms-system.xml seemed like the best place.

Thanks
jason

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> bounces at opencms.org] On Behalf Of Jason Trump
> Sent: Sunday, August 21, 2005 11:01 AM
> To: The OpenCms mailing list
> Subject: RE: [opencms-dev]CmsLinkManager, OpenCms / WebLogic portal
> integration
> 
> Content selectors are... "almost" working.  This is one of the things
we
> are actively working on, I think it may take us a couple of weeks to
get
> it right.  Right now, only <cm:getNode>, <cm:getProperty>, and
> ShowPropertyServlet are 100% functional.
> 
> I think some time early this week I should get an answer on whether it
> is ok for me to post my code to the list.
> 
> -jason
> 
> > -----Original Message-----
> > From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> > bounces at opencms.org] On Behalf Of Robert Kock
> > Sent: Thursday, August 18, 2005 10:43 AM
> > To: The OpenCms mailing list
> > Subject: RE: [opencms-dev]CmsLinkManager, OpenCms / WebLogic portal
> > integration
> >
> > Jason,
> >
> > Well to be true, you are much further then me and I'm very
interested
> in
> > the
> > code you realised by now. It would be very nice if you will manage
to
> > share it
> > with me and the rest of the community.
> >
> > Are for example the content selectors in the weblogic-portal
actually
> > working
> > ?
> >
> > Greetings Robert
> >
> >
> >
> > Jason Trump (jason.trump at brulant.com) wrote:
> > >
> > > Hi Robert,
> > >
> > > We (my team and I) have a partial implementation of the WebLogic
SPI
> for
> > > OpenCms written.
> > >
> > > I hope to be able to publish much of the code I write as open
> source,
> > > but I am waiting for the necessary approval from my client (since
> they
> > > own the code that I write) and from my employer.  Of course I have
> > > presented the strong case that publishing the code is in the
> client's
> > > best interest.  Hopefully I will have something to share with you
> soon.
> > >
> > > Until then, I can at least discuss how we got things working, if
> that is
> > > helpful.  Once I get the approval, perhaps we can post some code
to
> the
> > > list or elsewhere so that both of us don't have to cover all of
the
> same
> > > ground.  Have you made much progress?  Here is what we have
> > > accomplished:
> > >
> > > What is working:  weblogic content management tags like
<cm:getNode>
> and
> > > <cm:getProperty> retrieve data from the OpenCms VFS, and content
> > > servlets like ShowPropertyServlet can retrieve data from the VFS.
> You
> > > can browse the contents of the OpenCms repository in the weblogic
> portal
> > > admin application, and see property values on both folders and
> files.
> > >
> > > What isn't working:  We haven't integrated the search features
yet,
> so
> > > the <cm:search> tag and content placeholders don't work.  Also
> > > hyperlinks created in OpenCms documents (using the <cms:link> tag)
> > > aren't correctly translated into links that work in the portal --
> this
> > > is what I was getting at in my first email to the list.  We are
> actively
> > > working on both of these features.
> > >
> > > I have yet to get OpenCms static export to work at all when
running
> in
> > > WebLogic.  I would like to see this feature work, but if not, I
> suppose
> > > we can just leave it disabled and settle for the numerous caching
> > > features already built in to WebLogic portal.
> > >
> > > We have not implemented (and don't plan to implement) any sort of
> > > write-access from weblogic, so we can't use the weblogic portal
> admin
> > > app to change anything in the OpenCms repository.  Someday I would
> like
> > > to implement VCR "library services"; for example, moving a content
> node
> > > to the "published" state in WebLogic would cause the file to be
> > > published to the Online project in OpenCms.  However, this is not
a
> > > requirement for us.
> > >
> > > -jason
> > >
> > > > -----Original Message-----
> > > > From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> > > > bounces at opencms.org] On Behalf Of Robert Kock
> > > > Sent: Wednesday, August 17, 2005 3:07 PM
> > > > To: opencms-dev at opencms.org
> > > > Subject: [opencms-dev] CmsLinkManager, OpenCms / WebLogic portal
> > > > integration
> > > >
> > > > Jason,
> > > >
> > > > I'm trying to do the same.
> > > > Can you give me more details on what you realised by now ?
> > > > Maybe we can work together to sove this and than post the
results
> ?
> > > >
> > > > Greetings Robert
> > > >
> > > >
> > > >
> > > > Hello all,
> > > >
> > > > I am working on integrating OpenCms 6.0 and WebLogic Portal
8.1.4.
> > > > Firstly, congratulations on a great product.  6.0 is my first
> > > experience
> > > > with the system, and the feature set is truly impressive.  I
have
> also
> > > > found the sources very easy to read and the documentation quite
> good.
> > > >
> > > > I found this (very old) message
> > > >
(http://mail.opencms.org/pipermail/opencms-dev/2003q3/007129.html)
> > > > wherein someone was trying to do the same thing, but nothing
more
> > > after
> > > > spending some time in google, BEA dev2dev forums, and in the
> > > opencms-dev
> > > > mailing list archives.
> > > >
> > > > Anyway, I've had great success getting basic access to OpenCms
> through
> > > > WebLogic's Virtual Content Repository.  There are a few things
> proving
> > > > difficult:
> > > >
> > > > 1. I would like to change the behavior of CmsLinkManager so that
> the
> > > > generated links render correctly in the portal.  Unfortunately,
I
> do
> > > not
> > > > see a way to reconfigure the default implementation of
> CmsLinkManager
> > > > (or other core classes accessed via org.opencms.main.OpenCms).
It
> > > seems
> > > > that patching the CmsLinkManager source is the only way to
> proceed;
> > > can
> > > > anyone suggest a better way?  Are there long-term plans to make
> any of
> > > > the "OpenCms operating system" services runtime configurable?
> > > >
> > > > 2. I want to provide some integration between OpenCms and an
> external
> > > > image repository.  For example, it would be cool to have a
gallery
> > > > widget for choosing these images in an XML document editor.  Can
> > > anyone
> > > > recommend another module that does this type of thing, or point
me
> to
> > > a
> > > > place in the code to start reading?
> > > >
> > > > I also noticed that the feature list for 6.0 indicates some kind
> of
> > > > EJB-based architecture, but I can't find evidence of this in the
> > > > sources.  I know that other people have asked this question to
the
> > > list
> > > > before, but I can't find an answer in the archives.
> > > >
> > > > Any answers or discussion would be much appreciated.
> > > >
> > > > Thanks,
> > > > jason
> > > >
> > > >
> > > > JASON C. TRUMP
> > > > Senior Consultant
> > > > 216.896.8941 / direct
> > > > jason.trump at brulant.com
> > > >
> > > > BRULANT, Inc.
> > > > 3700 park east drive, suite 300
> > > > beachwood, ohio 44122
> > > > 216.896.8910 / phone
> > > > 216.896.8991 / fax
> > > > brulant.com
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > This mail is send to you from the opencms-dev mailing list
> > > > To change your list options, or to unsubscribe from the list,
> please
> > > visit
> > > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > >
> > >
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list,
please
> > visit
> > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > >
> >
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list