BEA WebLogic User Manual page 39

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

Advertisement

Place Content Outside a Group's Body
Text inside a group, but outside both the group head and body will not appear on menu-driven
devices that are using a structure to reference the group. The following code snippet uses a
structure to reference a group called "group1". This group contains two sentences: one inside the
body; one outside. For menu-driven devices, only the text inside the body is delivered to the
device.
...
<mm:structure id="str1" where="IsMenuDriven">
<mm:group-ref idref="group1" depth="flat" type="normal" display="all"/>
</mm:structure>
...
<mm:group id="group1" title="My Group1">
<mm:head id="head1" useradded="yes">Heading Text<br/></mm:head>
<p>This text will NOT appear on menu-driven devices, but will appear on full
browsers.</p>
<mm:body id="body1" idref="head1">
<p>This text will appear on menu-driven devices AND full browsers.</p>
</mm:body>
</mm:group>
...
This feature allows content authors to specify only parts of a large section of content for delivery
to menu-driven devices by using multiple bodies within a single group.
Examples
mm-group
The following examples illustrate the different ways in which
Example 1: mm-group with mm-head and mm-body
This example demonstrates the basic behavior of
Notice that the heading "Company Details" is in bold on the menu-driven device. When
is set to yes, "Company Details" does not appear on full browser devices.
useradded
<mm-group id="gp_company_details" title="Details">
<mm-head id="hd_company_details" useradded="yes">
Company Details
</mm-head>
<mm-body id="bd_company_details" idref="hd_company_details">
<p>ABC Company Ltd.</p>
<p>North Business Park, Circular Road, Dublin, Ireland</p>
<p>Phone: 888-000-111</p>
<p>Fax: 000-888-111</p>
</mm-body>
</mm-group>
Part III Fundamentals of Mobile Content
<mm-group>
with
<mm-group>
<mm-head>
BEA WebLogic Mobility Server User Guide - 35
can be defined.
and
.
<mm-body>

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