Skip to content

Commit 5de6594

Browse files
committed
fixed form layout (Issue #27)
1 parent b252c08 commit 5de6594

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
######################################################################
2+
# Contains a list of supported EL Expressions used in Models
3+
######################################################################
4+
5+
#{!teamController.isManagerOf(workflowController.workitem.item['process.ref'])}
6+
#{!teamController.isManagerOf(workflowController.workitem.item['space.ref'])}
7+
#{!teamController.isTeamMemberOf(workflowController.workitem.item['process.ref'])}
8+
#{!teamController.isTeamMemberOf(workflowController.workitem.item['space.ref'])}
9+
#{!teamController.isAssistOf(workflowController.workitem.item['process.ref'])}
10+
#{!teamController.isAssistOf(workflowController.workitem.item['space.ref'])}
11+
#{!teamController.isMemberOf(workflowController.workitem.item['process.ref'])}
12+
#{!teamController.isMemberOf(workflowController.workitem.item['space.ref'])}
13+

src/main/webapp/pages/workitems/sub_documents.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</dt>
99
<dd>
1010
<i:imixsFileUpload id="file_upload_id" workitem="#{workflowController.workitem}"
11-
context_url="#{facesContext.externalContext.requestContextPath}/api/workitems/workitem/#{workflowController.workitem.item['$uniqueid']}"
12-
hideattachments="false" />
11+
context_url="#{facesContext.externalContext.requestContextPath}/api/workflow/workitem/#{workflowController.workitem.item['$uniqueid']}"
12+
showattachments="true" />
1313
</dd>
1414
</dl>
1515

src/main/webapp/pages/workitems/workitem.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ui:define name="content">
1414
<f:view>
15-
<h:form id="workitem_form_id">
15+
<h:form id="workitem_form_id" enctype="multipart/form-data">
1616

1717
<div class="row">
1818
<div class="col-7" style="border-right: 1px solid #ccc;">

0 commit comments

Comments
 (0)