Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Difficulty in binding single entity to detail page!

$
0
0

Ok Just an update before I paste the binding code here. I saw 3 calls in the network for service.

 

Here they are.

DETAILSSET(null); in Red ( means it was an error)

DETAILS();   in BLACK (it came back with data)

DETAILS();   in RED again (error)

 

I really think it is the binding which is messing it up.

 

Her is my binding in detail view looks like.

 

<f:SimpleForm columnsL="1" editable="false" emptySpanL="4" emptySpanM="4" id="iconTabFilter1form" labelSpanL="3" labelSpanM="3"  layout="ResponsiveGridLayout" minWidth="1024">  <f:content>  <Label id="label1" text="Test Results"></Label>  <Text id="text1" maxLines="0" text="{TestResult}"></Text>  <Label id="label2" text=""></Label>  <Text id="text2" maxLines="0" text=""></Text>  <Label id="label3" text=""></Label>  <Text id="text3" maxLines="0" text=""></Text>  <core:ExtensionPoint name="extIconTabFilterForm1"/>  </f:content>  </f:SimpleForm>

TestResult is the only field I'm using for now.

 

Other then this I have binded in controller as below in OnInit method like this. below

 

this.getView().bindElement("/DETAILSSet(0)");

Viewing all articles
Browse latest Browse all 9091

Trending Articles



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