Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9262

Processflow undefined

$
0
0

Hello Experts,

 

I'm trying to test a sap.suite.ui.commons.ProcessFlow in my javascript view.

But i'm getting an error saying :

error.png

at the new sap.suite.ui.commons.ProcessFlowNode ...

 

 

The code:

 

var test = new sap.suite.ui.commons.ProcessFlow({

  id : "id", // sap.ui.core.ID

  foldedCorners : false, // boolean

  scrollable : true, // boolean

  wheelZoomable : true, // boolean

  tooltip : undefined, // sap.ui.core.TooltipBase

  customData : [ new sap.ui.core.CustomData({

  id : "id1", // sap.ui.core.ID

  key : undefined, // string

  value : undefined, // any

  writeToDom : false, // boolean, since 1.9.0

  tooltip : undefined, // sap.ui.core.TooltipBase

  customData : [], // sap.ui.core.CustomData

  dependents : []

  // sap.ui.core.Control, since 1.19

  }) ], // sap.ui.core.CustomData

  dependents : [], // sap.ui.core.Control, since 1.19

  nodes : [ new sap.suite.ui.commons.ProcessFlowNode({

  id : "id2", // sap.ui.core.ID

  title : undefined, // string

  isTitleClickable : false, // boolean

  laneId : undefined, // string

  nodeId : undefined, // string

  //state : sap.suite.ui.commons.ProcessFlowNodeState.Positive, // sap.suite.ui.commons.ProcessFlowNodeState

  children : undefined, // string[]

  titleAbbreviation : undefined, // string

  stateText : undefined, // string

  texts : undefined, // string[]

  highlighted : false, // boolean

  focused : false, // boolean

  tag : undefined, // object

  tooltip : undefined, // sap.ui.core.TooltipBase

  customData : [], // sap.ui.core.CustomData

  dependents : [], // sap.ui.core.Control, since 1.19

  titlePress : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ],

  press : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ]

  }) ], // sap.suite.ui.commons.ProcessFlowNode

  lanes : [ new sap.suite.ui.commons.ProcessFlowLaneHeader({

  id : "id3", // sap.ui.core.ID

  text : undefined, // string

  iconSrc : undefined, // sap.ui.core.URI

  position : undefined, // int

  laneId : undefined, // string

  state : undefined, // object

  zoomLevel : undefined, // sap.suite.ui.commons.ProcessFlowZoomLevel

  tooltip : undefined, // sap.ui.core.TooltipBase

  customData : [], // sap.ui.core.CustomData

  dependents : [], // sap.ui.core.Control, since 1.19

  press : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ]

  }) ], // sap.suite.ui.commons.ProcessFlowLaneHeader

  nodeTitlePress : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ],

  nodePress : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ],

  headerPress : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ],

  onError : [ function(oEvent) {

  var control = oEvent.getSource();

  }, this ]

  });

 

 

 

 

Any Ideas ? Cause i have no idea what i'm doing wrong here...

 

Kind Regards,

 

Bart


Viewing all articles
Browse latest Browse all 9262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>