fix event_details

master
ff2009 2015-11-14 23:08:46 +00:00
parent 4706b363c7
commit 4f218e3420
1 changed files with 4 additions and 4 deletions

View File

@ -47,14 +47,14 @@ and open the template in the editor.
</h:column>
<h:column>
<h:form rendered="#{!event.openInscriptions}">
<h:commandLink value="Open inscriptions" action="responsible_details?faces-redirect=true">
<f:setPropertyActionListener target="#{administratorManager.openInscriptions}" value="#{event}" />
<h:commandLink value="Open inscriptions" actionListener="#{administratorManager.openInscription}">
<f:param name="eventID" id="eventID" value="#{event.id}"/>
</h:commandLink>
</h:form>
<h:form rendered="#{event.openInscriptions}">
<h:commandLink value="Close inscriptions" action="responsible_details?faces-redirect=true">
<f:setPropertyActionListener target="#{administratorManager.closeInscriptions}" value="#{event}" />
<h:commandLink value="Close inscriptions" actionListener="#{administratorManager.closeInscription}">
<f:param name="eventID" id="eventID" value="#{event.id}"/>
</h:commandLink>
</h:form>
<h:form>