1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
<ui:composition xmlns="http://www.w3.org/1999/xhtml" |
18 |
xmlns:h="http://java.sun.com/jsf/html" |
19 |
xmlns:f="http://java.sun.com/jsf/core" |
20 |
xmlns:ui="http://java.sun.com/jsf/facelets" |
21 |
xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component"> |
22 |
|
23 |
<mobi:fieldsetGroup styleClass="exampleDescription"> |
24 |
|
25 |
<p>The ViewManager component provides an easy way to build mobile-friendly, responsive UIs. |
26 |
The component can automatically build a multi-layered menu structure. |
27 |
</p> |
28 |
|
29 |
<pre> |
30 |
<mobi:viewManager title="ICEmobile" |
31 |
transitionType="#<span></span>{viewManagerBean.transitionType}" |
32 |
headerStyle="#<span></span>{viewManagerBean.headerStyle}" |
33 |
selected="#<span></span>{viewManagerBean.view}" |
34 |
history="#<span></span>{viewManagerBean.history}"> |
35 |
<mobi:view id="viewmanager" title="View Manager" menuIcon="th-list" |
36 |
navBarGroup="viewmanager" divider="Layout and Navigation"> |
37 |
...content |
38 |
</mobi:view> |
39 |
<mobi:view id="viewmanagerDocs" title="Docs" menuIcon="book" |
40 |
includeInMenu="false" navBarGroup="viewmanager"> |
41 |
...content |
42 |
</mobi:view> |
43 |
</mobi:viewManager> |
44 |
</pre> |
45 |
|
46 |
|
47 |
</mobi:fieldsetGroup> |
48 |
|
49 |
</ui:composition> |