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 / WEB-INF / includes / examples / layout / viewmanager.xhtml
Show File - viewmanager.xhtml  [show properties]
spinner
<!--
  ~ Copyright 2004-2014 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 
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>


feed icon

sventon 2.5.1