Oracle9i Application Server Wireless Edition Developer's Guide
Release 1.1

Part Number A86700-01

Library

Solution Area

Contents

Index

Go to previous page Go to next page

A
Simple Result DTD Reference

The Simple Result DTD is the Wireless Edition 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 describes the content of the DTD including the elements, the usage, the attributes, the children, and the DTD declarations.

You can access the complete Simple Result DTD file, simpleresult.dtd, in the Oracle_Home/panama/dtd directory.

Each section of this document presents a different topic. These sections include:

Symbols

This document uses the following symbols to indicate the usage of subelements.

Table A-1 DTD Symbols

Symbol  Meaning 

Indicates that a subelement must appear at least once within the parent element. If the plus sign appears after a parenthetical grouping of subelements, then at least one of the listed subelements must appear within the parent element. 

Indicates that a subelement may appear only once or not at all. 

A.1 SimpleResult

Element

SimpleResult is the result element of a Wireless Edition service request.

Usage

This element contains the actual content delivered to the end user.

Children

SimpleContainer

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleResult (SimpleContainer+)>

<!ATTLIST SimpleResult

title CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

<SimpleText>
   <SimpleTextItem>Hello World</SimpleTextItem>
</SimpleText>

</SimpleContainer>
</SimpleResult
Example Output

Figure A-1 SimpleResult Example Output


Text description of dtd1.gif follows.
Text description of the illustration dtd1.gif

A.2 SimpleContainer

Element

SimpleContainer is a compound UI consisting of several simple UI elements.

Usage

Used as a logical container for one or more simple elements. This is the highest level tag.

Children

SimpleText

SimpleTimer

SimpleMenu

SimpleForm

SimpleTable

SimpleImage

SimpleBreak

SimpleHref

SimplePhone

SimpleEmail

SimpleHelp

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleContainer (SimpleHelp?, SimpleTimer?, (SimpleText |

SimpleMenu| SimpleForm | SimpleTable | SimpleImage | SimpleBreak

| SimpleHref | SimplePhone | SimpleEmail)+)>

<!ATTLIST SimpleContainer

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>
<SimpleText>
   <SimpleTextItem>Hello World</SimpleTextItem>
</SimpleText>

</SimpleContainer>
</SimpleResult>
Example Output

Figure A-2 SimpleContainer Example Output


Text description of dtd1.gif follows.
Text description of the illustration dtd1.gif

A.3 SimpleText

Element

SimpleText is used for displaying one or more blocks of text.

Usage

Used for blocks of text which are defined by SimpleTextItem.

Children

SimpleTextItem

SimpleHelp

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleText (SimpleHelp?, SimpleTextItem+)>

<!ATTLIST SimpleText

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.3.1 SimpleTextItem

Element

SimpleTextItem is a block of text.

Usage

Holds one block of text, normally a single paragraph.

Children

#PCDATA (the actual text)

Comment

