<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Object inside another Object?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121671273" />
  <subtitle>Object inside another Object?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121671273</id>
  <updated>2026-04-05T15:49:59Z</updated>
  <dc:date>2026-04-05T15:49:59Z</dc:date>
  <entry>
    <title>RE: RE: Object inside another Object?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121676988" />
    <author>
      <name>Gregorio Rossi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121676988</id>
    <updated>2023-03-22T15:11:57Z</updated>
    <published>2023-03-22T07:40:28Z</published>
    <summary type="html">&lt;p&gt;Thanks everyone for the reply.&lt;/p&gt;</summary>
    <dc:creator>Gregorio Rossi</dc:creator>
    <dc:date>2023-03-22T07:40:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Object inside another Object?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121676971" />
    <author>
      <name>Gregorio Rossi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121676971</id>
    <updated>2023-03-22T15:12:07Z</updated>
    <published>2023-03-22T07:39:38Z</published>
    <summary type="html">&lt;p&gt;Thanks, I think i set it up well but a step to step guide would be
  very appreciated, last thing, after I have the relationship how can i
  display it in a new page? Because I was trying to display it with a
  form + display content but when I try to map a Form Field to the
  relationship it doesn't work because it can't find the relationship
  but it find only normal fields.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</summary>
    <dc:creator>Gregorio Rossi</dc:creator>
    <dc:date>2023-03-22T07:39:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Object inside another Object?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673217" />
    <author>
      <name>Bhargav R Vaghasiya</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673217</id>
    <updated>2023-03-21T17:12:03Z</updated>
    <published>2023-03-21T05:27:00Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can not add one object to another object, but you can do mapping
  between the objects&lt;/p&gt;
&lt;p&gt;You just need to create one-to-many type mapping from the main object
  to the comment object&lt;/p&gt;
&lt;p&gt;Once you do the mapping, you can add one more tab to the VIEW section
  and add a view of the relations&lt;/p&gt;
&lt;p&gt;Let me know if you want step to step guide for this&lt;/p&gt;</summary>
    <dc:creator>Bhargav R Vaghasiya</dc:creator>
    <dc:date>2023-03-21T05:27:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Object inside another Object?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673163" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673163</id>
    <updated>2023-03-21T17:11:51Z</updated>
    <published>2023-03-20T17:57:48Z</published>
    <summary type="html">&lt;p&gt;Well, not an object inside of an object, but you can define
  relationships to objects and then leverage the relationship to have a
  similar concept of one object containing another.&lt;/p&gt;
&lt;p&gt;Unfortunately at this time Liferay only supports a one to many or
  many to many relationship between objects, although we have been
  pushing the team to introduce a one to one relationship. A one to many
  can simulate this if you add actions to prevent adding multiple
  children in the one to many relationship, but I (and others) feel this
  is a bit hacky. So one to one is on the roadmap, we're just not sure
  when it will be delivered.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2023-03-20T17:57:48Z</dc:date>
  </entry>
  <entry>
    <title>Object inside another Object?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121671272" />
    <author>
      <name>Gregorio Rossi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121671272</id>
    <updated>2023-03-16T20:13:20Z</updated>
    <published>2023-03-16T09:39:07Z</published>
    <summary type="html">&lt;p&gt;Hello everyone, i'm trying to understand how could i develop an
  object that stores other objects.&lt;br /&gt; To understand better, I use a
  form to get some data from the user and after I store these datas in
  an object and I display all datas in another page.&lt;/p&gt;
&lt;p&gt;Now i would like to give to users the possibility to leave a comment
  and I was thinking to store the comments like a new object inside the
  original one. Is it possible?&lt;/p&gt;
&lt;p&gt;Thanks everyone.&lt;/p&gt;</summary>
    <dc:creator>Gregorio Rossi</dc:creator>
    <dc:date>2023-03-16T09:39:07Z</dc:date>
  </entry>
</feed>
