I want to have some menu on all pages, and my idea is to create one page for that and include it in all other. Is it possible?
how to include one page in another in gwt ui.xml
Sure it is. Create your menu (lets say it's com.something.Menu together with Menu.ui.xml), then in the including component:
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:my='urn:import:com.something'>
<g:HTMLPanel>
Hello world!
<my:Menu />
</g:HTMLPanel>
</ui:UiBinder>
© 2022 - 2024 — McMap. All rights reserved.