I want to perform a search similar to the one in the image.
I have this in my drawerLayout, inside the main section.
<div id="applicationTitlePlaceholder" classNames="jmix-main-view-title-holder"/>
<textField id="searchField"
placeholder="msg://menu.search"
width="100%"
classNames="jmix-search-field"/>
<nav id="navigation"
classNames="jmix-main-view-navigation"
ariaLabel="msg://navigation.ariaLabel">
<listMenu id="menu"/>
</nav>
This is my menu:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--menu id="solicitudes" description="msg://com.lcsa.linceweb12/menu_config.solicitudes.description"
title="msg://com.lcsa.linceweb12/menu_config.solicitudes.title">
</menu-->
<menu id="mantenimiento" description="msg://com.lcsa.linceweb12/menu_config.maintenance.description"
title="msg://com.lcsa.linceweb12/menu_config.maintenance.title">
<item view="lw_Tblempresas.list"
title="msg://com.lcsa.linceweb12.view.tblempresas/tblempresasListView.title"/>
<item view="lw_Tbllugares.list" title="msg://com.lcsa.linceweb12.view.tbllugares/tbllugaresListView.title"/>
<item view="lw_Tblareas.list" title="msg://com.lcsa.linceweb12.view.tblareas/tblareasListView.title"/>
<item view="lw_Tblsecciones.list"
title="msg://com.lcsa.linceweb12.view.tblsecciones/tblseccionesListView.title"/>
<item view="lw_Tblcentrocosto.list"
title="msg://com.lcsa.linceweb12.view.tblcentrocosto/tblcentrocostoListView.title"/>
<item view="lw_Tbljefaturas.list"
title="msg://com.lcsa.linceweb12.view.tbljefaturas/tbljefaturasListView.title"/>
<item view="lw_Tblconceptos.list"
title="msg://com.lcsa.linceweb12.view.tblconceptos/tblconceptosListView.title"/>
<item view="lw_Tblhorario.list" title="msg://com.lcsa.linceweb12.view.tblhorario/tblhorarioListView.title"/>
<item view="lw_Tblgrupohorario.list"
title="msg://com.lcsa.linceweb12.view.tblgrupohorario/tblgrupohorarioListView.title"/>
<item view="lw_Tblpersonal.list"
title="msg://com.lcsa.linceweb12.view.tblpersonal/tblpersonalListView.title"/>
<!-- <item view="lw_Tbltiposempleado.list"
title="msg://com.lcsa.linceweb12.view.tbltiposempleado/tbltiposempleadoListView.title"/>-->
<item view="lw_Tblpersonalcontrato.list"
title="msg://com.lcsa.linceweb12.view.tblpersonalcontrato/tblpersonalcontratoListView.title"/>
<item view="lw_Tblpersonalsalida.list"
title="msg://com.lcsa.linceweb12.view.tblpersonalsalida/tblpersonalsalidaListView.title"/>
</menu>
I am guided by the following repository on github: https://github.com/jmix-framework/jmix-ui-samples-2/blob/main/src/main/java/io/jmix/uisamples/view/sys/ main/MainView.java
But I have the following error
My code is the following i.e. the MainView.java:
My code is the same as the one found in the repository mentioned above. My MainView.Java is exactly the same, unlike the menu.xml. How could I complete the search engine or maybe there is another way to implement the search engine other than ?