Then started adding the line <ma:window.MaterialWindow ui:field="window" width="50%" title="Documents"> in the UiBinder
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:m="urn:import:gwt.material.design.client.ui"
xmlns:ma="urn:import:gwt.material.design.addins.client.autocomplete">
...
<ma:MaterialAutoComplete placeholder="Contacts" ui:field="autocomplete" />
...
</ui:UiBinder>
I followed these steps to use the MaterialWindow addin from the gwt-material-addins-1.5.0.jar in an application.
xmlns:ma="urn:import:gwt.material.design.addins.client.window"
and declared the window as--> <ma:MaterialWindow ui:field="window" ...
xmlns:ma="urn:import:gwt.material.design.addins.client"
<ma:window.MaterialWindow ui:field="window" ...
<ma:
camera.MaterialCameraCapture
ui:field="camera" ...
<ma:autocomplete.MaterialAutoComplete ui:field="autocomplete" ...
The problem is think was related to an old package that used the namespace
gwt.material.design.addins.client.ui
instead
of the
gwt.material.design.addins.client
. This is fixed on 1.5.1.