Create a Navigation Hierarchy for Menu-Driven Devices
Earlier in "Organize Content for Handheld Devices", we described the use of layouts and
structures in WebLogic Mobility Server that involves the use of
tag. The navigation that WebLogic Mobility Server generates for menu-driven
structure>
devices requires a more detailed discussion of this tag.
The format of the
<mm-group-ref>
<mm-group-ref idref="..." depth=".." display="..." type="..."/>
to generate this list, where
number of levels you want in the hierarchy. The
set to "headings." The
display
generated Navigation Menu.
Depth Attribute Effect on Navigation Menu
Depth
Effect on generated Navigation Menu
0
Displays a link to the parent group
1
Displays a collection of links to the parent group and the immediate child
groups
2
Displays a collection of links to the parent and all nested sub-groups.
Use Options Menus
Some phones have the capability to display links in an options menu that can be called up from
within any WML page. These links can be used to provide a handy way to bring users to various
parts of a site.
For example, a page may be split into five cards on a deck. Assume the user is browsing the last
card and wishes to navigate back to the first card (back to the top of the page). This task can be
made easier by the author providing a link to Home in the options menu rather than the user
having to click Back four times.
To create an option menu you use the XHTML
follows:
<meta name="..." content="..." scheme="mmsection"/>
The WebLogic Mobility Server JSP taglib syntax:
<mm:meta name="..." content="..." scheme="mmsection"/>
Attributes
•
name
Specifies text that will appear as the link in the options menu.
•
Content
Relative URL that the link should go to.
tag is:
is the unique ID of the group you want to reference and depth is
idref
type
attribute is set depending on the desired effect on the
depth
<meta>
Part IV Presentation of Mobile Content
<mm-group-ref>
attribute should be set to "normal" and
tag. The mmXHTML syntax is as
BEA WebLogic Mobility Server User Guide - 93
within an
<mm-
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?