Subversion Repository Public Repository

ramani

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head/>
    <h:body>
        <ui:composition template="../template.xhtml">
            <ui:define name="caminho">
                <h:outputLabel value="#{msg['graficoPizzaAutor.Caminho']}"
                               style="font-weight: bold"/>
            </ui:define>

            <ui:define name="conteudoCentro">
                <p:layout>
                    <h:form id="form">

                        <p:layoutUnit position="center">
                            <h:outputStylesheet name="graficoStyle.css"/>
                            <center>
                                <h:outputLabel value="#{msg['graficoPizzaAutor.GraficoDeLinha']}"
                                               style="font-size: 25px; font-weight: bold"/>
                            </center>


                            <p:wizard
                                backLabel="Anterior"
                                nextLabel="Proximo"
                                flowListener="#{graficoPizzaBean.onFlowProcessAutor}"                             
                                >  

                                <p:tab id="autor" title="#{msg['graficoPizzaAutor.Autor']}">  

                                    <p:panel header="#{msg['graficoPizzaAutor.SelecioneAutores']}">  

                                        <h:panelGrid id="autorSelecao" columns="5" columnClasses="label, value" styleClass="tabs">  
                                            <p:growl id="nn"/>

                                            <h:outputText value="#{msg['graficoPizzaAutor.NomeAutorDp']}"/>
                                            <p:autoComplete
                                                requiredMessage="#{msg['graficoPizzaAutor.InformeNomeAutor']}"

                                                id="autoCompleteAutor"
                                                forceSelection="true"
                                                minQueryLength="4"
                                                value="#{graficoPizzaBean.autor}"
                                                converter="AutorConverter"
                                                completeMethod="#{graficoPizzaBean.autoCompleteAutor}"
                                                var="autorComplete"
                                                itemLabel="#{autorComplete.nome}"
                                                itemValue="#{autorComplete}"/>


                                            <p:commandButton
                                                value="#{msg['graficoPizzaAutor.Adicionar']}"
                                                action="#{graficoPizzaBean.adiconarAutor}"
                                                update="autorSelecao,dtAutor"
                                                />

                                            <p:dataTable 
                                                id="dtAutor"
                                                value="#{graficoPizzaBean.autoresSelecionado}"
                                                var="autorS">
                                                <p:column headerText="#{msg['graficoPizzaAutor.Nome']}">
                                                    <h:outputText value="#{autorS.nome}"/>
                                                </p:column>

                                                <p:column headerText="#{msg['graficoPizzaAutor.Remover']}">
                                                    <p:commandButton
                                                        id="cbRemoverAutor"
                                                        ajax="false"
                                                        icon="ui-icon-trash"
                                                        action="#{graficoPizzaBean.removerAutor}"                                                        
                                                        >
                                                        <f:setPropertyActionListener
                                                            target="#{graficoPizzaBean.autor}"
                                                            value="#{autorS}"/>
                                                    </p:commandButton>
                                                </p:column>

                                            </p:dataTable>





                                        </h:panelGrid>  
                                    </p:panel>  
                                </p:tab>





                                <p:tab id="pizzaAutor" title="#{msg['graficoPizzaAutor.Grafico']}">  

                                    <p:panel >  

                                        <h:panelGrid styleClass="tabs">  
                                            <f:ajax render="autorP">
                                                <p:pieChart id="autorP" value="#{graficoPizzaBean.pieModelAutor}" legendPosition="w"  
                                                            title="#{msg['graficoPizzaAutor.ProducaoAutores']}" style="width:600px;height:400px" /> 
                                            </f:ajax>

                                        </h:panelGrid>  
                                    </p:panel>  
                                </p:tab>


                            </p:wizard>  








                        </p:layoutUnit>


                    </h:form>



                </p:layout>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

Commits for ramani/Ramani/web/restrito/graficoPizzaAutor.xhtml

Diff revisions: vs.
Revision Author Commited Message
561 Diff Diff heartle picture heartle Mon 01 Dec, 2014 14:52:08 +0000
518 Diff Diff masahiro.arthur picture masahiro.arthur Mon 14 Jul, 2014 19:07:34 +0000
427 Diff Diff heartle picture heartle Mon 21 Apr, 2014 23:24:30 +0000
425 Diff Diff heartle picture heartle Sat 19 Apr, 2014 15:41:03 +0000
423 Diff Diff masahiro.arthur picture masahiro.arthur Wed 16 Apr, 2014 15:30:08 +0000

Bean ainda incompleto

416 heartle picture heartle Mon 14 Apr, 2014 04:54:25 +0000