« Return to Thread: How can I display directory tree from the DMS in the WCM?

Re: How can I display directory tree from the DMS in the WCM?

by Matteo Pelucco :: Rate this Message:

Reply to Author | View in Thread


ur_afroinu ha scritto:
>
> Hello
> I apologize for very basic question.  I'm using v3.6.
> Is there a way to import (publish) directory tree structure from DMS to WCM?

Never done before, but you may consider to create a Java class which
handle your need and then use it within a Taglib from FMK / JSP.

The idea can be:

1) Create a paragraph with DMS parent selection (UUIDLink, for instance)
2) Inside the paragraph use the taglib and pass the parameter to Taglib
Java Class
3) Query DMS and build a wrapper / use DMS Document impl to create your
tree of documents
4) Go back to FMK / JSP and iterate over that tree using Html+Css

I suggested to use a taglib and Java because I think things in this case
should be better and easy to write with some Java support (exception
handling f.e.).

HTH,
Matteo


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------

 « Return to Thread: How can I display directory tree from the DMS in the WCM?