Is is possible to make the page “jump” to a certain part in a similar way as when using classical html anchors but using a vaadin component ? I mean given a url parameter string such as sectionNumber=1¶graphNumber=4 when loading section 4 (a long text to display) it jumps to paragraph 4 of this text ?
I guess using classical anchor (#) is not possible because they are already used to target which page of the application must be loaded, ex:
I’m not sure if there is a simpler way to do this, but on technique I have used is to extend the client-side of some layout, and use the GWT method scrollIntoView(). This way, you can scroll the layout into view when necessary from using parameters or fragments.
Also, if you make an anchor that matches the one in the url (including the page name etc), it should work just as plain old html… I have not tried this though, and YMMV depending on how you use fragments for navigation…