Thanks for taking the time to go into this. I will go with the custom historian and see how that pans out. The id of the first item is indeed variable.
Thanks again for the suggestions.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
I get where you're coming from with this, but consider this scenario:
I now have the following entities in the list: 1, 2, 3, so the first element in the list would be 1. When going to the list, I would go to abc:1 which is fine - 1 will be selected and nothing else will happen (a place changed event will still be fired, but GWT will figure out that I'm navigating to the same place and ignore it). But then, 1 is deleted and so the list is 2, 3..., so the hardcoded navigation to 1 doesn't work any more.
I cannot keep recalculating the URLs based on the first element of the list, because that would mean HTTP requests and queries just to navigate somewhere.
What's worse is that 1 2 3 are id's so it will be dependent on the id generation strategy I'm using - if for instance 1 is deleted, then it may be reused for a new entity (it won't but just for the sake of the argument), which would lead to invalid bookmarks.
Perhaps the solution is to consider abc:null as a place where no element is selected and then let the user select the element.
Perhaps the solution is to consider abc:null as a place where no element is selected and then let the user select the element.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zGVFz_WFWKEJ.