<?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: List constraint with key and value in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141315#M99000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Definitely will write some code. Generator part I believe is only for displaying what has been stored. I am not sure how the data is going to be stored a child association with two different attributes? if you could direct me to some code related to this that would be great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 20:22:04 GMT</pubDate>
    <dc:creator>robain</dc:creator>
    <dc:date>2008-04-23T20:22:04Z</dc:date>
    <item>
      <title>List constraint with key and value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141312#M98997</link>
      <description>Hi,I need to add a property with a list of values that will not only hold the value itself but a key (that the user will see in the drop down component) and a value (to be used in the backing bean).Is there any way of doing it ( &amp;lt;List&amp;gt; tag ??? )&amp;nbsp; using customModel.xml ?? :?: Thanks,Dror</description>
      <pubDate>Sun, 21 Oct 2007 08:37:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141312#M98997</guid>
      <dc:creator>friedman30</dc:creator>
      <dc:date>2007-10-21T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: List constraint with key and value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141313#M98998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need something similar. In the properties page the drop-down can stay as it is, but when storing, instead of storing just the display value, i want to store the map of key and value. lets say id and name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the drop down should look like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;param value="1"&amp;gt;one&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;param value="2"&amp;gt;two&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when added to the list. the display string should look like "1 - one" or something similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the main point is both of the key and value should be stored. how do i achieve this ??? any ideas help!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 20:25:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141313#M98998</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-04-21T20:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: List constraint with key and value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141314#M98999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No easy way to do it (i.e. without writing any code).&amp;nbsp; I'd suggest you write a component generator to render your property editor appropriately.&amp;nbsp; Store values as a string property.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Component_Generator_Framework" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Component_Generator_Framework&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also ability to define constraints on properties, which does support a list, but I don't think the UI picks that up.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Content_Model_Constraints" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Content_Model_Constraints&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 13:08:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141314#M98999</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-04-23T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: List constraint with key and value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141315#M99000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Definitely will write some code. Generator part I believe is only for displaying what has been stored. I am not sure how the data is going to be stored a child association with two different attributes? if you could direct me to some code related to this that would be great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 20:22:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141315#M99000</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-04-23T20:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: List constraint with key and value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141316#M99001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find a solution for the list constraint with key and value?? I need to develop the same and I have no idea how I can do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 08:01:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-constraint-with-key-and-value/m-p/141316#M99001</guid>
      <dc:creator>sergi_l</dc:creator>
      <dc:date>2009-05-13T08:01:25Z</dc:date>
    </item>
  </channel>
</rss>

