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:
Do one of the following:
Add the data-driven component to an existing Web Application project.
Create a new Web Application project.
In the New Web Application Project wizard, select to create a blank project and add DataWindow component support.
Do any of the following:
(Optional) Change the appearance of the control.
Bind the DataWindow managed bean to the DataWindow object in the Web page.
(Optional) Preview the Web page.
Repeat step 6 a-i to create additional Web pages.
(Optional) Add a server-side event to the DataWindow.
(Optional) Add a client-side event to the DataWindow.
(Optional) View the source.
Adding Component Support to a Web Application Project
Web Application Development Palette
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com