sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 52248 - http://anonsvn.icesoft.org/repo / icemobile / trunk / icemobile / samples / jsf / mobileshowcase / src / main / webapp / showcase-viewmanager.xhtml
Show File - showcase-viewmanager.xhtml  [show properties]
spinner
<!--
  ~ Copyright 2004-2017 ICEsoft Technologies Canada Corp.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the
  ~ License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
10    ~ Unless required by applicable law or agreed to in writing,
11    ~ software distributed under the License is distributed on an "AS
12    ~ IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13    ~ express or implied. See the License for the specific language
14    ~ governing permissions and limitations under the License.
15    -->
16  <!DOCTYPE html >
17  <html 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        xmlns:icecore="http://www.icefaces.org/icefaces/core"
24        xmlns:c="http://java.sun.com/jsp/jstl/core">
25  <h:head>
26      <title>ICEfaces Mobile Showcase</title>
27      <mobi:deviceResource theme="#{themeBean.currentTheme}"/>
28      <h:outputStylesheet library="css" name="showcase.css" media="screen"/>
29      <c:if test="#{themeBean.simulator}">
30          <h:outputStylesheet library="css" name="showcase-simulator-skin.css" media="screen"/>
31      </c:if>
32      
33      <mobi:googleAnalytics/>
34  </h:head>
35      <h:body>
36           <f:metadata>
37              <f:viewParam name="theme" value="#{themeBean.currentTheme}" /> 
38              <f:viewParam name="simulator" value="#{themeBean.simulator}"/>
39           </f:metadata>
40           <mobi:viewManager title="ICEmobile" 
41               transitionType="#{viewManagerBean.transitionType}"
42               barStyle="#{viewManagerBean.barStyle}"
43               selected="#{viewManagerBean.view}"
44               history="#{viewManagerBean.history}"
45               clientSide="#{viewManagerBean.clientSide}">
46               
47               <!-- SPLASH SCREEN -->
48               <mobi:view id="splash" splash="true" includeInMenu="false">
49                   <ui:include src="/WEB-INF/includes/content/splash.xhtml" />
50               </mobi:view>
51               
52               <!-- VIEW MANAGER -->
53               <mobi:view id="viewmanager" title="View Manager" menuIcon="th-list"
54                  navBarGroup="viewmanager" divider="Layout and Navigation">
55                   <ui:include src="/WEB-INF/includes/examples/layout/viewmanager-example.xhtml" />
56               </mobi:view>
57               <mobi:view id="viewmanagerDocs" title="Docs" menuIcon="book"
58                   includeInMenu="false" navBarGroup="viewmanager">
59                  <ui:include src="/WEB-INF/includes/examples/layout/viewmanager-desc.xhtml" />
60               </mobi:view>
61               <mobi:view id="viewmanagerCode" title="Code" menuIcon="code"
62                   includeInMenu="false" navBarGroup="viewmanager">
63                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
64                      <ui:param name="xhtmlResources" value="#{viewManagerBean.xhtmlResources}"/>
65                      <ui:param name="javaResources" value="#{viewManagerBean.javaResources}"/>
66                  </ui:include>
67               </mobi:view>
68               <!-- ACCORDION -->
69               <mobi:view id="accordion" title="Accordion" menuIcon="reorder"
70                  navBarGroup="accordion">
71                   <ui:include src="/WEB-INF/includes/examples/layout/accordion-example.xhtml" />
72               </mobi:view>
73               <mobi:view id="accordionDocs" title="Docs" menuIcon="book"
74                   includeInMenu="false" navBarGroup="accordion">
75                  <ui:include src="/WEB-INF/includes/examples/layout/accordion-desc.xhtml" />
76               </mobi:view>
77               <mobi:view id="accordionCode" title="Code" menuIcon="code"
78                   includeInMenu="false" navBarGroup="accordion">
79                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
80                      <ui:param name="xhtmlResources" value="#{accordionBean.xhtmlResources}"/>
81                      <ui:param name="javaResources" value="#{accordionBean.javaResources}"/>
82                  </ui:include>
83               </mobi:view>
84               <!-- FIELDSET -->
85               <mobi:view id="fieldset" title="Fieldset" menuIcon="minus"
86                  navBarGroup="fieldset">
87                   <ui:include src="/WEB-INF/includes/examples/layout/fieldset-example.xhtml" />
88               </mobi:view>
89               <mobi:view id="fieldsetDocs" title="Docs" menuIcon="book"
90                   includeInMenu="false" navBarGroup="fieldset">
91                  <ui:include src="/WEB-INF/includes/examples/layout/accordion-desc.xhtml" />
92               </mobi:view>
93               <mobi:view id="fieldsetCode" title="Code" menuIcon="code"
94                   includeInMenu="false" navBarGroup="fieldset">
95                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
96                      <ui:param name="xhtmlResources" value="#{fieldsetBean.xhtmlResources}"/>
97                      <ui:param name="javaResources" value="#{fieldsetBean.javaResources}"/>
98                  </ui:include>
99               </mobi:view>
100               <!-- LIST -->
101               <mobi:view id="list" title="List" menuIcon="align-justify"
102                  navBarGroup="list">
103                   <ui:include src="/WEB-INF/includes/examples/layout/list-example.xhtml" />
104               </mobi:view>
105               <mobi:view id="listDocs" title="Docs" menuIcon="book"
106                   includeInMenu="false" navBarGroup="list">
107                  <ui:include src="/WEB-INF/includes/examples/layout/list-desc.xhtml" />
108               </mobi:view>
109               <mobi:view id="listCode" title="Code" menuIcon="code"
110                   includeInMenu="false" navBarGroup="list">
111                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
112                      <ui:param name="xhtmlResources" value="#{mobiListBean.xhtmlResources}"/>
113                      <ui:param name="javaResources" value="#{mobiListBean.javaResources}"/>
114                  </ui:include>
115               </mobi:view>
116               <!-- TABSET -->
117               <mobi:view id="tabsetDemo" title="Tabset" menuIcon="folder"
118                  navBarGroup="tabset">
119                   <ui:include src="/WEB-INF/includes/examples/layout/tabset-example.xhtml" />
120               </mobi:view>
121               <mobi:view id="tabsetDocs" title="Docs" menuIcon="book"
122                   includeInMenu="false" navBarGroup="tabset">
123                  <ui:include src="/WEB-INF/includes/examples/layout/tabset-desc.xhtml" />
124               </mobi:view>
125               <mobi:view id="tabsetCode" title="Code" menuIcon="code"
126                   includeInMenu="false" navBarGroup="tabset">
127                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
128                      <ui:param name="xhtmlResources" value="#{tabsetBean.xhtmlResources}"/>
129                      <ui:param name="javaResources" value="#{tabsetBean.javaResources}"/>
130                  </ui:include>
131               </mobi:view>
132               
133               <!-- DATAVIEW -->
134               <mobi:view id="dataview" title="Data View" menuIcon="table"
135                  navBarGroup="dataview" divider="Input and Selection">
136                   <ui:include src="/WEB-INF/includes/examples/layout/dataview-example.xhtml" />
137               </mobi:view>
138               <mobi:view id="dataviewDocs" title="Docs" menuIcon="book"
139                   includeInMenu="false" navBarGroup="dataview">
140                  <ui:include src="/WEB-INF/includes/examples/layout/dataview-desc.xhtml" />
141               </mobi:view>
142               <mobi:view id="dataviewCode" title="Code" menuIcon="code"
143                   includeInMenu="false" navBarGroup="dataview">
144                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
145                      <ui:param name="xhtmlResources" value="#{dataViewBean.xhtmlResources}"/>
146                      <ui:param name="javaResources" value="#{dataViewBean.javaResources}"/>
147                  </ui:include>
148               </mobi:view>
149               <!-- BUTTONS -->
150               <mobi:view id="buttons" title="Buttons" menuIcon="expand"
151                  navBarGroup="buttons">
152                   <ui:include src="/WEB-INF/includes/examples/input/button-example.xhtml" />
153               </mobi:view>
154               <mobi:view id="buttonsDocs" title="Docs" menuIcon="book"
155                   includeInMenu="false" navBarGroup="buttons">
156                  <ui:include src="/WEB-INF/includes/examples/input/button-desc.xhtml" />
157               </mobi:view>
158               <mobi:view id="buttonsCode" title="Code" menuIcon="code"
159                   includeInMenu="false" navBarGroup="buttons">
160                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
161                      <ui:param name="xhtmlResources" value="#{buttonBean.xhtmlResources}"/>
162                      <ui:param name="javaResources" value="#{buttonBean.javaResources}"/>
163                  </ui:include>
164               </mobi:view>
165               
166               <!-- DATE AND TIME -->
167               <mobi:view id="dateTimeDemo" title="Date and Time" menuIcon="clock-o"
168                  navBarGroup="dateTime">
169                   <ui:include src="/WEB-INF/includes/examples/input/date-example.xhtml" />
170               </mobi:view>
171               <mobi:view id="dateTimeDocs" title="Docs" menuIcon="book"
172                   includeInMenu="false" navBarGroup="dateTime">
173                  <ui:include src="/WEB-INF/includes/examples/input/date-desc.xhtml" />
174               </mobi:view>
175               <mobi:view id="dateTimeCode" title="Code" menuIcon="code"
176                   includeInMenu="false" navBarGroup="dateTime">
177                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
178                      <ui:param name="xhtmlResources" value="#{dateBean.xhtmlResources}"/>
179                      <ui:param name="javaResources" value="#{dateBean.javaResources}"/>
180                  </ui:include>
181               </mobi:view>
182               
183               <!-- FLIPSWITCH -->
184               <mobi:view id="flipswitchDemo" title="Flip Switch" menuIcon="power-off"
185                  navBarGroup="flipswitch">
186                   <ui:include src="/WEB-INF/includes/examples/input/flip-switch-example.xhtml" />
187               </mobi:view>
188               <mobi:view id="flipswitchDocs" title="Docs" menuIcon="book"
189                   includeInMenu="false" navBarGroup="flipswitch">
190                  <ui:include src="/WEB-INF/includes/examples/input/flip-switch-desc.xhtml" />
191               </mobi:view>
192               <mobi:view id="flipswitchCode" title="Code" menuIcon="code"
193                   includeInMenu="false" navBarGroup="flipswitch">
194                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
195                      <ui:param name="xhtmlResources" value="#{flipSwitchBean.xhtmlResources}"/>
196                      <ui:param name="javaResources" value="#{flipSwitchBean.javaResources}"/>
197                  </ui:include>
198               </mobi:view>
199               
200               <!-- GEOLOCATION -->
201               <mobi:view id="geolocationDemo" title="Geolocation" menuIcon="map-marker"
202                  navBarGroup="geolocation">
203                   <ui:include src="/WEB-INF/includes/examples/input/geolocation-example.xhtml" />
204               </mobi:view>
205               <mobi:view id="geolocationDocs" title="Docs" menuIcon="book"
206                   includeInMenu="false" navBarGroup="geolocation">
207                  <ui:include src="/WEB-INF/includes/examples/input/geolocation-desc.xhtml" />
208               </mobi:view>
209               <mobi:view id="geolocationCode" title="Code" menuIcon="code"
210                   includeInMenu="false" navBarGroup="geolocation">
211                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
212                      <ui:param name="xhtmlResources" value="#{geoLocationBean.xhtmlResources}"/>
213                      <ui:param name="javaResources" value="#{geoLocationBean.javaResources}"/>
214                  </ui:include>
215               </mobi:view>
216               
217               <!-- AUDIO -->
218               <mobi:view id="audioDemo" title="Audio Player" menuIcon="volume-up"
219                  navBarGroup="audio" divider="Media Components">
220                   <ui:include src="/WEB-INF/includes/examples/media/audio-example.xhtml" />
221               </mobi:view>
222               <mobi:view id="audioDocs" title="Docs" menuIcon="book"
223                   includeInMenu="false" navBarGroup="audio">
224                  <ui:include src="/WEB-INF/includes/examples/media/audio-desc.xhtml" />
225               </mobi:view>
226               <mobi:view id="audioCode" title="Code" menuIcon="code"
227                   includeInMenu="false" navBarGroup="audio">
228                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
229                      <ui:param name="xhtmlResources" value="#{audioBean.xhtmlResources}"/>
230                      <ui:param name="javaResources" value="#{audioBean.javaResources}"/>
231                  </ui:include>
232               </mobi:view>
233               
234               <!-- VIDEO -->
235               <mobi:view id="videoDemo" title="Video Player" menuIcon="play"
236                  navBarGroup="video">
237                   <ui:include src="/WEB-INF/includes/examples/media/video-example.xhtml" />
238               </mobi:view>
239               <mobi:view id="videoDocs" title="Docs" menuIcon="book"
240                   includeInMenu="false" navBarGroup="video">
241                  <ui:include src="/WEB-INF/includes/examples/media/video-desc.xhtml" />
242               </mobi:view>
243               <mobi:view id="videoCode" title="Code" menuIcon="code"
244                   includeInMenu="false" navBarGroup="video">
245                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
246                      <ui:param name="xhtmlResources" value="#{videoBean.xhtmlResources}"/>
247                      <ui:param name="javaResources" value="#{videoBean.javaResources}"/>
248                  </ui:include>
249               </mobi:view>
250               
251               <!-- CAMERA -->
252               <mobi:view id="cameraDemo" title="Camera" menuIcon="camera"
253                  navBarGroup="camera">
254                   <ui:include src="/WEB-INF/includes/examples/device/camera-example.xhtml" />
255               </mobi:view>
256               <mobi:view id="cameraDocs" title="Docs" menuIcon="book"
257                   includeInMenu="false" navBarGroup="camera">
258                  <ui:include src="/WEB-INF/includes/examples/device/camera-desc.xhtml" />
259               </mobi:view>
260               <mobi:view id="cameraCode" title="Code" menuIcon="code"
261                   includeInMenu="false" navBarGroup="camera">
262                  <ui:include src="/WEB-INF/includes/examples/example-resources2.xhtml">
263                      <ui:param name="xhtmlResources" value="#{cameraBean.xhtmlResources}"/>
264                      <ui:param name="javaResources" value="#{cameraBean.javaResources}"/>
265                  </ui:include>
266               </mobi:view>
267                            
268           </mobi:viewManager>
269      </h:body>
270  </html>


feed icon

sventon 2.5.1