| |||||||
FRAMES NO FRAMES |
Tag Information | |
Tag Class | org.dbforms.taglib.DbSetDataSourceTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
dataSource | true | true | java.lang.String | Attribute in page that will be used to reference the connection object Allows other tags (and/or java scriptlets) to obtain a connection via the same settings as defined in dbForms Example: (using Jakarta dbTags) <db:setDataSource dataSource="myDataSource" /> <sql:query var="qry" dataSource="${myDataSource}">Select * from Table</sql:query> <c:forEach var="row" items="${qry.rows}" > Value: <c:out value="{row.field}" /> </c:forEach> |
dbConnectionName | false | true | java.lang.String | indicate which dbconnection object to user. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |