diff src/main/webapp/clean/components/publicFindAuthor.xhtml @ 173:aa564b1b5e1f public_by_author

publicByAuthor feature ui for selecting texts ready. actual changing of public state not yet implemented.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 06 Jun 2018 21:01:05 +0200
parents 0b5d02012299
children ca83d67a2dc9
line wrap: on
line diff
--- a/src/main/webapp/clean/components/publicFindAuthor.xhtml	Mon Jun 04 20:17:04 2018 +0200
+++ b/src/main/webapp/clean/components/publicFindAuthor.xhtml	Wed Jun 06 21:01:05 2018 +0200
@@ -13,19 +13,20 @@
             
 
 
-		<h:panelGrid columns="2" styleClass="displayPanel"
+		<h:panelGrid columns="3" styleClass="displayPanel"
 			columnClasses="displayPanelColumn01,displayPanelColumn02">
 
+            <a4j:commandButton value="show all authors"
+                actionListener="#{Session.publicByAuthor.actionAllAuthors}"
+                render="selectPersonPanel" />
+            <h:outputText/>
+            <h:outputText/>
+
 			<h:panelGrid columns="1">
 				<h:outputLabel value="Person name" />
 				<h:outputLabel value="(name_translit)" />
 			</h:panelGrid>
 			<h:inputText value="#{Session.publicByAuthor.browseBean.personNameTranslit}" />
-
-            <a4j:commandButton value="show all"
-                actionListener="#{Session.publicByAuthor.listenerAllAuthorSearch}"
-                render="selectPersonPanel" />
-
 			<a4j:commandButton value="search"
 				actionListener="#{Session.publicByAuthor.browseBean.actionSearchByAttributes}"
 				render="selectPersonPanel" />
@@ -93,7 +94,7 @@
 				</h:panelGroup>
 			</h:column>
 
-			<rich:dataTable id="advancedDataTable" rows="10"
+			<rich:dataTable id="advancedDataTable" rows="30"
 				value="#{Session.publicByAuthor.browseBean.currentEntities}"
 				rendered="#{!empty Session.publicByAuthor.browseBean.currentEntities}"
 				var="entity" styleClass="rsPanel" columnClasses="rsPanelColumn">