WebuiRequestContext context = event.getRequestContext();
UIWizardPageSetInfo pageSetInfo = event.getSource();
UIPageCreationWizard uiWizard = (UIPageCreationWizard) pageSetInfo.getAncestorOfType(UIPageCreationWizard.class);
String uri = context.getRequestParameter(OBJECTID);
UIPageNodeSelector uiPageNodeSelector = pageSetInfo.getChild(UIPageNodeSelector.class);
try {
uiPageNodeSelector.setSelectedURI(uri);
if (!uiPageNodeSelector.getSelectedNode().getURI().equals(uri)) {
context.getUIApplication().addMessage(new ApplicationMessage("UIWizardPageSetInfo.msg.node.deleted", null));
}
} catch (NavigationServiceException ex) {
context.getUIApplication().addMessage(
new ApplicationMessage("UIWizardPageSetInfo.msg.navigation.deleted", null));