<?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: Compound/C-struct property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114145#M80415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IÃ‚Â´ve got the same problem as you explain, and I donÃ‚Â´t know the solution for this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, if someone has any idea give it us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 20:15:38 GMT</pubDate>
    <dc:creator>mer</dc:creator>
    <dc:date>2007-08-28T20:15:38Z</dc:date>
    <item>
      <title>Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114144#M80414</link>
      <description>Hi,I need an aspect that maintains a set of email addresses and for each of these I want to save the datetime when the email address was last verified to work. So I need a list of a (C-like) struct that holds a single email address and a single date. How can I do this?&amp;lt;aspect name="bla:contactabl</description>
      <pubDate>Thu, 23 Aug 2007 12:31:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114144#M80414</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-08-23T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114145#M80415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IÃ‚Â´ve got the same problem as you explain, and I donÃ‚Â´t know the solution for this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, if someone has any idea give it us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 20:15:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114145#M80415</guid>
      <dc:creator>mer</dc:creator>
      <dc:date>2007-08-28T20:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114146#M80416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The way I see it, Alfresco &lt;/SPAN&gt;&lt;STRONG&gt;can&lt;/STRONG&gt;&lt;SPAN&gt; model this: Using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Content_Model_XML_Explained" rel="nofollow noopener noreferrer"&gt;child-associations&lt;/A&gt;&lt;SPAN&gt; you can "embed" (composition) into your type a variable-length array of instances of another type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in principle, the problem is solved. However, I see two issues with the current Alfresco Web Client that make the above approach very, very difficult for the end user:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;1. In the current Alfresco Web Client, you cannot have a mandatory child association to another type (i.e., a 1-to-n association with n&amp;gt;=1). You get an error:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;14:55:37,905 User:admin ERROR [node.integrity.IntegrityChecker] Found 1 integrity violations:&lt;BR /&gt;The association child multiplicity has been violated:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Source Node: workspace://SpacesStore/f7d07486-5a1c-11dc-8a59-19e8c96a8993&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Association: Association[ class=ClassDef[name={&lt;A href="http://www.baselgovernance.org/icar/model/knowledge_center/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.baselgovernance.org/icar/model/knowledge_center/content/1.0}content&lt;/A&gt;], name={[blabla]/model/knowledge_center/content/1.0}test-child-association, target class={[blabla]/model/knowledge_center/content/1.0}smallet, source role=null, target role=null]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Required child Multiplicity: 1..1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Actual child Multiplicity: 0&lt;BR /&gt;14:55:38,051 User:admin ERROR [ui.common.Utils] A system error happened during the operation: Unknown Exception in Transaction.&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;/CODE&gt;&lt;/PRE&gt;The expected correct behaviour for Alfresco would be to show another dialog to the user where she can enter the composition'ed data.&lt;/UL&gt;&lt;UL&gt;2. More importantly, the current Alfresco Web Client only supports types that inherit from cm:content but in an composition we do not always want cm:content's properties.&lt;/UL&gt;&lt;SPAN&gt;I think we need help/clarification here by an Alfresco engineer. Could somebody comment on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 13:05:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114146#M80416</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-09-03T13:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114147#M80417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a design session planned for Friday on the topic of composite objects - both service implications (e.g. check-in) and UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Definitely something we will resolve - possibly with some help from a collabroative dev effort with a partner/customer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 12:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114147#M80417</guid>
      <dc:creator>paulhh</dc:creator>
      <dc:date>2007-09-05T12:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114148#M80418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;We have a design session planned for Friday on the topic of composite objects - both service implications (e.g. check-in) and UI.&lt;BR /&gt;&lt;BR /&gt;Definitely something we will resolve - possibly with some help from a collabroative dev effort with a partner/customer.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Paul.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Paul, any update you can share here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 23:52:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114148#M80418</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-09-27T23:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114149#M80419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am very much interested in this as well! So you have at least two good listeners &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 12:06:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114149#M80419</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-09-30T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114150#M80420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What came out was that the steps to resolve ideal behaviour are actually in the copy and checkout services:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Copy_And_Checkout_Refactor" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Copy_And_Checkout_Refactor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Comments welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 14:48:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114150#M80420</guid>
      <dc:creator>paulhh</dc:creator>
      <dc:date>2007-10-01T14:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114151#M80421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What came out was that the steps to resolve ideal behaviour are actually in the copy and checkout services:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Copy_And_Checkout_Refactor" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Copy_And_Checkout_Refactor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Comments welcome.&lt;BR /&gt;&lt;BR /&gt;Paul.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;On Checkout is the onCopy fired in addition to the onCheckout?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, what does it mean to remote an aspect?&amp;nbsp; remove?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 01:42:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114151#M80421</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-10-02T01:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114152#M80422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked at the UI side of the problem in the meantime and tried - without success - to write a AMP that allows you to show a special version of the standard child-associations UI in which there is not a "Search" button but a "Create" button instead. Clicking the button would create a new instance of the association's target type and would add it as a child to the given child-association.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would show this special version by setting the "component-generator" attribute in &lt;/SPAN&gt;&lt;EM&gt;web-client-custom.xml&lt;/EM&gt;&lt;SPAN&gt;, for instance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;config evaluator="aspect-name" condition="my:person"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property-sheet&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;show-child-association name="my:postaladdresses"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;component-generator="ChildAssociationCompositionGenerator"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display-label="Postal addresses"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;…&lt;BR /&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;To implement this, I subclassed UIChildAssociationEditor to UIChildAssociationCompositionEditor and tried to change BaseAssociationEditor's default implementation of encodeBegin() to show &lt;/SPAN&gt;&lt;EM&gt;within the current property sheet other property sheets: one for each child in the child-association&lt;/EM&gt;&lt;SPAN&gt;, and in addition, the aforementioned button "Create".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this resulted in an error, and this is where I am stuck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;00:05:18,327 User:admin ERROR [renderkit.html.HtmlGridRendererBase] Wrong columns attribute for PanelGrid document-details:document-props:assoc_my_postaladdresses:_id0: 0&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If anybody is interested, I can provide more information. As I do not have this much time, I will hardcode the properties of my model for the time being…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 22:16:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114152#M80422</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-10-17T22:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compound/C-struct property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114153#M80423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a temporary solution. See &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?p=31789#31789" rel="nofollow noopener noreferrer"&gt;this forum post&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 10:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compound-c-struct-property/m-p/114153#M80423</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-11-12T10:42:00Z</dc:date>
    </item>
  </channel>
</rss>

