| |
 |
|
Oracle Tips by Burleson |
Display Only Fields
Display Only fields are used just to display
information in a simple format. The following is an example of
a Display Only field:
Like all items fields, the Display Only
fields can be conditional for display.
-
: The value of the page
item will be displayed as text on the screen. The value of
the page item will not be saved to the session state when the
page is submitted.
-
: Same as Display as Text
(does not save state) but the value is saved to the session
state when the page is submitted.
-
:
The value of the page item will be displayed without any
conversions. Normally if the value contains HTML tags, the
tags will be translated and rendered. With this type of item,
the tags will not be translated.
-
: This type
of display field will be based on the results from a LOV.
Remember, each LOV has a display value and a result. If the
item is equal to the result, the display values will appear on
the screen. For example: A LOV has the following display
values and results:
STATIC:Red;R,Blue;B,Green:G,White;W
-
If the value of the page item is W
from a SELECT statement, computation, process, etc., the
display will be White. The value of the page item will not be
saved to the session state when the page is submitted.
-
: This is the
same as the Display as Text (based on LOV, does not save
state), but the value is saved to the session state when the
page is submitted.
-
: This is
the more complicated type of the Display as Text fields. This
field is based on the results of an anonymous PL/SQL block.
When this field is rendered, the PL/SQL block will be
evaluated and the result is displayed. The PL/SQL block must
set the page item to the value to be displayed. The source of
the item must be anonymous PL/SQL block.
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
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|