|
1 | 1 | <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core" |
2 | 2 | xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" |
3 | 3 | xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:i="http://xmlns.jcp.org/jsf/composite/imixs" |
4 | | - template="/layout/template.xhtml"> |
| 4 | + xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions" template="/layout/template.xhtml"> |
5 | 5 |
|
6 | 6 | <f:metadata> |
7 | 7 | <f:viewAction action="#{workflowController.onLoad()}" /> |
|
19 | 19 | <!-- get first task by group --> |
20 | 20 | <ui:param name="version" value="#{modelController.getVersionByGroup(group)}" /> |
21 | 21 | <ui:param name="initialTask" value="#{modelController.findStartTaskByGroup(version,group)}" /> |
22 | | - <li> |
23 | | - <h:panelGroup rendered="#{!empty initialTask}"> |
24 | | - <h:commandLink title=" " styleClass="action-create" |
25 | | - actionListener="#{workflowController.create(version,initialTask.item['taskid'],null)}" |
26 | | - action="/pages/workitems/workitem"> |
27 | | - <span class="typcn typcn-folder-add" style="margin-right:5px;"></span> |
28 | | - <h:outputText value="#{group}" /> |
29 | | - </h:commandLink> |
30 | | - <p> |
31 | | - <h:outputText value="#{initialTask.item['rtfdescription']}" escape="false" /> |
32 | | - </p> |
33 | | - <span class="imixs-tooltip"> |
34 | | - <h:outputText value="#{initialTask.item['rtfdescription']}" escape="false" /> |
35 | | - </span> |
36 | | - </h:panelGroup> |
37 | | - <h:outputText style="color:red" rendered="#{empty initialTask}" |
38 | | - value="Model not found: #{group}"></h:outputText> |
39 | | - </li> |
| 22 | + <ui:fragment rendered="#{!fn:startsWith(version, 'marty') and group ne 'Default Process'}"> |
| 23 | + <li> |
| 24 | + <h:panelGroup rendered="#{!empty initialTask}"> |
| 25 | + <h:commandLink title=" " styleClass="action-create" |
| 26 | + actionListener="#{workflowController.create(version,initialTask.item['taskid'],null)}" |
| 27 | + action="/pages/workitems/workitem"> |
| 28 | + <span class="typcn typcn-folder-add" style="margin-right:5px;"></span> |
| 29 | + <h:outputText value="#{group}" /> |
| 30 | + </h:commandLink> |
| 31 | + <p> |
| 32 | + <h:outputText value="#{initialTask.item['rtfdescription']}" escape="false" /> |
| 33 | + </p> |
| 34 | + <span class="imixs-tooltip"> |
| 35 | + <h:outputText value="#{initialTask.item['rtfdescription']}" escape="false" /> |
| 36 | + </span> |
| 37 | + </h:panelGroup> |
| 38 | + <h:outputText style="color:red" rendered="#{empty initialTask}" |
| 39 | + value="Model not found: #{version}:#{group}"></h:outputText> |
| 40 | + </li> |
| 41 | + </ui:fragment> |
40 | 42 | </ui:repeat> |
41 | 43 | </ul> |
42 | 44 |
|
|
0 commit comments