<?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: Howto make Property sheet render HTML in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156164#M110430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a solution: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of instanciate the HtmlOutputComponent, I replace by this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;component = context.getApplication().createComponent(HtmlOutputText.COMPONENT_TYPE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;component.getAttributes().put("escape", false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it's working for the view property sheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is to edit these properties now… I see two problems :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 1Â° As my property is multivaluated, I get a list under my html editor, but just under there's some glitches because Alfresco copies some text from the list in a hidden field. How I can control what Alfresco put in that field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 2Â° When I doing the decode in my UIComponent (I don't use Renderer), I cannot find a clear sample on JSF how to parse all the fields of my component (My component is composed with a input text and a TinyMCEEditor)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2008 17:57:06 GMT</pubDate>
    <dc:creator>ruffp</dc:creator>
    <dc:date>2008-03-11T17:57:06Z</dc:date>
    <item>
      <title>Howto make Property sheet render HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156163#M110429</link>
      <description>Hello,I have a property with some html code inside.Is it possible to make the view page rendering correctly the html metadata only by configuring a xml file?If no, what to do?I tried to make that from my generator (generateAndAdd method) &lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic UIComponent generateAndAdd(FacesContext context, UIPro</description>
      <pubDate>Mon, 10 Mar 2008 16:35:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156163#M110429</guid>
      <dc:creator>ruffp</dc:creator>
      <dc:date>2008-03-10T16:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Howto make Property sheet render HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156164#M110430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a solution: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of instanciate the HtmlOutputComponent, I replace by this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;component = context.getApplication().createComponent(HtmlOutputText.COMPONENT_TYPE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;component.getAttributes().put("escape", false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it's working for the view property sheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is to edit these properties now… I see two problems :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 1Â° As my property is multivaluated, I get a list under my html editor, but just under there's some glitches because Alfresco copies some text from the list in a hidden field. How I can control what Alfresco put in that field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 2Â° When I doing the decode in my UIComponent (I don't use Renderer), I cannot find a clear sample on JSF how to parse all the fields of my component (My component is composed with a input text and a TinyMCEEditor)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 17:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156164#M110430</guid>
      <dc:creator>ruffp</dc:creator>
      <dc:date>2008-03-11T17:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Howto make Property sheet render HTML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156165#M110431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will need to look at UIMultiValueEditor and MultiValueFieldRenderer and/or MultiValueSelectorRenderer to investigate the glitches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for decoding your component, probably the most complex example we have is the association editors, these encode several items in it's value and decodes them, take a look at BaseAssociationEditor in particular.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 08:36:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/howto-make-property-sheet-render-html/m-p/156165#M110431</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2008-03-12T08:36:30Z</dc:date>
    </item>
  </channel>
</rss>

