Visual JavaScript JSB Palette Item Source
|
The following are the JavaScript components that come with Visual JavaScript.
The link displays the source of the JSB file.
Database Components
Most database components run on the server, where they can access the LiveWire
database service of server-side JavaScript. A few run on the client
and use other methods to get data from the database through the Enterprise
server.
-
ClientCursor.jsb:
A client-side LiveConnect component that makes exclusive use of the following
Java classes:
-
Cursor.jsb: Creates a cursor
on the server from an SQL query.
-
CustomTable.jsb: Displays
query results in an HTML table. Uses:
-
cCustomTable.js: client-side
JavaScript file that defines functions used in the JSB constructor
-
DBPool.jsb: Represents a
pool of LiveWire database connections.
-
DBSelect.jsb: Displays
query results in an HTML SELECT element. Uses:
-
cSelectBox.js: client-side
JavaScript file that defines a function
-
DBSource.jsb: Represents
a Visual JavaScript data source
-
DummyCursor.jsb: A
client-only component that mimics JSBufferedCursor for testing and learning
purposes.
-
FormAccept.jsb: Accepts
a form submission and performs an insert, update, or delete to the database
-
JavaDummyCursor.jsb:
A client-only component that mimics ClientCursor
-
JSBufferedCursor.jsb:
Creates a cursor on the server and then creates a client-side image of
it in JavaScript.
-
SimpleTable.jsb: Creates
a basic HTML table from a SQL query
-
SQLExec.jsb: Executes SQL
on the server
Client-side JavaScript Components
Other JavaScript Components
-
Label.jsb: Evaluates a JavaScript
expression on the server and formats it in HTML. Useful for displaying
a single value from a cursor, among other things.
-
SendMail.jsb: Sends a
mail message from server-side JavaScript
( return to the top of the page )