•  
Main
About Hippo Site Toolkit 1
Technical Documentation
Expression Language
Other

Backing beans

Backing beans are JavaBeans components which are associated with UI components. The properties and associated methods (validation, event handling and navigation processing) of UI components are defined in backing beans.

A typical JavaServer Faces application includes one or more backing beans. In the example files there are three backing beans defined, at the following location:

~/hippo-site-toolkit/jsf-example-app/src/main/java/nl/hippo/client/jsfexample

Example backing beans:

  • DocumentBackingBean
  • FaqBackingBean
  • NewsBackingBean

These backing beans are simple backing beans. They only implement a reference to dasl queries, which are used to determine the structure of the menu for the corresponding components. You can expand their functionality by implementing your own methods and properties.