Part IV Presentation of Mobile Content
Content Organized for PDAs
In this example, the two poems can appear side-by-side in a full browser, but in order to avoid
excessive wrapping, they are stacked one on top of the other when delivered to a PDA device.
The following code blocks contain an example of how this is done. The
tag
<mm:layout>
indicates that a layout file is to be used when the requesting device is a PDA.
Note: Layout files should contain mark-up organized for menu-driven devices and PDAs only.
Setting the attribute where="IsFullBrowser" is not allowed in the
tag.
<mm:layout>
The particular layout file is identified by the
attribute. The content in the main file
src
myFile.jsp
has been grouped. The content of the first table cell is grouped and labelled
(
)
"group1". The content of the second table cell is grouped and labelled "group2". These groups
are then referenced from the layout file using the
tag.
<mm_id-ref>
BEA WebLogic Mobility Server User Guide - 57
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?