view src/main/webapp/clean/components/publicShowSubjects.xhtml @ 169:0b5d02012299 public_by_author

more work on publicByAuthor feature.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 31 May 2018 20:26:10 +0200
parents
children 8604b368ec19
line wrap: on
line source

<!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://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<body>
	<ui:composition>

   <!-- <h:outputStylesheet name="/css/ismi-db/repository.css" /> -->
            


		<h:panelGrid columns="3" styleClass="displayPanel"
			columnClasses="displayPanelColumn01,displayPanelColumn02">

			<h:outputLabel value="Person ID" />
			<h:inputText value="#{Session.publicByAuthor.selectedPersonId}" />
            <h:outputText value="#{Session.publicByAuthor.selectedPerson.ownValue}" />

            <a4j:commandButton value="search"
                actionListener="#{Session.publicByAuthor.listenerAuthorIdSearch}"
                render="selectSubjectPanel" />

		</h:panelGrid>

		<h:panelGrid id="selectSubjectPanel" columns="1"
			style="margin-left: auto; margin-right: auto; text-align: center; width: 100%;"
			>
	                 <rich:dataTable
                        rendered="#{!empty Session.publicByAuthor.selectedPersonTexts}"
                        value="#{Session.publicByAuthor.selectedPersonTexts}" var="titleItem"
                        styleClass="select">
                        <rich:column>
                                <div>#{titleItem.ownValue}</div>
                        </rich:column>
                    </rich:dataTable>

			
			
		</h:panelGrid>



	</ui:composition>
</body>
</html>