on 06-09-2015 7:36 PM
Hi , I am using
I have made a simple javasript view
createContent : function(oController) {
return new sap.suite.ui.commons.ProcessFlow({
nodes : [
new sap.suite.ui.commons.ProcessFlowNode({
nodeId: "01",
laneId: "01",
title: "Sales Order 1",
titleAbbreviation: "SO 1",
isTitleClickable: true,
state: sap.suite.ui.commons.ProcessFlowNodeState.Positive,
stateText: "OK status",
focused: true,
texts: ["Sales Order Document Overdue long text for the wrap up all the aspects", "Not cleared"]
})
],
lanes : [
new sap.suite.ui.commons.ProcessFlowLaneHeader({
laneId: "01",
icon: "sap-icon://order-status",
label: "In Order",
position: 0
}),
]
})
}
there is nothing in the controller
but still i am not getting the desired results
Output :
I am not getting the lane Header
I tried the XML view from SAPUI5 Explored
It worked perfectly
is there anything i am missing ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim ,
Thanks for the quick reply
I figured out that if i use src="resources/sap-ui-core.js" (i.e my local eclipse resource) it is not rendering properly .
Once i changed that to
src="https://sapui5.netweaver.ondemand.com/sdk/resources/sap-ui-core.js" it worked perfectly.
I think my local eclipse resource is outdated as process flow is supported from 1.22..
Thanks..
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.