comparison src/main/webapp/entry/alias.xhtml @ 7:764f47286679

(none)
author jurzua
date Wed, 29 Oct 2014 14:28:34 +0000
parents
children
comparison
equal deleted inserted replaced
6:ded3bccf2cf9 7:764f47286679
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:h="http://java.sun.com/jsf/html"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:ui="http://java.sun.com/jsf/facelets"
6 xmlns:a4j="http://richfaces.org/a4j"
7 xmlns:rich="http://richfaces.org/rich">
8
9 <body>
10 <ui:composition>
11 <h:panelGrid columns="1">
12 <h:outputText value="To create an alias, please go to the entry, whom you want to"/>
13 <h:outputText value="create an alias of, and create it there."/>
14 <h:outputText value="Alias - #{CurrentAlias.entity.ownValue}"
15 rendered="#{!empty CurrentAlias.entity.ownValue}"
16 styleClass="titlePanel"/>
17 <h:outputText value="Alias"
18 rendered="#{empty CurrentAlias.entity.ownValue}"
19 styleClass="titlePanel"/>
20 </h:panelGrid>
21
22 <h:panelGrid columns="2" styleClass="createPanel"
23 columnClasses="createPanelFirstColumn">
24
25 <h:outputText value="Alias" />
26 <h:inputText size="100" value="#{CurrentAlias.attributes['alias']}" />
27
28 <h:outputText value="Alias (translit)"></h:outputText>
29 <h:inputText size="100"
30 value="#{CurrentAlias.attributes['alias_translit']}" />
31
32 </h:panelGrid>
33
34 <h:commandButton value="#{CurrentAlias.saveButtonLabel}"
35 rendered="#{CurrentAlias.renderSaveButton}"
36 onclick="#{ApplicationBean1.JSConfirmationSave}"
37 action="#{CurrentAlias.save}" />
38
39 <h:outputText rendered="#{CurrentAlias.create_error}"
40 value="Alias already exists - not saved!" />
41
42
43
44 </ui:composition>
45 </body>
46 </html>