Commit | Line | Data |
---|---|---|
79f1af86 MS |
1 | <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | <ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
4 | xmlns:s="http://jboss.com/products/seam/taglib" | |
5 | xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 | xmlns:f="http://java.sun.com/jsf/core" | |
7 | xmlns:h="http://java.sun.com/jsf/html" | |
8 | xmlns:rich="http://richfaces.org/rich" | |
9 | template="/layout/template.xhtml"> | |
10 | ||
11 | <ui:define name="body"> | |
12 | ||
13 | <h:form id="perguntaNodoSearch" styleClass="edit"> | |
14 | ||
15 | <rich:simpleTogglePanel label="PerguntaNodo Search Filter" switchType="ajax"> | |
16 | ||
17 | <s:decorate template="/layout/display.xhtml"> | |
18 | <ui:define name="label">Texto</ui:define> | |
19 | <h:inputText id="texto" value="#{perguntaNodoList.perguntaNodo.texto}"/> | |
20 | </s:decorate> | |
21 | ||
22 | <s:decorate template="/layout/display.xhtml"> | |
23 | <ui:define name="label">Match</ui:define> | |
24 | <h:selectOneRadio id="logic" value="#{perguntaNodoList.restrictionLogicOperator}" styleClass="radio"> | |
25 | <f:selectItem itemLabel="All" itemValue="and"/> | |
26 | <f:selectItem itemLabel="Any" itemValue="or"/> | |
27 | </h:selectOneRadio> | |
28 | </s:decorate> | |
29 | ||
30 | </rich:simpleTogglePanel> | |
31 | ||
32 | <div class="actionButtons"> | |
33 | <h:commandButton id="search" value="Search" action="/seguro/admin/rede/PerguntaNodoList.xhtml"/> | |
34 | <s:button id="reset" value="Reset" includePageParams="false"/> | |
35 | </div> | |
36 | ||
37 | </h:form> | |
38 | ||
39 | <rich:panel> | |
40 | <f:facet name="header">PerguntaNodo Search Results (#{empty perguntaNodoList.resultList ? 0 : (perguntaNodoList.paginated ? perguntaNodoList.resultCount : perguntaNodoList.resultList.size)})</f:facet> | |
41 | <div class="results" id="perguntaNodoList"> | |
42 | ||
43 | <h:outputText value="The perguntaNodo search returned no results." | |
44 | rendered="#{empty perguntaNodoList.resultList}"/> | |
45 | ||
46 | <rich:dataTable id="perguntaNodoList" | |
47 | var="_perguntaNodo" | |
48 | value="#{perguntaNodoList.resultList}" | |
49 | rendered="#{not empty perguntaNodoList.resultList}"> | |
50 | <h:column> | |
51 | <f:facet name="header"> | |
52 | <ui:include src="/layout/sort.xhtml"> | |
53 | <ui:param name="entityList" value="#{perguntaNodoList}"/> | |
54 | <ui:param name="propertyLabel" value="Id"/> | |
55 | <ui:param name="propertyPath" value="perguntaNodo.id"/> | |
56 | </ui:include> | |
57 | </f:facet> | |
58 | <h:outputText value="#{_perguntaNodo.id}"/> | |
59 | </h:column> | |
60 | <h:column> | |
61 | <f:facet name="header"> | |
62 | <ui:include src="/layout/sort.xhtml"> | |
63 | <ui:param name="entityList" value="#{perguntaNodoList}"/> | |
64 | <ui:param name="propertyLabel" value="Nodo id"/> | |
65 | <ui:param name="propertyPath" value="perguntaNodo.nodo.id"/> | |
66 | </ui:include> | |
67 | </f:facet> | |
68 | <h:outputText value="#{_perguntaNodo.nodo.id}"/> | |
69 | </h:column> | |
70 | <h:column> | |
71 | <f:facet name="header"> | |
72 | <ui:include src="/layout/sort.xhtml"> | |
73 | <ui:param name="entityList" value="#{perguntaNodoList}"/> | |
74 | <ui:param name="propertyLabel" value="Texto"/> | |
75 | <ui:param name="propertyPath" value="perguntaNodo.texto"/> | |
76 | </ui:include> | |
77 | </f:facet> | |
78 | <h:outputText value="#{_perguntaNodo.texto}"/> | |
79 | </h:column> | |
80 | <rich:column styleClass="action"> | |
81 | <f:facet name="header">Action</f:facet> | |
82 | <s:link view="/#{empty from ? 'seguro/admin/rede/PerguntaNodo' : from}.xhtml" | |
83 | value="#{empty from ? 'View' : 'Select'}" | |
84 | propagation="#{empty from ? 'none' : 'default'}" | |
85 | id="perguntaNodoViewId"> | |
86 | <f:param name="perguntaNodoId" | |
87 | value="#{_perguntaNodo.id}"/> | |
88 | </s:link> | |
89 | #{' '} | |
90 | <s:link view="/seguro/admin/rede/PerguntaNodoEdit.xhtml" | |
91 | value="Edit" | |
92 | propagation="none" | |
93 | id="perguntaNodoEdit" | |
94 | rendered="#{empty from}"> | |
95 | <f:param name="perguntaNodoId" | |
96 | value="#{_perguntaNodo.id}"/> | |
97 | </s:link> | |
98 | </rich:column> | |
99 | </rich:dataTable> | |
100 | ||
101 | </div> | |
102 | </rich:panel> | |
103 | ||
104 | <div class="tableControl"> | |
105 | ||
106 | <s:link view="/seguro/admin/rede/PerguntaNodoList.xhtml" | |
107 | rendered="#{perguntaNodoList.previousExists}" | |
108 | value="#{messages.left}#{messages.left} First Page" | |
109 | id="firstPage"> | |
110 | <f:param name="firstResult" value="0"/> | |
111 | </s:link> | |
112 | ||
113 | <s:link view="/seguro/admin/rede/PerguntaNodoList.xhtml" | |
114 | rendered="#{perguntaNodoList.previousExists}" | |
115 | value="#{messages.left} Previous Page" | |
116 | id="previousPage"> | |
117 | <f:param name="firstResult" | |
118 | value="#{perguntaNodoList.previousFirstResult}"/> | |
119 | </s:link> | |
120 | ||
121 | <s:link view="/seguro/admin/rede/PerguntaNodoList.xhtml" | |
122 | rendered="#{perguntaNodoList.nextExists}" | |
123 | value="Next Page #{messages.right}" | |
124 | id="nextPage"> | |
125 | <f:param name="firstResult" | |
126 | value="#{perguntaNodoList.nextFirstResult}"/> | |
127 | </s:link> | |
128 | ||
129 | <s:link view="/seguro/admin/rede/PerguntaNodoList.xhtml" | |
130 | rendered="#{perguntaNodoList.nextExists}" | |
131 | value="Last Page #{messages.right}#{messages.right}" | |
132 | id="lastPage"> | |
133 | <f:param name="firstResult" | |
134 | value="#{perguntaNodoList.lastFirstResult}"/> | |
135 | </s:link> | |
136 | ||
137 | </div> | |
138 | ||
139 | <s:div styleClass="actionButtons" rendered="#{empty from}"> | |
140 | <s:button view="/seguro/admin/rede/PerguntaNodoEdit.xhtml" | |
141 | id="create" | |
142 | propagation="none" | |
143 | value="Create perguntaNodo"> | |
144 | <f:param name="perguntaNodoId"/> | |
145 | </s:button> | |
146 | </s:div> | |
147 | ||
148 | </ui:define> | |
149 | ||
150 | </ui:composition> |