This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Dropped the mobile-specific member-details custom-component

  • Loading branch information...
1 parent 63298c6 commit 5d0376aa670a7202e3d413c4120cbef615fc0dd3 @bleathem bleathem committed Apr 4, 2012
@@ -6,9 +6,9 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
- xmlns:mobile="http://java.sun.com/jsf/composite/components/mobile">
+ xmlns:my="http://java.sun.com/jsf/composite/components">
<h:panelGroup id="memberDetailPanel" layout="block" styleClass="mobileContent">
- <mobile:memberDetailsForm id="memberDetailsForm" member="#{member}"/>
+ <my:memberDetails id="memberDetails" member="#{member}"/>
</h:panelGroup>
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:composite="http://java.sun.com/jsf/composite">
-
-<!-- INTERFACE -->
-<composite:interface>
- <composite:attribute name="member"/>
-</composite:interface>
-
-<!-- IMPLEMENTATION -->
-<composite:implementation>
- <table>
- <tr>
- <td class="titleCell">
- <h:outputLabel for="name" value="Name:"/>
- </td>
- <td>
- <h:outputText id="name" value="#{cc.attrs.member.name}"/>
- </td>
- </tr>
-
- <tr>
- <td class="titleCell">
- <h:outputLabel for="email" value="Email:"/>
- </td>
- <td>
- <h:outputText id="email" value="#{cc.attrs.member.email}"/>
- </td>
- </tr>
-
- <tr>
- <td class="titleCell">
- <h:outputLabel for="phoneNumber" value="Phone #:"/>
- </td>
- <td>
- <h:outputText id="phoneNumber" value="#{cc.attrs.member.phoneNumber}"/>
- </td>
- </tr>
- </table>
-</composite:implementation>
-</html>

0 comments on commit 5d0376a

Please sign in to comment.