<?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: Overriding MultiValueEditor Breaks edit-node-categories.jsp in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172840#M126025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured it out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was not rendering because BaseMultiValueRenderer.encodeBegin(â€¦) does nothing if the component is not an instance of UIMultiValueEditor.&amp;nbsp; encodeEnd() does the same.&amp;nbsp; This is why I didn't see an error message, and nothing was displayed in the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up copying UIMultiValueEditor.java to UIMultiValueEditorEx.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the class declaration so that UIMultiValueEditorEx extends UIMultiValueEditor, so that BaseMultiValueRenderer would render the component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified UIMultiValueEditorEx.broadcast(…) to handle Collections, and that was it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will document my change to the Category Selector in this thread: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?f=3&amp;amp;t=12018" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?f=3&amp;amp;t=12018&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 22:27:56 GMT</pubDate>
    <dc:creator>stevewickii</dc:creator>
    <dc:date>2008-04-29T22:27:56Z</dc:date>
    <item>
      <title>Overriding MultiValueEditor Breaks edit-node-categories.jsp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172838#M126023</link>
      <description>I copied org/alfresco/web/ui/repo/component/UIMultiValueEditor.java to com/nkics/alfrescox/web/ui/repo/component/UIMultiValueEditorEx.java and modified the broadcast() method to handle Collections differently.Then I added it to my faces-config-custom.xml&amp;nbsp;&amp;nbsp; &amp;lt;component&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;component-type&amp;amp;g</description>
      <pubDate>Fri, 25 Apr 2008 17:24:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172838#M126023</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-04-25T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding MultiValueEditor Breaks edit-node-categories.jsp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172839#M126024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the code of your Java class ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 10:31:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172839#M126024</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2008-04-29T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding MultiValueEditor Breaks edit-node-categories.jsp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172840#M126025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured it out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was not rendering because BaseMultiValueRenderer.encodeBegin(â€¦) does nothing if the component is not an instance of UIMultiValueEditor.&amp;nbsp; encodeEnd() does the same.&amp;nbsp; This is why I didn't see an error message, and nothing was displayed in the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up copying UIMultiValueEditor.java to UIMultiValueEditorEx.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the class declaration so that UIMultiValueEditorEx extends UIMultiValueEditor, so that BaseMultiValueRenderer would render the component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified UIMultiValueEditorEx.broadcast(…) to handle Collections, and that was it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will document my change to the Category Selector in this thread: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?f=3&amp;amp;t=12018" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?f=3&amp;amp;t=12018&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 22:27:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overriding-multivalueeditor-breaks-edit-node-categories-jsp/m-p/172840#M126025</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-04-29T22:27:56Z</dc:date>
    </item>
  </channel>
</rss>

