<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Displaying uploaded content from a portlet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20691#M9728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I looked at the examples and that lead me to a couple of questions.&amp;nbsp; The example for JCR seems to presume that I am running this test in the same webapp since it's looking for the spring app context definition files in the classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our setup would be such that the webapps may or may not be on the same machine, or even same server container.&amp;nbsp; So Alfresco would be in one location and the jboss portal in another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given that possiblity, do I still use the JCR API?&amp;nbsp; From what I can tell right now, we'd need to run the portal and Alfresco integrated in the same web app to use the JCR because I don't see a way to get at the Repository object remotely (I'm still reading about JCR).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any direction you can point me in would be extremely helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2005 18:55:15 GMT</pubDate>
    <dc:creator>rsfeir</dc:creator>
    <dc:date>2005-11-22T18:55:15Z</dc:date>
    <item>
      <title>Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20683#M9720</link>
      <description>Hi,We're evaluating Alfresco, love the ease of installation and the UI is very clear and usable.The one thing that was not immediately obvious is how to perhaps implement the follow usecase:We have a portal, JBoss Portal, and in this portal we have content.&amp;nbsp; Right now the content sits in plain html</description>
      <pubDate>Wed, 16 Nov 2005 17:47:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20683#M9720</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-16T17:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20684#M9721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, there is a way to do this with Alfresco but not out of the box, you will need to do some customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a servlet that can display content. You could create a separate portlet that just consists of an iframe and make the source of the iframe the URL to the download servlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get the URL you can either use the helper method on the sevlet if you have the Node object to hand…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;DownloadContentServlet.generateBrowserURL(node.getNodeRef(), node.getName());&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;…or you could find out the id of the content you want to show and build up the URL manually. An example of the URL you'll need have a look at the "View in Browser" link in the document details screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 10:36:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20684#M9721</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2005-11-17T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20685#M9722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent thanks for the prompt reply, this is the answer.&amp;nbsp; I think my approach will be to front your servlet with a portlet, don't really want to use an iFrame, and then pass to the portlet via a request parameter the page I want to see.&amp;nbsp; This simplifies a lot of things for us thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 15:21:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20685#M9722</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-17T15:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20686#M9723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote a simple portlet to try to prove the concept that things will work well, but I've hit a snag and I can't seem to find a way around it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've chosen, for reason of simplicity, to go with building the URL for the portlet like the one we see on the preview page.&amp;nbsp; With that I've written the following sample code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CMSViewPortlet&amp;nbsp; extends GenericPortlet {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void doView(RenderRequest renderRequest, RenderResponse renderResponse)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throws PortletException, PortletSecurityException, IOException {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Set the required content type.&amp;nbsp; We're expecting to render text/html in this case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderResponse.setContentType("text/html");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //setup the request dispatcher and pass it the URL init parameter value found in portlet.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final URL url = new URL(getPortletConfig().getInitParameter("url"));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final PrintWriter out = renderResponse.getWriter();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(in.readLine() != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.append(in.readLine());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in.close();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.close();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I definitely get information back from Alfresco, the problem is that I get the login page, not the content.&amp;nbsp; So the content is protected, which is fine in some cases, but we need to have the content be public and not have anyone need to log in to see this particular content we're working on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further if there is protected content, how do we get around having users sign in to our portal and yours?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a base jboss portal install with our own theme, so I'm not doing anything way out of the ordinary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clues and help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 23:18:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20686#M9723</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-21T23:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20687#M9724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I wrote a simple portlet to try to prove the concept that things will work well, but I've hit a snag and I can't seem to find a way around it.&lt;BR /&gt;&lt;BR /&gt;I've chosen, for reason of simplicity, to go with building the URL for the portlet like the one we see on the preview page.&amp;nbsp; With that I've written the following sample code:&lt;BR /&gt;&lt;BR /&gt;public class CMSViewPortlet&amp;nbsp; extends GenericPortlet {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void doView(RenderRequest renderRequest, RenderResponse renderResponse)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throws PortletException, PortletSecurityException, IOException {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Set the required content type.&amp;nbsp; We're expecting to render text/html in this case.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderResponse.setContentType("text/html");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //setup the request dispatcher and pass it the URL init parameter value found in portlet.xml&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final URL url = new URL(getPortletConfig().getInitParameter("url"));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final PrintWriter out = renderResponse.getWriter();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(in.readLine() != null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.append(in.readLine());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in.close();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.close();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Well I definitely get information back from Alfresco, the problem is that I get the login page, not the content.&amp;nbsp; So the content is protected, which is fine in some cases, but we need to have the content be public and not have anyone need to log in to see this particular content we're working on.&lt;BR /&gt;&lt;BR /&gt;Further if there is protected content, how do we get around having users sign in to our portal and yours?&lt;BR /&gt;&lt;BR /&gt;I'm using a base jboss portal install with our own theme, so I'm not doing anything way out of the ordinary.&lt;BR /&gt;&lt;BR /&gt;Any clues and help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;R&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MM….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you are tying to use a feature alfresco supports for content preview which is only available if you are logged in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you access alfresco through the web service, jcr, or repository api you wont hit this snag because you will need to pass authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the JCR mechanism will take you the most miles because it is a standard not an implementation.&amp;nbsp; (not that you would ever want to, but you could switch to jackrabbit or some other system in the future.)&amp;nbsp; I am sure alfresco will rule the universe in the future… so this may not be a concern &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are examples that ship with alfresco that can put you on the road to jcr glory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;give me some time over this holiday and I will share some of the toys i am building.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 23:34:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20687#M9724</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2005-11-21T23:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20688#M9725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can handle either webservice or JCR, but since I'm new I didn't realize all this was already there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd still like to see the toys you're working on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the prompt reponse!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 00:35:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20688#M9725</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-22T00:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20689#M9726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Russ says you could go the JCR or webservice route if you want. Alternatively if you want to continue the route you are going you can just append a ticket parameter to the URL (this does mean though your user would have to be logged in).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the logged in session you can retrieve the ticket (it's stored in a session variable called '_alfAuthTicket') and add it as a paramter to the URL you pass to the servlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 09:49:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20689#M9726</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2005-11-22T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20690#M9727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to use commons-http to create a client to authenticate, but so far I'm missing something because it's not authenticating right.&amp;nbsp; I've got all 3 fields which look to be required, and pulled the name of the fields from the form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, we're going to see today and discuss which avenue to take.&amp;nbsp; Personally I'd rather not keep going down this path, it's just 'ugly', and given the alternatives this path, at least in my opinion, shouldn't even be considered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm leaning towards WS right now, but we'll see.&amp;nbsp; I'll keep you guys posted and thanks for the continued support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 15:06:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20690#M9727</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-22T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20691#M9728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I looked at the examples and that lead me to a couple of questions.&amp;nbsp; The example for JCR seems to presume that I am running this test in the same webapp since it's looking for the spring app context definition files in the classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our setup would be such that the webapps may or may not be on the same machine, or even same server container.&amp;nbsp; So Alfresco would be in one location and the jboss portal in another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given that possiblity, do I still use the JCR API?&amp;nbsp; From what I can tell right now, we'd need to run the portal and Alfresco integrated in the same web app to use the JCR because I don't see a way to get at the Repository object remotely (I'm still reading about JCR).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any direction you can point me in would be extremely helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 18:55:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20691#M9728</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-22T18:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20692#M9729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I looked at the examples and that lead me to a couple of questions.&amp;nbsp; The example for JCR seems to presume that I am running this test in the same webapp since it's looking for the spring app context definition files in the classpath.&lt;BR /&gt;&lt;BR /&gt;Our setup would be such that the webapps may or may not be on the same machine, or even same server container.&amp;nbsp; So Alfresco would be in one location and the jboss portal in another.&lt;BR /&gt;&lt;BR /&gt;Given that possiblity, do I still use the JCR API?&amp;nbsp; From what I can tell right now, we'd need to run the portal and Alfresco integrated in the same web app to use the JCR because I don't see a way to get at the Repository object remotely (I'm still reading about JCR).&lt;BR /&gt;&lt;BR /&gt;Any direction you can point me in would be extremely helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;R&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a good and pretty common question.&amp;nbsp;&amp;nbsp; The JCR is just an API and doesnÃ¢â‚¬â„¢t really address geography.&amp;nbsp; Therefore, you might have an implementation that is based on a local repository, one backed up by web services or RMI.&amp;nbsp; You might also have a hybrid approach of backing the system up by a local repository and integrating it with the master.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of continuity… I have been thinking about this problem.&amp;nbsp; I donÃ¢â‚¬â„¢t want my site to be dependant on a remote CMS system.&amp;nbsp; I want it to use it when it is there and continue to function when it is not.&amp;nbsp; There are many ways to skin this cat but one approach that will kill it is to back the app up with a direct remote connection to the repository (unless you plan on consuming cached content when the CMS is down.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 19:39:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20692#M9729</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2005-11-22T19:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20693#M9730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok so in our case it sounds like we should be using a webservice.&amp;nbsp; The repository availability is something we need to look at, and if the repo is not available, I have no issue consuming cached content, but if the repository is not available and we use WS, even cached content won't be there if we only have one cms install.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting a much clearer idea about all this, and your support and response speed and clarity of answers has been truly amazing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 19:46:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20693#M9730</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-22T19:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20694#M9731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok one final question before I drive down the WS road.&amp;nbsp; Is it possible, both License wise and integration wise, to take your war file and somehow drop it into the jboss deploy directory, or perhaps the protal sar directory and have your classes be part of the same classloader the jboss portal runs on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I ask is because if I can have Alfreco exist in the same classloader, then it would be very easy for us to use the JCR solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way I thought of doing this, and this is where the licensing issue may arise, is to simply explode your war file, and merge its contents with our own portal code, then the whole thing will load in the same classloader and we're good to go.&amp;nbsp; However, this will also cause a headache down the line since everytime we want to update, we'd have to merge your new code with what we have, and that's not soemthing we want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm hoping there is a little trick there which might make it do the magic we need.&amp;nbsp; If not the WebService solution is certainly great and will do the trick very nicely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 20:12:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20694#M9731</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-11-22T20:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying uploaded content from a portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20695#M9732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont follow.&amp;nbsp; I may simply be missing something.&amp;nbsp; Alfresco implements the JCR. It has it's own impl alfresco.jcr.repository.RepositoryImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont understand what difference it will make if alfresco is in the same class loader unless some configuration behind the JBoss porlet is set to load the alfresco implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also if JBoss has functionality that relies on the level II of the JCR then you wont be able to plug alfresco in to that space.&amp;nbsp; Alfresco V1.0 doesn't support level II.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My oganization will need level II functionality and we are looking at what we need and how much distance exists between what alfresco currently provides and what we need.&amp;nbsp; Some functionality may exist in the nightly builds (as level II support is underway in the nightly builds)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 21:12:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/displaying-uploaded-content-from-a-portlet/m-p/20695#M9732</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2005-11-22T21:12:39Z</dc:date>
    </item>
  </channel>
</rss>

