title: Liferay SearchContainer with multiple classes
body: <p>I want to make a date list with patients and doctors, in database have 1: N, and the patients is reference by the id, when i do a simple serach-container the column doctorName is null because the patient class has not a name namedDoctor , Only have idDoctor and the doctorName it owns a doctor class, so i have two classes and 1 search-container and i do not know how to put the names of doctors :/</p>
  
  <p><strong>Search-container</strong></p>
  
  <p>' emptyResultsMessage="empty-cita-menssage-result">
      "
          total="&lt;%= CitaLocalServiceUtil.getCitasCount()  %>"
      />
      
          &lt;
      </p>
  
  <pre><code>&lt;liferay-ui:search-container-row className="com.everis.formacion.model.Cita"
      keyProperty="idCita"
      modelVar="cita"
      escapedModel="&lt;%= true %&gt;"&gt;
  
      &lt;liferay-ui:search-container-column-text
          name="fechaCita"
          property="&lt;%= CitaPortlet.REQUEST_FECHA_PACIENTE_PARAM %&gt;"
      /&gt;
  
      &lt;liferay-ui:search-container-column-text
          name="nombrePaciente"
          property="&lt;%= CitaPortlet.REQUEST_NOMBRE_PACIENTE_PARAM %&gt;"
      /&gt;
  
      &lt;liferay-ui:search-container-column-text 
          name="nombreDoctor"
          property="&lt;%= DoctorPortlet.REQUEST_NOMBRE_PARAM %&gt;"
      /&gt;
  
      &lt;liferay-ui:search-container-column-text 
          name="comentarios"
          property="&lt;%= CitaPortlet.REQUEST_COMENTARIO_PARAM %&gt;"
      /&gt;
  &lt;/liferay-ui:search-container-row&gt;
  &lt;liferay-ui:search-iterator /&gt;
  </code></pre>
  
  <p></p>