Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Problem with URI Fragment ???

Tuấn Phạm Gia
1 decade ago Jul 03, 2012 3:35am
Jens Jansson
1 decade ago Jul 04, 2012 8:29am
Henri Sara
1 decade ago Jul 04, 2012 9:32am

Jens Jansson: So it seems that listeners are not called when you programmatically change the fragment.

Fragment change listeners should be called also when setting the fragment from code unless you give "false" as a second parameter to setFragment(...).

Maybe the UriFragmentUtility is not yet attached (and painted?) or something like that - I didn't check if it is required for the events to be fired but you should see it easily in the source code..