diff src/main/webapp/entry/person.xhtml @ 125:eee2e0ca4032

updated entry beans to use EditIntents.
author casties
date Tue, 31 Jan 2017 18:09:54 +0100
parents 99f9a55a4957
children 0078abf001fc
line wrap: on
line diff
--- a/src/main/webapp/entry/person.xhtml	Mon Jan 30 20:35:36 2017 +0100
+++ b/src/main/webapp/entry/person.xhtml	Tue Jan 31 18:09:54 2017 +0100
@@ -49,7 +49,33 @@
 			<h:outputText value="Prime Alias" />
 			<h:inputText
 				valueChangeListener="#{CurrentPerson.shortNameChangeListener}"
-				size="100" value="#{CurrentPerson.valueShortName}" />
+				size="80" value="#{CurrentPerson.valueShortName}" />
+			<h:outputText />
+
+			<h:outputText value="Aliases" />
+			<h:panelGrid columns="1">
+				<h:panelGrid columns="2">
+					<h:dataTable value="#{CurrentPerson.aliasList.entities}" var="item"
+						rendered="#{!empty CurrentPerson.aliasList.entities}">
+						<h:column>
+							<h:outputText value="#{item.ownValue}" />
+						</h:column>
+						<h:column>
+							<h:selectBooleanCheckbox
+								value="#{CurrentPerson.aliasList.selections[item.id]}" />
+						</h:column>
+					</h:dataTable>
+					<h:commandButton value="Remove Selected"
+						actionListener="#{CurrentPerson.aliasList.listenerRemoveSelection}"
+						rendered="#{!empty CurrentPerson.aliasList.entities}" />
+				</h:panelGrid>
+
+				<h:panelGrid columns="2">
+					<h:inputText value="#{CurrentPerson.aliasList.input}" size="80"/>
+					<h:commandButton value="CREATE"
+						actionListener="#{CurrentPerson.aliasList.listenerCreate}" />
+				</h:panelGrid>
+			</h:panelGrid>
 			<h:outputText />
 
 			<h:panelGrid>
@@ -208,32 +234,6 @@
 			</h:panelGrid>
 			<h:outputText />
 			
-			<h:outputText value="Aliases" />
-			<h:panelGrid columns="1">
-				<h:panelGrid columns="2">
-					<h:dataTable value="#{CurrentPerson.aliasList.entities}" var="item"
-						rendered="#{!empty CurrentPerson.aliasList.entities}">
-						<h:column>
-							<h:outputText value="#{item.ownValue}" />
-						</h:column>
-						<h:column>
-							<h:selectBooleanCheckbox
-								value="#{CurrentPerson.aliasList.selections[item.id]}" />
-						</h:column>
-					</h:dataTable>
-					<h:commandButton value="Remove Selected"
-						actionListener="#{CurrentPerson.aliasList.listenerRemoveSelection}"
-						rendered="#{!empty CurrentPerson.aliasList.entities}" />
-				</h:panelGrid>
-
-				<h:panelGrid columns="2">
-					<h:inputText value="#{CurrentPerson.aliasList.input}" />
-					<h:commandButton value="CREATE"
-						actionListener="#{CurrentPerson.aliasList.listenerCreate}" />
-				</h:panelGrid>
-			</h:panelGrid>
-			<h:outputText />
-
 			<h:outputText value="Roles" />
 			<h:panelGrid columns="2">
 				<h:dataTable value="#{CurrentPerson.roleList.entities}" var="item"