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
<?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['graficoPizzaAfiliacao.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"/>
                            <p:wizard
                                backLabel="Anterior"
                                nextLabel="Proximo"
                                flowListener="#{graficoPizzaBean.onFlowProcessAfiliacao}"

                                >  

                                <p:tab id="afiliacao" title="#{msg['graficoPizzaAfiliacao.Afiliacao']}">  

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

                                        <h:panelGrid id="afiliacaoSelecao" columns="4" columnClasses="label, value" styleClass="tabs">  
                                            <p:growl id="nn"/>
                                            <h:outputText value="#{msg['graficoPizzaAfiliacao.NomeAfiliacao']}"/>
                                            <p:autoComplete
                                                id="autoCompleteAfiliacao"
                                                forceSelection="true"
                                                minQueryLength="6"
                                                value="#{graficoPizzaBean.afiliacao}"
                                                converter="AfiliacaoConverter"
                                                completeMethod="#{graficoPizzaBean.autoCompleteAfiliacao}"
                                                var="afiliacaoComplete"
                                                itemLabel="#{afiliacaoComplete.nome}"
                                                itemValue="#{afiliacaoComplete}"/>


                                            <p:commandButton
                                                value="#{msg['graficoPizzaAfiliacao.Adicionar']}"
                                                action="#{graficoPizzaBean.adiconarAfiliacao()}"
                                                update="afiliacaoSelecao,dtAfiliacao"
                                                />

                                            <p:dataTable 
                                                id="dtAfiliacao"
                                                value="#{graficoPizzaBean.afiliacoesSelecionadas}"
                                                var="afiliacaoS">
                                                <p:column headerText="Nome">
                                                    <h:outputText value="#{afiliacaoS.nome}"/>
                                                </p:column>

                                                <p:column headerText="#{msg['graficoPizzaAfiliacao.Remover']}">
                                                    <p:commandButton
                                                        id="cbRemoverAfiliacaor"
                                                        ajax="false"
                                                        icon="ui-icon-trash"
                                                        action="#{graficoPizzaBean.removerAfiliaca()}"                                                        
                                                        >
                                                        <f:setPropertyActionListener
                                                            target="#{graficoPizzaBean.afiliacao}"
                                                            value="#{afiliacaoS}"/>
                                                    </p:commandButton>
                                                </p:column>

                                            </p:dataTable>



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



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

                                    <p:panel >  

                                        <h:panelGrid styleClass="tabs">  
                                            <f:ajax render="afiliacaoP">
                                                <p:pieChart id="afiliacaoP" value="#{graficoPizzaBean.pieModelAufiliacao}" legendPosition="w"  
                                                            title="#{msg['graficoPizzaAfiliacao.ProducaoAfiliacoes']}" 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/graficoPizzaAfiliacao.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 heartle picture heartle Sat 19 Apr, 2014 15:41:03 +0000