fix columns

This commit is contained in:
Anton Romanov 2019-11-24 20:58:07 +04:00
parent d741bd019a
commit e7061f4545

View File

@ -6,17 +6,17 @@
<ui:composition template="/basicTemplate.xhtml"> <ui:composition template="/basicTemplate.xhtml">
<ui:define name="content"> <ui:define name="content">
<p:dataTable value="#{papersView.papers}" var="paper" paginator="true" rows="10"> <p:dataTable value="#{papersView.papers}" var="paper" paginator="true" rows="10">
<p:column headerText="Статус">
<ui:include src="paperStatusFragment.xhtml">
<ui:param name="paper" value="#{paper}"/>
</ui:include>
</p:column>
<p:column headerText="Название"> <p:column headerText="Название">
<h:outputLink value="/paper/paper.xhtml"> <h:outputLink value="/paper/paper.xhtml">
#{paper.title} #{paper.title}
<f:param name="id" value="#{paper.id}"/> <f:param name="id" value="#{paper.id}"/>
</h:outputLink> </h:outputLink>
</p:column> </p:column>
<p:column headerText="Статус">
<ui:include src="paperStatusFragment.xhtml">
<ui:param name="paper" value="#{paper}"/>
</ui:include>
</p:column>
</p:dataTable> </p:dataTable>
</ui:define> </ui:define>
</ui:composition> </ui:composition>