Oracle Portal-to-Go Implementation Guide Release 1.0.2.2 A86635-02 |
|
The Simple Result DTD is the Portal-to-Go internal representation of the result returned by an adapter. If an adapter does not return the result in this format, the master service must use the result transformer to convert the result into the Simple Result format.
The following notes describe the content of the DTD including the elements, the usage, the attributes, the children, and the DTD declarations.
SimpleResult is the result element.
This element contains the result.
title
<!ELEMENT SimpleResult (SimpleContainer+)>
<!ATTLIST SimpleResult
title CDATA #IMPLIED
>
SimpleContainer is a compound UI consisting of several simple UI elements.
Used as a logical container for one or more simple elements.
<!ELEMENT SimpleContainer (SimpleHelp?, (SimpleText | SimpleMenu
| SimpleForm | SimpleTable
| SimpleImage | SimpleBreak | SimpleHref | SimplePhone |
SimpleEmail)+)>
<!ATTLIST SimpleContainer
title CDATA #IMPLIED
>
SimpleText is used for displaying one or more blocks of text.
Used for plain text.
title
<!ELEMENT SimpleText (SimpleHelp?, SimpleTextItem+)>
<!ATTLIST SimpleText>
SimpleTextItem is a block of text.
Holds one block of text, normally a single paragraph.
#PCDATA (the actual text)
There is no line feed at the end of each SimpleTextItem. See "SimpleBreak".
name
title
<!ELEMENT SimpleTextItem (#PCDATA)>
<!ATTLIST SimpleTextItem
name CDATA #IMPLIED
title CDATA #IMPLIED
>
SimpleMenu displays a simple menu.
A single menu with selectable links.
A SimpleBreak should be inserted wherever a linefeed is desired.
<!ELEMENT SimpleMenu (SimpleHelp?, SimpleMenuItem+)>
<!ATTLIST SimpleMenu>
SimpleMenuItem is a single, selectable option in a SimpleMenu.
This is a menu item that links to something.
target (the link target for this item)
icon (the name of the icon without an extension. The file extension is appended by the device transformer.)
<!ELEMENT SimpleMenuItem (SimpleMenu?)>
<!ATTLIST SimpleMenuItem
target CDATA #REQUIRED
icon CDATA #IMPLIED
>
SimpleForm displays one or more input fields.
Used as a data-entry form.
target (the link target for this form)
submit (the text for the submit button, default is "Submit")
<!ELEMENT SimpleForm (SimpleHelp?, (SimpleFormItem |
SimpleFormSelect)+)>
!ATTLIST SimpleForm
target CDATA #REQUIRED
submit CDATA #IMPLIED
>
SimpleFormItem is a single input item in a simple form.
Used for user input.
#PCDATA (a default value from the server, it deprecates the default attribute)
value (see the description for "default")
default (a default value for optional fields, it is deprecated by the value of the element. See the child element for more information.)
name (the name of the variable)
title (specifies a title for the element, which may be used in the presentation of this object)
mandatory (indicates that the form item is mandatory)
maxLength (provides a maximum input length)
size (the width of the input field, if the input field is larger than the device screen, it is displayed in multiple lines)
format (the format of inputs, see the WML 1.1 specification for more information)
type (whether the input field should have "password" style, valid values are text or password)
<!ELEMENT SimpleFormItem (#PCDATA)>
<!ATTLIST SimpleFormItem
name CDATA #REQUIRED
title CDATA #IMPLIED
value CDATA #IMPLIED
default CDATA #IMPLIED
mandatory (yes|no) "no"
maxLength CDATA #IMPLIED
size CDATA #IMPLIED
format CDATA #IMPLIED
type (text|password) "text"
>
SimpleFormSelect is a selectable option menu in a simple form.
Presents a selectable number of options to the user. This is a radio box group.
name (the name of the variable)
title (the display name for the variable)
<!ELEMENT SimpleFormSelect (SimpleHelp?, SimpleFormOption+)>
<!ATTLIST SimpleFormSelect
name CDATA #REQUIRED
title CDATA #IMPLIED
>
SimpleFormOption is a single option in a simple form.
A single option.
#PCDATA (the text of the option)
value (the value assigned when this option is selected)
<!ELEMENT SimpleFormOption (#PCDATA)>
<!ATTLIST SimpleFormOption
value CDATA #REQUIRED
>
SimpleTable is for displaying tabular data.
Used for simple tabular data only.
title (the title for the table)
<!ELEMENT SimpleTable (SimpleTableHeader?, SimpleTableBody)>
<!ATTLIST SimpleTable
title CDATA #IMPLIED
>
SimpleTableHeader contains the table header.
Contains table header information, such as column headers.
none
<!ELEMENT SimpleTableHeader (SimpleCol+)>
<!ATTLIST SimpleTableHeader>
SimpleTableBody contains the actual tabular data.
Contains table data rows.
none
<!ELEMENT SimpleTableBody (SimpleRow+)>
<!ATTLIST SimpleTableBody>
SimpleRow contains a single row of data.
Stores a table row.
none
<!ELEMENT SimpleRow (SimpleCol+)>
<!ATTLIST SimpleRow>
SimpleCol contains a single table cell.
Stores a single value for a table cell.
#PCDATA (the column value)
<!ELEMENT SimpleCol (#PCDATA)>
<!ATTLIST SimpleCol>
SimpleImage displays an image.
Used to reference an external image.
none
target (the URL for this image, without an extension)
alt (the alternative text, if the device does not support images)
width (the width of the image)
height (the height of the image)
<!ELEMENT SimpleImage EMPTY>
<!ATTLIST SimpleImage
target CDATA #REQUIRED
alt CDATA #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
>
SimpleBreak provides a logical break in the layout.
Used to provide a logical break.
none
none
<!ELEMENT SimpleBreak EMPTY>
<!ATTLIST SimpleBreak>
SimplePhone references a phone number.
A phone number.
#PCDATA (the name of the phone)
target (a phone number, for example, +46705104725)
<!ELEMENT SimplePhone (#PCDATA)>
<!ATTLIST SimplePhone>
SimpleEmail references an email address.
Used to reference an email address.
#PCDATA (the name of the user)
target (the email address)
<!ELEMENT SimpleEmail (#PCDATA)>
<!ATTLIST SimpleEmail
target CDATA #REQUIRED
>
SimpleHref provides an anchor to another resource.
An anchor to another resource.
#PCDATA (the name of the link)
target (the link)
<!ELEMENT SimpleHref (#PCDATA)>
<!ATTLIST SimpleHref
target CDATA #REQUIRED
>
SimpleHelp indicates a help text.
Used for help text.
#PCDATA (the name of the help text)
none
<!ELEMENT SimpleHelp (#PCDATA)>
<!ATTLIST SimpleHelp>
|
Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|