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

AmlList

Description

An AmlList is a standard bulleted List.

Element Body

(AmlContainer*, AmlText?, AmlListItem+, AmlStyle?)

Parent

AmlPage, AmlForm, AmlTableCol, AmlGroup

Restrictions

None

AML Attributes

Attribute  

Description  

Possible values  

Default  

Req’d?  

bullet 

Set the bullet type 

(disc|square|circle) 

circle 

No 

indent 

Set the indentation string 

CDATA 

No Default 

No 

cache 

Set the caching 

(true|false) 

true 

No 

persist 

Set the persist flag 

(true|false) 

false 

No 

Markup Language Examples

Sample AML Input:

<AmlDocument bold="true" title="Welcome">
	<AmlPage title="Chooser" bold="true">
		<AmlList>
		<AmlListItem>
		<AmlText text="Running"/>
		</AmlListItem>
		<AmlListItem>
		<AmlText text="Jumping"/>
		</AmlListItem>
		<AmlListItem>
		<AmlText text="Skipping"/>
		</AmlListItem>
		</AmlList>
	</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">Chooser</p>
		<p> o Running<br/> o
		Jumping<br/> o Skipping<br/>
		</p>
	</card>
</wml>

Sample cHTML Output:

<html>
	<head>
		<title>Welcome</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">
				<b>Chooser</b>
			</a>
			</div>
		<ul type="circle"> <li>Running</li>
		<li>Jumping</li> <li>Skipping</li>
		<ul>
	</body>
</html>