3. From the Connection list, choose the connection in which your stored procedure may be found.
4. Select the prepared statement you want to insert from the Type list: Insert, Update, or Delete.
Dreamweaver inserts appropriate code into the SQL area for each selection.
5. Complete the SQL code manually by entering columns and values in the SQL area.
6. As an alternative to manually entering the column names in the SQL statement, you can select
any other element in the Database Items area and click the Select or Where button to insert them.
7. Enter any necessary variables by clicking the Add (+) button in the Variables area and entering the
values under each column: Param and Runtime Value.
8. Click OK when you??™re finished.
1076
Extending Dreamweaver Part VII
JavaBean
To insert a JavaBean as a data source, follow these steps:
1. From the Server Behaviors panel, click the Add (+) button and select JavaBean from the list. The
Java Bean dialog box, shown in Figure 34-24, is displayed.
FIGURE 34-24
Dreamweaver supports JavaBean classes in an individual CLASS (.class) file or compressed
in a ZIP or JAR archive.
2. If desired, enter a unique name in the Name field.
3. Set how the JavaBean variables may be accessed. Methods include selecting a Scope: page,
request, session, or application.
Pages:
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822