Create Header and Footer Groups for Menu-driven Devices
This section explains how to display a header and footer on each page presented on a menu-
driven mobile device. It refers specifically to the following mmXHTML tags:
•
<mm-group>
•
<mm-structure>
•
<mm-include>
And the following attributes (within the
•
idheader
•
idfooter
Create header and footer groups
Insert the pieces of content that you want to display as header and footer into the page. Then
define header and footer groups by inserting
assigning it a group ID.
Note
•
You must use
<mm-include>
for menu-driven devices
•
To ensure consistent spacing within header and footer groups, use the
the header and footer content
In the following extract, for example, a
content "Copyright", and the group has been assigned a group ID of "footer".
<mm-group id="footer" title="Example Footer">
<mm-include where="IsMenuDriven">
<span>
-----------------<br/>
<b>Copyright</b><br/>
-----------------<br/>
</span>
</mm-include>
</mm-group>
> tag)
<mm-structure
<mm-group>
tags to ensure that the content of these groups is only included
tag has been inserted around the footer
<mm-group>
BEA WebLogic Mobility Server User Guide - 41
Part III Fundamentals of Mobile Content
tags around each piece of content and
<span>
tags to enclose
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?