I added a new tab in customer section to display a list of subscriptions (http://i.imgur.com/pKlCfqK.png) :

I would like to redirect the admin to the subscription section when he click on the cell, to display the detail of this subscription :

What i have done :
In MyCustomerPresenter :
Code: Select all
((CreateBasedListStructurePresenter) customerSubscriptionPresenter).getRowDoubleClickedHandlerRegistration().removeHandler();
getDisplay().getCustomerSubscriptionDisplay().getGrid().addCellDoubleClickHandler(new CellDoubleClickHandler() {
@Override
public void onCellDoubleClick(CellDoubleClickEvent event) {
String subscriptionId = event.getRecord().getAttributeAsString("id");
Window.Location.assign(BLCMain.webAppContext + "#moduleKey=BLCCustomerCare&pageKey=Abonnement&itemId="+subscriptionId);
}
});
It works, but all the page is reloaded. Is there another mean without reloading all the page ?
Thanks in advance for your help