title: Xpages Extension Library - pageTreeNode or basicLeafNode
body: <p>With a pageTreeNode I can forward the user to another page in my application, but I cannot take any action beside this. </p>
  
  <p>If I want to do some more actions, I have to use a basicLeafNode and in the action I use (for example):</p>
  
  <p>viewStateBean.restoreState = true;
  context.redirectToPage( "someXPage.xsp" );</p>
  
  <p>Is the behavior really the same, or what is recommended to use ?</p>