BEA WebLogic User Manual page 50

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

Advertisement

Part III Fundamentals of Mobile Content
where="MP3Supported"
where="UsableWidthPixels < 200 and not IsPortraitPDA"
Non-literal Comparisons
Device attributes can be compared against other device attributes as follows:
where=" UsableWidthPixels == UsableHeightPixels"
Nested Expressions
Sub expressions within the
The following are valid:
where="(UsableWidthPixels < 200 and UAProf.BrowserUA.TablesCapable) or
IsPortraitPDA"
where="((UsableWidthPixels < 200 or IsPortraitPDA) and UsableHeightPixels < 300)"
where="not (UsableWidthPixels < 200 and UsableHeightPixels < 300)"
Spacing
Spacing between comparison operators will NOT invalidate the expression.
These are both valid expressions.
where="UsableWidthPixels < 200"
where="UsableWidthPixels<200"
Partial Matching
The following are all valid.
where="DeviceName.endswith('PAQ')"
where="DeviceName.startswith('IP')"
where="ImgGIFSupported"
(often used with the
Invalid Expressions
There are a number of reasons why a
In Development Mode, if there is an invalid
WebLogic Mobility Server Application Server console. If there is more than one reason why an
expression is invalid, only the first reason will be reported.
In Production Mode, the expression evaluates to false but no warning is sent to the console.
Incorrect Syntax
In these instances, the expression is not constructed properly. The expression is not built
according to the correct syntax rules.
where=" UsableWidthPixels"
Missing comparison.
46 - BEA WebLogic Mobility Server User Guide
expression can be nested using parentheses.
where
tag)
<mm-img>
expression may be invalid.
where
where
expression then a warning is sent to the

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Weblogic mobility server

Table of Contents