Part III Fundamentals of Mobile Content
Organize Content
This section introduces a key concept that forms the foundation for organizing and managing
your content – groups.
The section introduces the following mmXHTML tags:
•
<mm:group>
•
<mm:head>
•
<mm:body>
•
<mm:id-ref>
Introducing Groups
Groups are a way of organizing your content for the purpose of having greater control over what
gets displayed on each device. Grouping involves dividing your content into logical sections and
assigning these sections an ID that can be referenced when deciding which groups of content
should be delivered to specific devices.
WebLogic Mobility Server introduces the notion of implicit and explicit groups. Implicit groups
are created by assigning an
Explicit groups are those you create with the WebLogic Mobility Server
element enables you to split content into a number of separate components that can be referenced
individually, for example, organizing a news page into national, regional and local news groups.
Alternatively, you can use
form) and reference them as a single unit.
Create Explicit Groups
The
tag has a number of attributes to identify and tailor the content group and allow
<mm:group>
it to be referenced by other mark-up tags.
Define a Named Group
Use the following tag to define and assign an id to a group:
<mm:group id="..." title="...">
where
is a unique identifier for your group and
id
When assigning an
name you should select a consistent naming convention to make it easier to
id
manage your groups. Choosing a meaningful name will also remind you of the group's purpose.
Note: The group
must not contain spaces.
id
After the
tag, you can assign a heading and define the body. Complete the group
<mm:group>
with the closing tag:
</mm:group>
For example,
<mm:group id="gp_details" title="About Us">
...
</mm:group>
32 - BEA WebLogic Mobility Server User Guide
to an existing XHTML tag like a form or a table.
id
to collect a number of resources (such as a table and a
<mm:group>
<mm:group>
is the title of the group.
title
tag. This
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?