Adding a Data-Driven Component to a Web Application

After you create a Web application, you can add a data-driven component by either creating a new or importing an existing DataWindow library. A data-driven component provides a graphical interface to a database, which allows the Web application to provide real-time data. To add a data-driven component, you must enable Sybase DataWindow component support, add the DataWindow project nature, and create a DataWindow managed bean in your project.

The following workflow guides you through the process of adding a data-driven component to a Web application. For assistance in performing these tasks, launch the Adding a Data-Driven Component to a Web Application cheat sheet.

To add a data-driven component:

  1. Do one of the following:

  2. Do any of the following:

  3. Add the DataWindow project nature.

  4. Configure a DataWindow library list.

  5. Create a DataWindow managed bean.

  6. Create a Web page.

  7. Complete the faces-config xml file configuration.

  8. Complete the web.xml file configuration.

  9. (Optional) Add a server-side event to the DataWindow.

  10. (Optional) Add a client-side event to the DataWindow.

  11. Create a Web application navigation flow.

  12. (Optional) View the source.

  13. Deploy the Web application.

  14. Test the linked pages in the Web application flow.

Adding Component Support to a Web Application Project

Launching a Cheat Sheet

Developing a Web Application

Cheat Sheets

Web Application Development Palette

JSF Application Configuration Editor

Web.xml Editor

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