<?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: getting JSR170 interface in Dialog in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121590#M85662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to know how to get the Session..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2008 13:39:02 GMT</pubDate>
    <dc:creator>tak</dc:creator>
    <dc:date>2008-03-13T13:39:02Z</dc:date>
    <item>
      <title>getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121585#M85657</link>
      <description>Hi AllIm new to Alfresco and currently trying to implement CustomDialog.To work with nodes I'd like to use JSR-170 interface.But problem is that i cannot get Session object from Dialog.I tried following code to get Repository which throws exception (java.lang.IllegalArgumentException: a beanFactoryR</description>
      <pubDate>Thu, 11 Oct 2007 09:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121585#M85657</guid>
      <dc:creator>m0n</dc:creator>
      <dc:date>2007-10-11T09:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121586#M85658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi All&lt;BR /&gt;Im new to Alfresco and currently trying to implement CustomDialog.&lt;BR /&gt;To work with nodes I'd like to use JSR-170 interface.&lt;BR /&gt;But problem is that i cannot get Session object from Dialog.&lt;BR /&gt;&lt;BR /&gt;I tried following code to get Repository which throws exception (&lt;BR /&gt;java.lang.IllegalArgumentException: a beanFactoryReference already exists for key jbpm_configuration):&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();&lt;BR /&gt;ctx.getBean("JCR.Repository");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;for the following code…:&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;WebApplicationContextUtils.getWebApplicationContext(ServletContext sc); &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;… I don't know how to get ServletContext reference &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;&lt;BR /&gt;&lt;BR /&gt;As I understand ideally would be to get reference to current reference to repository Session object. &lt;BR /&gt;&lt;BR /&gt;Thanks in Advance!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to create a Custom Dialog inside Alfresco or a custom application – outside alfresco using JCR to communicate with it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 20:27:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121586#M85658</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-10-11T20:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121587#M85659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Inside Alfresco…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just want to make it clear for myself: is it possible to use jsr170 inside, or I have to use foundation services for working with nodes etc..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 05:25:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121587#M85659</guid>
      <dc:creator>m0n</dc:creator>
      <dc:date>2007-10-15T05:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121588#M85660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Inside Alfresco…&lt;BR /&gt;Just want to make it clear for myself: is it possible to use jsr170 inside, or I have to use foundation services for working with nodes etc..&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep!&amp;nbsp; You can even use them (The JCR and the foundation services together)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 11:38:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121588#M85660</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-10-15T11:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121589#M85661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yep!&amp;nbsp; You can even use them (The JCR and the foundation services together)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;How I would then get a Session reference in Custom Dialog?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 12:24:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121589#M85661</guid>
      <dc:creator>m0n</dc:creator>
      <dc:date>2007-10-15T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting JSR170 interface in Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121590#M85662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to know how to get the Session..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 13:39:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-jsr170-interface-in-dialog/m-p/121590#M85662</guid>
      <dc:creator>tak</dc:creator>
      <dc:date>2008-03-13T13:39:02Z</dc:date>
    </item>
  </channel>
</rss>

