<?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: [solved] problem with BrowseBean in a custom Dialog in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221368#M174498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, here is the solution. I just needed to write the inputText component as :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;h:inputText value="#{DialogManager.bean.tags}" /&amp;gt;&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;I was reading the wiki page about DialogManager and I found out that bean was referring to my AddTagsDialog class and that I just needed to add tags to refer to the tags attribute of this class &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;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Sep 2010 14:34:49 GMT</pubDate>
    <dc:creator>ethan</dc:creator>
    <dc:date>2010-09-15T14:34:49Z</dc:date>
    <item>
      <title>[solved] problem with BrowseBean in a custom Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221366#M174496</link>
      <description>Hello &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;I read the wiki page about Adding a Custom Dialog and I tried to use it to create my own custom Dialog to add tags to a Document node.I followed the instructions but when I test the Dialog, there's a NullPointerException in my AddTagsDialog.java class. The BrowseBean.getDocument() is null. T</description>
      <pubDate>Wed, 15 Sep 2010 09:39:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221366#M174496</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-15T09:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] problem with BrowseBean in a custom Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221367#M174497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok I found my mistake. In the web-client-config-custom.xml file, the id of the parameter actionContext.id was set to "ref" and the BrowseBean.setupContentAction() method was waiting a parameter with the id "id".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that this works, I have another problem. in the AddTagsDialog class, the attribute tags is null. The class doesn't get the value from the inputText in the simpletags.jsp page &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the wiki tutorial, the inputText component in the JSP doesn't have any id or name. So how does the AddAspectDialog class know the value of this component?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 13:29:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221367#M174497</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-15T13:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] problem with BrowseBean in a custom Dialog</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221368#M174498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, here is the solution. I just needed to write the inputText component as :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;h:inputText value="#{DialogManager.bean.tags}" /&amp;gt;&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;I was reading the wiki page about DialogManager and I found out that bean was referring to my AddTagsDialog class and that I just needed to add tags to refer to the tags attribute of this class &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;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 14:34:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-browsebean-in-a-custom-dialog/m-p/221368#M174498</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-15T14:34:49Z</dc:date>
    </item>
  </channel>
</rss>