There is no line feed at the end of each SimpleTextItem. See "SimpleBreak".

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleTextItem (#PCDATA)>

<!ATTLIST SimpleTextItem

name CDATA #IMPLIED

link CDATA #IMPLIED

title CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

<SimpleText>
   <SimpleTextItem>Hello World</SimpleTextItem>
</SimpleText>

</SimpleContainer>
</SimpleResult
Example Output

Figure A-3 SimpleTextItem Example Output


Text description of dtd1.gif follows.
Text description of the illustration dtd1.gif

A.4 SimpleMenu

Element

SimpleMenu displays a simple menu.

Usage

A simple menu with selectable menu items.

Children

SimpleMenuItem

SimpleHelp

Attributes

Attribute  Description 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleMenu (SimpleHelp?, SimpleMenuItem+)>

<!ATTLIST SimpleMenu

link CDATA #IMPLIED

title CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.4.1 SimpleMenuItem

Element

SimpleMenuItem is a single, selectable option in a menu.

Usage

The option may be another SimpleMenu element.

Children

SimpleMenu

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

section 

The section identifier within the WIDL. This is optional. 

separator 

A separator before or after the element. This is optional. 

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. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleMenuItem (SimpleMenu?)>

<!ATTLIST SimpleMenuItem

name CDATA #IMPLIED

link CDATA #IMPLIED

title CDATA #IMPLIED

section CDATA #IMPLIED

separator (before|after|none) "none"

target CDATA #REQUIRED

icon CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

<SimpleMenu title="CRM Mobile">
   <SimpleMenuItem target="<%=baseUrl%>jtfwlgnm.jsp"
      title="Apps Login"> Apps Login</SimpleMenuItem>
   <SimpleMenuItem target="<%=baseUrl%>examples.jsp"
      title="Examples">Examples</SimpleMenuItem>
</SimpleMenu>
   
</SimpleContainer>
</SimpleResult
Example Output

Figure A-4 SimpleMenuItem Example Output


Text description of dtd2.gif follows.
Text description of the illustration dtd2.gif

A.5 SimpleForm

Element

SimpleForm displays one or more input fields.

Usage

Used as a data-entry form.

Children

SimpleFormItem

SimpleHelp

SimpleFormSelect

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title of the element. This is optional. 

section 

The section identifier within the WIDL. This is optional. 

target 

The link target for this form. 

submit 

The text for the submit button, default is "Submit". 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleForm (SimpleHelp?, (SimpleFormItem |

SimpleFormSelect)+)>

!ATTLIST SimpleForm

name CDATA #IMPLIED

link CDATA #IMPLIED

title CDATA #IMPLIED

section CDATA #IMPLIED

target CDATA #REQUIRED

submit CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.5.1 SimpleFormItem

Element

SimpleFormItem is a single input item in a simple form.

Usage

Used for user input.

Children

#PCDATA (a default value from the server, it deprecates the default attribute)

SimpleFormSelect

Attributes

Attribute  Description 

value 

A value of the element. 

default 

A default value for optional fields, it is deprecated by the attribute of the element. 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

Specifies a title for the element, which may be used in the presentation of this object. This is optional. 

mandatory 

Indicates whether the form item is mandatory. Values are "yes" or "no". The default is "no". 

maxLength 

Specifies 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

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleFormItem (#PCDATA)>

<!ATTLIST SimpleFormItem

name CDATA #IMPLIED

link CDATA #IMPLIED

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"

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.5.2 SimpleFormSelect

Element

SimpleFormSelect is a selectable option menu in a simple form.

Usage

Presents a selectable number of options to the user. This is a radio box group.

Children

SimpleFormOption

SimpleHelp

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The display name of the element. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleFormSelect (SimpleHelp?, SimpleFormOption+)>

<!ATTLIST SimpleFormSelect

name CDATA #IMPLIED

link CDATA #IMPLIED

title CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
   <SimpleContainer>
      <SimpleForm target="<%baseUrl%>doCountry.jsp">
         <SimpleFormSelect name="country" title="Select a country:">
            <SimpleFormOption value="US">United States</SimpleFormOption>
            <SimpleFormOption value="UK">United Kingdom</SimpleFormOption>
            <SimpleFormOption value="IT">Italy</SimpleFormOption>
         </SimpleFormSelect>
      </SimpleForm>
   </SimpleContainer>
</SimpleResult>
Example Output

Figure A-5 SimpleFormSelect Example Output


Text description of dtd3.gif follows.
Text description of the illustration dtd3.gif

A.5.3 SimpleFormOption

Element

SimpleFormOption is an item in a selectable option menu. The content of this element, which is in parsable character format, specifies the text for the option.

Usage

A single option.

Children

#PCDATA (the text of the option)

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The display name of the element. This is optional. 

value 

The actual value, as character data, assigned when the user selects the option. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleFormOption (#PCDATA)>

<!ATTLIST SimpleFormOption

name CDATA #IMPLIED

link CDATA #IMPLIED

title CDATA #IMPLIED

value CDATA #REQUIRED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

<SimpleForm title="Login"
   target="<%=baseURL%>jtfwvald.jsp"
   submit="Login">
   <SimpleFormItem name="username"
      title="Username: ">Username: </SimpleFormItem>
   <SimpleFormItem name="password"
      type="password"
      title="Password: ">Password: </SimpleFormItem>
</SimpleForm>

</SimpleContainer>
<?SimpleResult>
Example Output

Figure A-6 SimpleFormOption Example Output 1


Text description of dtd4.gif follows.
Text description of the illustration dtd4.gif

Figure A-7 SimpleFormOption Example Output 2


Text description of dtd5.gif follows.
Text description of the illustration dtd5.gif

A.6 SimpleTable

Element

SimpleTable represents tabular data.

Usage

Used for simple tabular data only.

Children

SimpleTableHeader

SimpleTableBody

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleTable (SimpleTableHeader?, SimpleTableBody)>

<!ATTLIST SimpleTable

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.6.1 SimpleTableHeader

Element

SimpleTableHeader represents column headings.

Usage

Contains table header information, such as column headings.

Children

SimpleCol

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleTableHeader (SimpleCol+)>

<!ATTLIST SimpleTableHeader

title CDATA #IMPLIED

name CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.6.2 SimpleTableBody

Element

SimpleTableBody contains the actual tabular data.

Usage

Contains table data rows.

Children

SimpleRow

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleTableBody (SimpleRow+)>

<!ATTLIST SimpleTableBody

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.6.3 SimpleRow

Element

SimpleRow contains a single row of data.

Usage

Stores a table row.

Children

SimpleCol

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleRow (SimpleCol+)>

<!ATTLIST SimpleRow

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

A.6.4 SimpleCol

Element

SimpleCol represents a single table cell.

Usage

Stores a single value for a table cell.

Children

#PCDATA (the column value)

SimpleImage

SimpleHref

SimplePhone

Attributes

Attribute  Description 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleCol (#PCDATA|SimpleImage|SimpleHref|SimplePhone)>

<!ATTLIST SimpleCol

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

<SimpleTable title="Profitibility">

   <SimpleTableHeader>
      <SimpleCol>&nbsp;<SimpleCol>
      <SimpleCol>1999</SimpleCol>
      <SimpleCol>2000</SimpleCol>
   </SimpleTableHeader>

   <SimpleTableBody>
      <SimpleRow>
         <SimpleCol>Q1</SimpleCol>
         <SimpleCol>68</SimpleCol>
         <SimpleCol>75</SimpleCol>
       </SimpleRow>
      <SimpleRow>
         <SimpleCol>Q2</SimpleCol>
         <SimpleCol>72</SimpleCol>
         <SimpleCol>86</SimpleCol>
       </SimpleRow>
      <SimpleRow>
         <SimpleCol>Q3</SimpleCol>
         <SimpleCol>81</SimpleCol>
         <SimpleCol>69</SimpleCol>
      </SimpleRow>
      <SimpleRow>
         <SimpleCol>Q4</SimpleCol>
         <SimpleCol>88</SimpleCol>
         <SimpleCol>85</SimpleCol>
       </SimpleRow>
   </SimpleTableBody>

</SimpleTable>

</SimpleContainer>
</SimpleResult>
Example Output

Figure A-8 SimpleCol Example Output


Text description of dtd6.gif follows.
Text description of the illustration dtd6.gif

A.7 SimpleImage

Element

SimpleImage displays an image.

Usage

Used to reference an external image.

Children

none

Attributes

Attribute  Description 

target 

The link target for the image. 

src 

The link for the image source. 

alt 

The alternative text, if the device does not support images. 

width 

The width of the image. 

height 

The height of the image. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

addImageExtension 

Specifies whether the stylesheet should add the image extension. The default is true (add image extension). 

DTD Declaration

<!ELEMENT SimpleImage EMPTY)>

<!ATTLIST SimpleImage

src CDATA #REQUIRED

target CDATA #REQUIRED

alt CDATA #IMPLIED

width CDATA #IMPLIED

height CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

addImageExtension (true|false) "true"

>

Example
<SimpleResult>
<SimpleContainer>

  <SimpleText>
    <SimpleTextItem>Oracle Logo</SimpleTextItem>
  </SimpleText>
 
 <SimpleImage target="<%=baseURL%>ora" alt="Oracle Logo">Oracle 
Image</SimpleImage>

</SimpleContainer>
</SimpleResult>
Example Output

Figure A-9 SimpleImage Example Output


Text description of dtd7.gif follows.
Text description of the illustration dtd7.gif

A.8 SimpleBreak

Element

SimpleBreak provides a logical break in the layout.

Usage

Used to provide a logical break.

Children

none

DTD Declaration

<!ELEMENT SimpleBreak EMPTY>

<!ATTLIST SimpleBreak>

Example
<SimpleResult>
   <SimpleContainer>	
      <SimpleText>
         <SimpleTextItem>List 1a</SimpleTextItem>
         <SimpleTextItem>List 1b</SimpleTextItem>
      </SimpleText>
      <SimpleBreak />
      <SimpleText>
         <SimpleTextItem>List 2a</SimpleTextItem>
         <SimpleTextItem>List 2b</SimpleTextItem>
      </SimpleText>
   </SimpleContainer>	
</SimpleResult>
Example Output

Figure A-10 SimpleBreak Example Output


Text description of dtd9.gif follows.
Text description of the illustration dtd9.gif

A.9 SimplePhone

Element

SimplePhone references a phone number.

Usage

A phone number.

Children

#PCDATA (the name of the phone)

Attributes

Attribute  Description 

target 

A phone number. 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimplePhone (#PCDATA)>

<!ATTLIST SimplePhone

target CDATA #REQUIRED

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
  <SimpleContainer>
    <SimpleText>
      <SimpleTextItem>Phone Book</SimpleTextItem>
    </SimpleText>  
    <SimplePhone target="14155551212">James</SimplePhone>
    <SimplePhone target="16505551212">John</SimplePhone>
    <SimplePhone target="14085551212">Mark</SimplePhone>
    <SimplePhone target="17075551212">Deanna</SimplePhone>
  </SimpleContainer>
</SimpleResult>
Example Output

Figure A-11 SimplePhone Example Output


Text description of dtd8.gif follows.
Text description of the illustration dtd8.gif

A.10 SimpleEmail

Element

SimpleEmail references an email address.

Usage

Used to reference an email address.

Children

#PCDATA (the name of the user)

Attributes

Attribute  Description 

target 

The email address. 

name 

The name of the element. This is optional. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleEmail (#PCDATA)>

<!ATTLIST SimpleEmail

target CDATA #REQUIRED

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>
    <SimpleText>
       <SimpleTextItem>Email Test</SimpleTextItem>
    </SimpleText>
    <SimpleEmail target="david123@oracle.com">David</SimpleEmail>
    <SimpleEmail target="lisa123@oracle.com">Lisa</SimpleEmail>
</SimpleContainer>
</SimpleResult>
Example Output

Figure A-12 SimpleEmail Example Output


Text description of dtd10.gif follows.
Text description of the illustration dtd10.gif

A.11 SimpleHref

Element

SimpleHref provides an anchor to another resource.

Usage

An anchor to another resource.

Children

#PCDATA (the name of the link)

Attributes

Attribute  Description 

target 

The link target for the reference. 

name 

The name of the SimpleHref, used to override button actions. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

type 

Specifies the type of SimpleHref, used to bind the target to a device-specific button. 

label 

Specifies the label to use, if SimpleHref is bound to a button. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleHref (#PCDATA)>

<!ATTLIST SimpleHref

target CDATA #REQUIRED

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

type (accept|option1|option2)

label CDATA

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example

See Section A.12, "SimpleHelp".

Example Output

See Section A.12, "SimpleHelp".

A.12 SimpleHelp

Element

SimpleHelp indicates a help text.

Usage

Used for help text.

Children

#PCDATA (the name of the help text)

Attributes

Attribute  Description 

name 

The name of the SimpleHref, used to override button actions. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleHelp (#PCDATA)>

<!ATTLIST SimpleHelp

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
<SimpleContainer>

  <SimpleText>
    <SimpleTextItem>Welcome to</SimpleTextItem>
  </SimpleText>

  <SimpleImage target="<%=baseURL%>ora" alt="Oracle Logo">Oracle               
Image</SimpleImage>
  <SimpleBreak></SimpleBreak>
  <SimpleBreak></SimpleBreak>

  <SimpleHref target="<%=baseURL%>login.jsp">Login</SimpleHref>

</SimpleContainer>
</SimpleResult>
Example Output

Figure A-13 SimpleHelp Example Output


Text description of dtd11.gif follows.
Text description of the illustration dtd11.gif

A.13 SimpleTimer

Element

Defines a timer for displaying a SimpleContainer.

Usage

When the timer expires the target url is displayed.

Children

none

Attributes

Attribute  Description 

timer 

The numeric timer value in 1/10 of a second. 

target 

The URL to be executed when the timer has expired. 

name 

The name of the SimpleHref, used to override button actions. 

link 

A link for the element. This is optional. 

title 

The title for the table. This is optional. 

valign 

The vertical alignment: top, center, or bottom. 

halign 

The horizontal alignment: left, center, or right. 

wrapmode 

The wrap mode: wrap or nowrap. 

DTD Declaration

<!ELEMENT SimpleTimer EMPTY>

<!ATTLIST SimpleTimer

timer %number #REQUIRED

title CDATA #IMPLIED

name CDATA #IMPLIED

link CDATA #IMPLIED

target CDATA #REQUIRED

valign (top|center|bottom) "top"

halign (left|center|right) "left"

wrapmode (wrap|nowrap) #IMPLIED

>

Example
<SimpleResult>
  <SimpleContainer name = "Advertisement Container">
  <SimpleTimer target ="#actualpage" timer = "30" />
    <Simple Text>
      <SimpleTextItem> This page can contain advertisement </SimpleTextItem> 
    </SimpleText>
  </SimpleContainer>

  <SimpleContainer name ="actualpage">
    <SimpleText>
      <SimpleTextItem> Welcome to the actual page </SimpleTextItem>
    </SimpleText>
  </SimpleContainer>
</SimpleResult> 


Go to previous page Go to next page
Oracle
Copyright © 2001 Oracle Corporation.

All Rights Reserved.

Library

Solution Area

Contents

Index