Gloria Samson wrote:
Can you elaborate on the kind of portlets that you want to share? (RSS, ...)HiI have started working recently on jetspeed and till now everything was smooth as the tutorial and the mailing list is great.. But now i have one problem coming up.. First thing can i have a portal inside another protal? I didnt try the above method though. What i need is to have two portals... What i did was i created two jetspeed home folder for two portals but a lot of them have some common portlets and use a common web context.. But i dont know how to share them across two portals?
If you want a usable solution, I would recommend just to duplicate the java classes and have the urls used (say RSS files, OCF feeds) served from a common document repository.
This could even work for other files in WEB-INF, like xregs, if properly configured (I'm not sure at all).
You would made properties pointing to those resources to an absolute URL like http://localhost/blah/blah
and then you configure all similar properties, and say your web server to *only* serve these requests from localhost to avoid serving the source code of your templates, RSS files, etc.
I'm not sure it could ever be made work with JSP. Compilation makes it much trickier. With Velocity it will not work due to assumption that templates are files in JetspeedTemplateLocatorService.java
If you arrive further with this approach, please report back. ;-)
WARNING: untested advice! don't blame me if it does not work.
Where shud i specify the path for accessing common files by both the portals? I tried to use tomcat shared folder and put the jar files and some common files there but the jetspeed home cant access them?
Funny, it should work for the classes. WRT common files, what files do you mean? See above.
Is there any other way that i can share them? Please help me out... I have another problem with the security role of the logged in users but i am trying that right now so may be i will come up with some solution.. Thanks for the help and the great work on jetspeed which is really good for a cool portal website... Gloria Samson --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
