SeZuo / SwissMuseum-Parcours

Web app to navigate inside the Swiss Museum's collection
0 stars 0 forks source link

The model.getNextPageMenu() method always returns PageMenu.NULL ! #137

Open SeZuo opened 11 years ago

SeZuo commented 11 years ago

Workaround that works in InteractiveCarousel (where we know the rank of the page we want).

int i = 0;
for (MenuData menuData : model.getAllPageMenusInCurrentGroup()) {
if (i == event.getSelectedItem()) {
    eventBus.fireEvent(new PageChangeRequest(menuData.getReference()));
    break;
}
i++;
}
SeZuo commented 11 years ago

425295ac8cadb1e1e603264694f8b26dce3cbda0 closed the issue #134, not this one.