publisherRevision.xhtml
3.17 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:jsf="http://xmlns.jcp.org/jsf"
>
<head>
<f:metadata>
<f:viewParam name="publisherRevisionId" value="#{publisherRevisionView.publisherRevisionId}" />
<f:viewAction action="#{publisherRevisionView.loadData}" />
</f:metadata>
</head>
<body>
<h:form>
<h:commandLink action="home">
<h:outputText value="Menu principal"/>
</h:commandLink>
<h:panelGrid columns="2">
<h:outputText value='publisherName'/>
<h:outputText value='#{publisherRevisionView.publisherName}'/>
<h:outputText value='publisherStreetAddress'/>
<h:outputText value='#{publisherRevisionView.publisherStreetAddress}'/>
<h:outputText value='publisherPostalCode'/>
<h:outputText value='#{publisherRevisionView.publisherPostalCode}'/>
<h:outputText value='publisherPostOfficeBoxNumber'/>
<h:outputText value='#{publisherRevisionView.publisherPostOfficeBoxNumber}'/>
<h:outputText value='publisherAddressRegion'/>
<h:outputText value='#{publisherRevisionView.publisherAddressRegion}'/>
<h:outputText value='publisherAddressLocality'/>
<h:outputText value='#{publisherRevisionView.publisherAddressLocality}'/>
<h:outputText value='publisherAddressCountry'/>
<h:outputText value='#{publisherRevisionView.publisherAddressCountry.countryName}'/>
<ui:remove>
<h:selectOneMenu value="#{publisherRevisionView.publisherAddressCountry}" converter="omnifaces.SelectItemsConverter">
<f:selectItems value="#{publisherRevisionView.availableCountries}" var="country" itemLabel="#{country.countryName}"/>
</h:selectOneMenu>
</ui:remove>
<h:outputText value='publisherTelephone'/>
<h:outputText value='#{publisherRevisionView.publisherTelephone}'/>
<h:outputText value='publisherEmail'/>
<h:outputText value='#{publisherRevisionView.publisherEmail}'/>
<h:outputText value='publisherURL'/>
<h:outputText value='#{publisherRevisionView.publisherURL}'/>
<h:outputText value='publisherActive'/>
<h:outputText value="#{publisherRevisionView.publisherActive}"/>
<ui:remove>
<h:selectBooleanCheckbox value="#{publisherRevisionView.publisherActive}"/>
</ui:remove>
<h:outputText value='publisherHistory'/>
<h:outputText value='#{publisherRevisionView.publisherHistory}'/>
<h:outputText value="publisherRevisionAuthor"/>
<h:outputText value="#{publisherRevisionView.publisherRevisionAuthor.displayName}"/>
<h:outputText value="publisherRevisionDatetime"/>
<h:outputText value="#{publisherRevisionView.publisherRevisionDatetime}"/>
<ui:remove>
<h:outputText value='Add'/>
<h:commandButton action="#{publisherRevisionView.update}" value="Add"/>
</ui:remove>
</h:panelGrid>
</h:form>
</body>
</html>