BEA WebLogic User Manual page 62

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

Advertisement

Part IV Presentation of Mobile Content
myFile.jsp
<%@ taglib uri="mmJSPtaglib" prefix="mm"%>
<mm:page content="false">
<html>
<head>
<title>Restyling for PDAs</title>
<mm:layout where="IsPDA" src="pda_layout.jsp" />
</head>
<body>
<table>
<tr>
<td><mm:group id="group1" title="Group1">
<p>Content of group 1.</p>
</mm:group>
</td>
<td><mm:group id="group2" title="Group2">
<p>Content of group 2.</p>
</mm:group>
</td>
</tr>
</table>
</body>
</html>
</mm:page>
pda_layout.jsp
<%@ taglib uri="mmJSPtaglib" prefix="mm"%>
<mm:page>
<html>
<head>
<title>PDA Layout</title>
</head>
<body>
<p><mm:id-ref idref="group1" /></p>
<p><mm:id-ref idref="group2" /></p>
</body>
</html>
</mm:page>
pda_layout.jsp takes the two blocks of content that, on a PC browser, would appear side by side
and places them one on top of the other. Group 1 displays above group 2. The tag
uses its
attribute to reference IDs of the pre-defined groups.
idref
58 - BEA WebLogic Mobility Server User Guide
<mm:id-ref>

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