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:util="http://java.sun.com/jsf/composite/components" |
22 |
xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component"> |
23 |
|
24 |
<mobi:tabSet defaultId="example" |
25 |
parentFooter="#{!mobiClient.handheldBrowser}" |
26 |
orientation="top" id="viewmanagerPage_tabs"> |
27 |
<mobi:contentPane |
28 |
facelet="false" client="true" |
29 |
id="desc" title="#{mmsgs['example.description.label']}" |
30 |
style="min-height:300px"> |
31 |
<ui:include src="#{viewManagerBean.descriptionPath}"/> |
32 |
</mobi:contentPane> |
33 |
<mobi:contentPane |
34 |
facelet="false" client="true" |
35 |
id="example" title="#{mmsgs['example.example.label']}"> |
36 |
|
37 |
<mobi:fieldsetGroup> |
38 |
<mobi:fieldsetRow> |
39 |
The View Manager component can automatically adapt the layout for a device. |
40 |
</mobi:fieldsetRow> |
41 |
</mobi:fieldsetGroup> |
42 |
|
43 |
<h:form> |
44 |
<mobi:fieldsetGroup> |
45 |
|
46 |
<mobi:fieldsetRow> |
47 |
<mobi:commandButton value="Go to the View Manager Example" |
48 |
action="showcase-viewmanager?faces-redirect=true"/> |
49 |
</mobi:fieldsetRow> |
50 |
</mobi:fieldsetGroup> |
51 |
|
52 |
</h:form> |
53 |
</mobi:contentPane> |
54 |
<mobi:contentPane |
55 |
facelet="false" client="true" |
56 |
id="docs" title="#{mmsgs['example.resources.label']}"> |
57 |
<ui:include src="#{viewManagerBean.resourcesPath}"/> |
58 |
</mobi:contentPane> |
59 |
</mobi:tabSet> |
60 |
|
61 |
</ui:composition> |