<?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: How to format custom aspects in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276020#M229150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Loftux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create your&amp;nbsp; custom converter to display different format . Check byteSizeConverter which display the bytes along&amp;nbsp; with size . Try to follow the same flow and you will be able to create custom converter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2011 12:22:53 GMT</pubDate>
    <dc:creator>amitabhandari1</dc:creator>
    <dc:date>2011-03-28T12:22:53Z</dc:date>
    <item>
      <title>How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276016#M229146</link>
      <description>I would add to my documents some "amount" custom aspects so that, when I enter the values and when I view the "amount" custom properties, they include formatting separators (eg. Total amount:&amp;nbsp;&amp;nbsp; $1,350.58).Is it possible? How can I do this?Thanks so much.</description>
      <pubDate>Wed, 23 Mar 2011 12:45:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276016#M229146</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2011-03-23T12:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276017#M229147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look at how you create custom forms. &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, you can copy the text field (textfield.ftl) control and make a copy of it. Call it something like currencyfield.ftl. In your forms definition, reference this new control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your new control, change the field for view mode. There is a currency formatter for freemarker, not sure if this will work for you, but check it out. &lt;/SPAN&gt;&lt;A href="http://freemarker.sourceforge.net/docs/ref_builtins_number.html#ref_builtin_string_for_number" rel="nofollow noopener noreferrer"&gt;http://freemarker.sourceforge.net/docs/ref_builtins_number.html#ref_builtin_string_for_number&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 17:02:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276017#M229147</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-03-23T17:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276018#M229148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you, Loftux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe I was not precise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To create my custom aspects and I followed the process of customizing the Alfresco content model, so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I created my custom model context file (&lt;/SPAN&gt;&lt;STRONG&gt;customModel.xml&lt;/STRONG&gt;&lt;SPAN&gt;) with my custom aspects definition &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I configure the web client for the custom aspect (&lt;/SPAN&gt;&lt;STRONG&gt;web-client-config-custom.xml&lt;/STRONG&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I use custom aspect in a new business rule when I add new content to my space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To format my currency custom field I thought I would change something in these files. Or not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 16:18:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276018#M229148</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2011-03-24T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276019#M229149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;web-client-config-custom.xml is for Alfresco Explorer, if that is what your are using, then web-client-config-custom.xml is on the right track. Next would be to create some jsf control/stuff, and that is out of my knowledge.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you are using Alfresco Share client, then what I pointed you at applies. If you are in the beginning of your project, I really recommend using the Share client.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 16:39:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276019#M229149</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-03-24T16:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276020#M229150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Loftux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create your&amp;nbsp; custom converter to display different format . Check byteSizeConverter which display the bytes along&amp;nbsp; with size . Try to follow the same flow and you will be able to create custom converter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 12:22:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276020#M229150</guid>
      <dc:creator>amitabhandari1</dc:creator>
      <dc:date>2011-03-28T12:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276021#M229151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Amita, could you give me some more details about your hint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 13:21:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276021#M229151</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2011-03-28T13:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to format custom aspects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276022#M229152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Loftux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the brief steps to create custom&amp;nbsp; converters :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a tag&amp;nbsp; in alfresco.tld&amp;nbsp; , sample of the tag is&amp;nbsp; given below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &amp;lt;tag&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;convertSize&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tag-class&amp;gt;org.alfresco.web.ui.common.tag.ByteSizeConverterTag&amp;lt;/tag-class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body-content&amp;gt;JSP&amp;lt;/body-content&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allows the ByteSizeConverter to be used on a page&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tag&amp;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;/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;&lt;SPAN&gt;2. Create&amp;nbsp; a java file similar to "ByteSizeConverterTag"&amp;nbsp; which must extends "ConverterTag" class . You can check the existing "ByteSizeConverterTag" class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Create a java file similar to&amp;nbsp; "ByteSizeConverter"&amp;nbsp; which must implement the interface "Converter" . You can check existing&amp;nbsp; "ByteSizeConverter" class. Implement logic of conversion in this class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Make the changes accordingly in web-client-config-custom.xml to use the custom tag .&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, 29 Mar 2011 05:07:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-format-custom-aspects/m-p/276022#M229152</guid>
      <dc:creator>amitabhandari1</dc:creator>
      <dc:date>2011-03-29T05:07:13Z</dc:date>
    </item>
  </channel>
</rss>

