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:define name="content">
<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="Название">
<h:outputLink value="/paper/paper.xhtml">
#{paper.title}
<f:param name="id" value="#{paper.id}"/>
</h:outputLink>
</p:column>
<p:column headerText="Статус">
<ui:include src="paperStatusFragment.xhtml">
<ui:param name="paper" value="#{paper}"/>
</ui:include>
</p:column>
</p:dataTable>
</ui:define>
</ui:composition>