BEA WebLogic User Manual page 187

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

Advertisement

mm-nl, mm:nl
Description
This tag name comes from the words "navigation list". It allows authors to create and style
navigation lists that can specifically target mobile devices.
Attributes
navstyle="..."
This attribute is used for styling navigational menus. The following values can be used:
nav-format: [list | table], nav-list-item-display: [none | inline | block], nav-list-style-type:
pipe, nav-image:[url(#id | url), none], nav-text-display: [none | inline | block], nav-table-
columns:[int], nav-table-rows[int]. Additional styling can be achieved using external style
sheets.
where="..."
The where attribute enables the author to specify content selection conditions for devices.
Notes
where="IsFullBrowser" is not allowed with this tag
The "where" clause quoted string must not contain line breaks
Conditions are constructed by specifying device attribute names and allowable values,
using comparison operators from the Python programming language. Multiple conditions can
be combined to make complex expressions by using the logical "and", "or" and "not"
operators from Python
WebLogic Mobility Server also supports use of the Python .endswith( ), .startswith( )
and .find( ) methods for partial matching
Restrictions
At least one condition must be specified
Attribute names must be valid as taken from the Device Repository
All String attribute values must be wrapped in single quotes
Example
<!-- This example creates a styled navigation list with 4 elements.-->
<div style="border: 1px solid">
<mm:nl navstyle="nav-format: list; nav-list-item-display: block">
<mm:li navstyle="nav-image: url(dog.gif)" href="dogs.htm">Dogs</mm:li>
<mm:li navstyle="nav-image: url(fish.gif)" href="fish.htm">Fish</mm:li>
<mm:li navstyle="nav-image: url(cat.gif)" href="cat.htm">Cats</mm:li>
<mm:li navstyle="nav-image: url(fish.gif)" href="fish.htm">Fish</mm:li>
</mm:nl>
</div>
See Also
mm:li
BEA WebLogic Mobility Server User Guide - 183
Part VIII Appendixes

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