Callbacks#

Callbacks contain the program logic. They are methods of the action-pojo and are called at runtime when processing a url. See the url processing description for details.

What should a callback do?#

A typical sequence:

  • validate the values in url variables
  • access the business-layer and get the data
  • convert the data into a format suitable for the render-pojo
  • instantiate the render-pojo and provide the prepared data to it
  • call ZTemplates.getServletService().render(render-pojo) to render the data to the response

Neuen Anhang hinzuf�gen

Du bist nicht autorisiert, Anh�nge zu dieser Seite hochzuladen.
« Diese Seite (Version-) wurde zuletzt am 08-Apr-2008 10:42 von gerdziegler.de ge�ndert.