My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:pm="http://primefaces.org/mobile"
contentType="text/html">

<pm:page title="TwitFaces">

<!-- Main View -->
<pm:view id="main" swatch="b">
<pm:header title="TwitFaces">
</pm:header>

<pm:content>
<h:form id="twitForm">
<p:inputText value="#{twitterController.username}" label="Account: "/>

<p:separator />

<p:commandButton value="Get Tweets" icon="refresh" update="tweetList"
actionListener="#{twitterController.loadTweets}" />

<p:dataList id="tweetList" value="#{twitterController.tweets}" var="tweet" style="margin-top:1em">
#{tweet}
</p:dataList>
</h:form>
</pm:content>

</pm:view>

</pm:page>

</f:view>

Change log

r5966 by cagatay.civici on Nov 22, 2011   Diff
Sample update
Go to: 
Project members, sign in to write a code review

Older revisions

r5900 by cagatay.civici on Nov 16, 2011   Diff
Sample update
r5887 by cagatay.civici on Nov 15, 2011   Diff
Replaced pm:commandButton with
p:commandButton.
r5446 by cagatay.civici on Sep 5, 2011   Diff
Rename taglib namespaces
All revisions of this file

File info

Size: 1106 bytes, 35 lines
Powered by Google Project Hosting