Portalchildren"
From Documentation
Jimmyshiau (talk | contribs) m (→Use cases) |
Jimmyshiau (talk | contribs) |
||
Line 21: | Line 21: | ||
<source lang="xml" > | <source lang="xml" > | ||
<portallayout> | <portallayout> | ||
− | <portalchildren width=" | + | <portalchildren width="50%"> |
− | <panel height="150px" title=" | + | <panel height="150px" title="Yahoo"> |
− | <panelchildren>.. | + | <panelchildren> |
+ | <iframe width="100%" src="http://www.yahoo.com/"/> | ||
+ | </panelchildren> | ||
</panel> | </panel> | ||
− | <panel height="300px" title=" | + | <panel height="300px" title="Google"> |
− | <panelchildren>.. | + | <panelchildren> |
+ | <iframe width="100%" src="http://www.google.com/"/> | ||
+ | </panelchildren> | ||
</panel> | </panel> | ||
</portalchildren> | </portalchildren> | ||
− | <portalchildren width=" | + | <portalchildren width="50%"> |
− | <panel height="150px" title=" | + | <panel height="150px" title="ZK"> |
− | <panelchildren>.. | + | <panelchildren> |
+ | <iframe width="100%" src="http://www.zkoss.org/"/> | ||
+ | </panelchildren> | ||
</panel> | </panel> | ||
</portalchildren> | </portalchildren> |
Revision as of 02:45, 26 November 2010
Portalchildren
- Demonstration: Portallayout
- Java API: Portalchildren
- JavaScript API: Portalchildren
- Style Guide: Portalchildren
Employment/Purpose
The column of Portallayout
Child of Portalchildren can only be Panel
Example
<portallayout>
<portalchildren width="50%">
<panel height="150px" title="Yahoo">
<panelchildren>
<iframe width="100%" src="http://www.yahoo.com/"/>
</panelchildren>
</panel>
<panel height="300px" title="Google">
<panelchildren>
<iframe width="100%" src="http://www.google.com/"/>
</panelchildren>
</panel>
</portalchildren>
<portalchildren width="50%">
<panel height="150px" title="ZK">
<panelchildren>
<iframe width="100%" src="http://www.zkoss.org/"/>
</panelchildren>
</panel>
</portalchildren>
</portallayout>
Supported Events
None | None |
- Inherited Supported Events: XulElement
Supported Children
* Panel
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|