With Errai-UI how do you set manually the hash for each pages.
For example:
MainPage.java
MainPage.html
The hash would be #MainPage
How can I change it to #!MainPage
?
You can set the hash with the path
attribute of the @Page
annotation. In answer to your specific question, do this:
@Templated
@Page(path="!MainPage")
public class MainPage extends Composite {
// ...
}