File $projectDirectory/resources/xml/model/film/FilmDescDIGENERATED.xml describes the layout of FilmDesc entity linked to a Film entity (OneToOne relationship).. **Following XML elements:**
getComposite().setEnabled(null != getEntity()); getComposite().setEnabled(null != getEntity()); getControl().setData("ONE_TO_ONE", #ENTITY_MM(adi://myproject/model.film/FilmMM).getFieldMap().get("filmDesc"));
\\ **renders the following layout:**\\ {{ filmdesc_detail_generated.jpg | FilmDescription detail (brute)}} \\ \\ \\ **Change XML elements** * Copy FilmDescDIGENERATED.axml file to FilmDescDI.axml which will become the reference for generated code. * Replace above XML lines with the following ones:     
                                      getComposite().setEnabled(null != getEntity());                                           getComposite().setEnabled(null != getEntity()); getControl().setData("ONE_TO_ONE", #ENTITY_MM(adi://myproject/model.film/FilmMM).getFieldMap().get("filmDesc"));                                                                                                               
** renders the new layout:**\\ {{ filmdesc_detail.jpg | FilmDesc detail (improved)}} Remark:\\ File FilmDescDIGENERATED.axml is copied as file FilmDescDI.axml, so that, if a generation process occurs, changes will not be affected. * Line 32: description property field is managed in a ExtraText controller. * Line 33: image property field is managed in a ImageViewer controller.