BEA WebLogic User Manual page 102

Mobility server
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

Part IV Presentation of Mobile Content
The <mm:table-model> Tag
WebLogic Mobility Server addresses the problem with the
allows authors to tailor table information to the requesting device so that the information is
displayed in a readable fashion regardless of the device's capabilities. It can deliver all or part of
a table, flatten tables for devices that cannot render them, and give authors the power to create
multiple configurations for the different requesting device types.
The table-model tag is a self-closing tag, which means that instead of a corresponding
, it has a slash before the final angle bracket as can be seen here:
</mm:table-model>
mm:table-model major="row" headlocation="1" bodylocation="*" tabletype="normal"
... />
This tag is usually placed directly after the XHTML
their own
<mm:table-model>
Note: This tag is specifically for controlling the display of tables on handheld devices. The
functionality of
<mm:table-model>
Understand the Table-Model attributes
This section will cover the various attributes of
they have when delivering tables to handheld devices.
It is important to understand how WebLogic Mobility Server interprets the difference between a
row-major and a column-major table.
Attributes
The
and
major
headlocation
the orientation of the table data.
major="row | column" (required attribute)
headlocation="..." (required attribute)
The following table shows a column-major table with headlocation="1". This means that the
headings that are located in column 1 should be used to orient the transformed table.
Headings in Column 1 (major="column" headlocation="1")
Fruit
Apple
Vegetable
Carrots
Meat
Beef
Dairy
Milk
The following table shows a row-major table with headlocation="1". As a row-major table,
the headings are located in row 1.
98 - BEA WebLogic Mobility Server User Guide
<table>
tag.
has no effect on PC browsers.
<mm:table-model>
attributes work together to tell WebLogic Mobility Server about
Orange
Peas
Lamb
Yoghurt
element. This tag
<mm:table-model>
tag. Nested tables, if any, need
and describe the effect that
Pear
Banana
Broccoli
Cabbage
Chicken
Fish
Butter
Cheese

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

This manual is also suitable for:

Weblogic mobility server

Table of Contents