Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1 Beta
-
Fix Version/s: 1.1 Final
-
Component/s: None
-
Labels:None
-
Environment:mobile
Description
The page Panel defines a header, body and footer facet and when used with combination with deviceStyleSheet will be styled for the detected device.
<pagePanel>
<facet name="header" />
<facet name="body" />
<facet name="footer" />
</pagePanel>
The component can be used in a panelStack or on its own or not at all. All depends on what the developer is up too. Here is simple mobile component example showing how to use a the camera component but will get a nice pretty wrapper.
<pagePanel>
<facet name="header" >Camera Example</facet>
<facet name="body" >
<fieldsetGroup>
<fieldsetRow>
<form>
<camcorder id="cc" type="basic"
value="#{camcorderBean.clip}"/>
<thumbnail for="cc"/>
<commandButton >
</form>
</fieldsetRow>
</filedsetGroup>
</facet>
</pagePanel>
<pagePanel>
<facet name="header" />
<facet name="body" />
<facet name="footer" />
</pagePanel>
The component can be used in a panelStack or on its own or not at all. All depends on what the developer is up too. Here is simple mobile component example showing how to use a the camera component but will get a nice pretty wrapper.
<pagePanel>
<facet name="header" >Camera Example</facet>
<facet name="body" >
<fieldsetGroup>
<fieldsetRow>
<form>
<camcorder id="cc" type="basic"
value="#{camcorderBean.clip}"/>
<thumbnail for="cc"/>
<commandButton >
</form>
</fieldsetRow>
</filedsetGroup>
</facet>
</pagePanel>
Going to take a shot at this one.