Description
An AmlGroup element is a group element for elements that enter into a design together. The developer can use one element for the members of the Group. The objects in the group are added as descendents.
Element Body
(( ( AmlContainer | AmlChoice | AmlForm | AmlLink | AmlTable | AmlText | AmlBr | AmlImage | AmlInput | AmlTextArea | AmlCheckBox | AmlList | AmlOrderedList | AmlSpace )*, AmlStyle? )
Parent
AmlPage, AmlForm, AmlTableCol
Restrictions
None
AML Attributes
| 
 Attribute  | 
 Description  | 
 Possible values  | 
 Default  | 
 Req’d?  | 
|---|---|---|---|---|
| 
 halign  | 
 Horizontal alignment setting  | 
 (left|right|center)  | 
 No Default  | 
 No  | 
| 
 valign  | 
 Vertical alignment setting  | 
 (top|middle|bottom)  | 
 No Default  | 
 No  | 
| 
 mode  | 
 Mode setting  | 
 (wrap|nowrap)  | 
 No Default  | 
 No  | 
| 
 cache  | 
 Set cache flag  | 
 (true|false)  | 
 true  | 
 No  | 
| 
 persist  | 
 Set persist flag  | 
 (true|false)  | 
 false  | 
 No  | 
Markup Language Examples
Sample AML Input:
<AmlDocument bold="true" title="Company Document"> <AmlPage title="Company Page" bold="true"> <AmlGroup halign="center" valign="top"> <AmlText bold="true" text="Welcome to Company"/> <AmlImage src="Logo" alt="Company Logo"/> </AmlGroup> </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">Company Page</p> <p align="center"> <b>Welcome to Company</b> <img alt="Company Logo" src="Logo" align="bottom"/> </p> </card> </wml>
Sample cHTML Output:
<html> <head> <title>Company Document</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>Company Page</b> </a> </div> <div align="center"> <b>Welcome to Company</b> <img alt="Company Logo" src="Logo" align="bottom"> </div> </body> </html>