Sun Java System Portal Server Mobile Access 7.1 Developer's Reference

AmlBr

Description

The AmlBr element is used to separate other elements that are displayed. The AmlBr element has no attributes.

Element Body

((AmlContainer)*)

Parent

AmlPage, AmlForm, AmlTableCol, AmlGroup, AmlListItem

Restrictions

None

AML Attributes

Attribute  

Description  

Possible values  

Default  

Req’d?  

None 

Not Applicable 

Not Applicable 

Not Applicable 

Not Applicable 

Markup Language Examples

Sample AML Input:

<AmlDocument>
	<AmlPage title=”Hello World Page”>
		<AmlText text=”Hello World!”/>
		<AmlBr/>
		<AmlText text="The rest of the story."/>
	</AmlPage>
</AmlDocument>

Sample WML Output:

<?xml version=”1.0”?>
<!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN”
“http://www.wapforum.org/DTD/wml_1.1.xml”>
<wml>
	<head>
		<meta http-equiv=”Cache-Control” content=”max-age=0”/>
	</head>
	<card id=”agp0”>
		<p align=”center”>Hello World Page</p>
		<p>
		Hello World!<br/> The rest of the story.
		</p>
	</card>
</wml>

Sample cHTML Output:

<html>
	<head>
		<title></title>
		<meta name=”PalmComputingPlatform” content=”true”></meta>
		<meta http-equiv=”Pragma” content=”no-cache”></meta>
		<meta http-equiv=”Cache-Control” content=”no-cache”></meta>
	</head>
	<body>
		<div align=”center”>
			<a name=”agp0”>Hello World Page</a>
		</div>
		Hello World!<br/> The rest of the story.
	</body>
</html>