Commit c67cbe61 by Tuukka Kivilahti

roles for incomingflow

1 parent aafcc15f
Showing with 14 additions and 2 deletions
......@@ -36,7 +36,6 @@
<h:panelGroup id="attachhider" rendered="#{incomingView.showAttachDialog}">
<div id="attachpopup">
<script>
$(".attachbuttonidclass").focus();
</script>
<h1>#{i18n['incomingView.attachDialogTitle']}</h1>
......@@ -266,9 +265,22 @@
</p:fieldset>
</h:form>
</h:panelGroup>
</h:panelGrid>
<h:form>
<p:fieldset id="userroles" legend="#{i18n['incomingflow.printedCard']}" toggleable="true" collapsed="#{fieldsetView.isCollapsed(component.id)}">
<p:ajax event="toggle" listener="#{fieldsetView.handleToggle}" />
<h:selectManyCheckbox converter="#{roleConverter}" disabled="#{!roleView.canWriteRoles}" layout="pageDirection" id="roles" value="#{userView.usersRoles}">
<f:selectItems var="roleitem" itemLabel="#{roleitem.name}" value="#{roleDataView.roles}" />
</h:selectManyCheckbox>
<p:commandButton action="#{userView.saveRoles}" value="#{i18n['user.saveRoles']}" ajax="false" />
</p:fieldset>
</h:form>
<br /><br />
<h:outputText rendered="#{empty incomingView.groupMemberships}" value="#{i18n['placegroupview.noMemberships']}" />
<h:form rendered="#{!empty incomingView.groupMemberships}" id="placelistform">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!