|
 |
|
ss
Oracle Tips by Burleson |
Button
Attributes
There are several attributes available to buttons,
and they are different depending on how the button is created.
Figures 10.11 and 10.12 show some of the subtle differences between
the two.
Figure 10.11 shows the attributes page for a
button created in a region position and the attributes are explained
below.
Button Attributes for
Buttons in a Region Position
-
The order in
which the button will be rendered. If there are two buttons with
the same button position, the sequence determines in which order
they are rendered. The sequence attribute is used to control the
form layout.
-
The name of
the button.
-
If the
button style is set to HTML Button or Template based button, this is
the text displayed in the button. If the button is an image, this
is the text for the HTML ALT tag.
-
This is
the region in which the button will be rendered and displayed.
-
This was
explained in detail in previous sections in this chapter. See
Figures 10.7 and 10.8.
-
This
designates whether the button should align to the left or the
right. The default setting is to align to the right. Figure 10.8
shows how the buttons will display if the alignment is set to the
left.
-
There are
three options: HTML Button; Template Based Button; and Image.
-
Displays as a standard HTML button. When this
style is chosen, the Button Attributes field is enabled. There,
CSS code can be entered to modify the look of the button (i.e.
style="width:100;"). CSS is explained in a later chapter.
-
The look for this style will be
determined by the templates in the active theme.
-
This style of button expects an image file such as
edit.gif. The button can either be stored in the HTML DB
repository or as a file on disk. Image Attributes, such as
title="Press to search for a Customer.", may also be set.
-
The database action is used together with the
Automatic Row Processing (DML) process types to issue dynamic
database INSERT, UPDATE, and DELETE statements. This attribute is
only available for a button in a region position.
The above book excerpt is from:
Easy HTML-DB
Oracle Application Express
Create
Dynamic Web Pages with OAE
ISBN 0-9761573-1-4
Michael Cunningham & Kent Crotty
http://www.rampant-books.com/book_2005_2_html_db.htm
|