Skip to content

Commit

Permalink
Merge pull request #1038 from axonivy-market/bug/IVYPORTAL-17214-Port…
Browse files Browse the repository at this point in the history
…al-LE-breadcrumb-not-display-on-some-task

bug/IVYPORTAL-17214-Portal-LE-breadcrumb-not-display-on-some-task
  • Loading branch information
chnam-axonivy authored Sep 18, 2024
2 parents 2fc2422 + bb9b35e commit 7128199
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,7 @@
{ "name" : "AccountNumber", "type" : "NUMBER", "value" : "14" },
{ "name" : "CustomerName", "type" : "STRING", "value" : "\"Tung Le\"" },
{ "name" : "CustomerType", "type" : "STRING", "value" : "\"Interior\"" },
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" }
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }
]
}, {
"id" : "TaskA",
Expand All @@ -632,8 +631,7 @@
{ "name" : "AccountNumber", "type" : "NUMBER", "value" : "7" },
{ "name" : "CustomerName", "type" : "STRING", "value" : "\"Long Do\"" },
{ "name" : "CustomerType", "type" : "STRING", "value" : "\"Exterior\"" },
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" }
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }
]
}, {
"id" : "TaskC",
Expand All @@ -651,8 +649,7 @@
{ "name" : "AccountNumber", "type" : "NUMBER", "value" : "13" },
{ "name" : "CustomerName", "type" : "STRING", "value" : "\"Anh Nguyen\"" },
{ "name" : "CustomerType", "type" : "STRING", "value" : "\"Interior\"" },
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" }
{ "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }
]
} ],
"case" : {
Expand Down Expand Up @@ -701,8 +698,7 @@
{ "name" : "ProcessCategoryName", "type" : "STRING", "value" : "\"Publication Requested\"" },
{ "name" : "ProcessCode", "type" : "STRING", "value" : "\"pubRequested\"" },
{ "name" : "ProcessName", "type" : "STRING", "value" : "\"Publication Requested\"" },
{ "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" }
{ "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" }
]
}
},
Expand Down Expand Up @@ -940,7 +936,6 @@
"level" : "HIGH"
},
"customFields" : [
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" },
{ "name" : "employee", "type" : "STRING", "value" : "\"Tung Le\"" }
]
}, {
Expand All @@ -953,7 +948,6 @@
},
"customFields" : [
{ "name" : "days", "type" : "TIMESTAMP", "value" : "new DateTime()" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" },
{ "name" : "employee", "type" : "STRING", "value" : "\"Long Do\"" }
]
}, {
Expand All @@ -968,7 +962,6 @@
"level" : "LOW"
},
"customFields" : [
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" },
{ "name" : "employee", "type" : "STRING", "value" : "\"Anh Nguyen\"" }
]
} ],
Expand Down Expand Up @@ -1056,8 +1049,7 @@
{ "name" : "ProcessCategoryName", "type" : "STRING", "value" : "\"Publication Requested\"" },
{ "name" : "ProcessCode", "type" : "STRING", "value" : "\"pubRequested\"" },
{ "name" : "ProcessName", "type" : "STRING", "value" : "\"Publication Requested\"" },
{ "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" },
{ "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" }
{ "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" }
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<h:body>
<ui:composition template="/layouts/frame-10.xhtml">
<ui:define name="content">
<script>
window.viewName="TASK_DETAIL";
</script>
<h:form id="leave-request" styleClass="container">
<p:focus></p:focus>
<h:panelGroup styleClass="ui-g">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
<h:body>
<ui:composition template="/layouts/frame-10-full-width.xhtml">
<ui:define name="title">NewPayment</ui:define>
<ui:param name="actualStepIndex" value="#{data.actualStepIndex}" />
<ui:param name="steps" value="#{data.steps}" />

<ui:define name="content">
<script>
window.viewName="TASK_DETAIL";
</script>
<h:form id="payment-request" styleClass="container ui-g">
<p:focus for="payment-request" />
<p:messages redisplay="false" showIcon="false" styleClass="ui-g-12">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,5 @@
"$schema" : "https://json-schema.axonivy.com/data-class/11.4.0/data-class.json",
"simpleName" : "NewPaymentData",
"namespace" : "com.axonivy.portal.developerexamples.testdata.NewPayment",
"isBusinessCaseData" : false,
"fields" : [ {
"name" : "actualStepIndex",
"type" : "Number",
"modifiers" : [ "PERSISTENT" ]
}, {
"name" : "steps",
"type" : "java.util.List<String>",
"modifiers" : [ "PERSISTENT" ]
} ]
"isBusinessCaseData" : false
}

0 comments on commit 7128199

Please sign in to comment.