Initializing a Managed Bean in the Java Source Code

You must initialize the property of a managed bean if the property is a complex type.

To initialize a managed bean in the Java Source code:

  1. Right-click the managed bean that you want to initialize in the Data Bindings view and select Open from the context menu.

    The source code displays.

  2. Use the default constructor new ObjectType();

    The managed bean property is initialized.

Initializing a Managed Bean in the Faces Configuration File

Creating a Java Managed Bean

Creating an EJB Managed Bean

Creating a Service Managed Bean

Creating a DataWindow Managed Bean

Web Application Development Views

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com