Parameters in Controller

Parameters in Controller, www.askhareesh.com
There are 2 parameters in the controller.
  • OAPageContext
  • OAWebBean
OAPageContext:
  • To get and set values of the fields using the OAPageContext.getparatmeter and OAPageContext.putparameter.
  • To call one page to another page OAPageContext.setforwardURL.
  • To redirect the current page itself use OAPageContext.forwardImmediatelyToCurrentPage (or) OAPageContext.sendRedirect and many more.
OAWebBean:
  • OAWebBean represents the Hierarchy/Structure of the components in the page.
  • WebBean represents the properties of item.



*/