Creating a blank panel layoutCreating a simple panel layout familiarizes you with the basic concepts, including the structure and MXML definition of a panel layout.
Important:
Try not to edit the panel layout files
that are included with LiveCycle ES2.5. Instead, make uniquely named
copies of the content to help you get started creating panel layout
extensions.
Create a blank panel layout
The MXML source for your new panel layout looks like the following: <?xml version="1.0" encoding="utf-8"?> <LayoutTemplate width="100%" height="100%" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="ga.model.*" > </LayoutTemplate> Note the <LayoutTemplate> element includes the namespace attribute xmlns="ga.model.*" . It is considered good practice to provide namespaces when you reference objects from the Guides API. Providing namespaces both reduces the amount of MXML code and increases code readability. Updating the MXML source for the blank panel layout, the panel layout source looks like the following: <?xml version="1.0" encoding="utf-8"?> <ga:LayoutTemplate width="100%" height="100%" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:ga="ga.model.*" > </ga:LayoutTemplate> This panel layout project compiles with no warnings or errors. However, this panel layout in its current state does not display any objects or content. In the next section, you extend the blank panel layout to display Guide objects and Flex components. |
|
// Ethnio survey code removed