<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Question regarding binding path syntax JSON in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407952#M46904</link>
    <description>&lt;P&gt;I figured it out:&lt;/P&gt;&lt;P&gt;in the &amp;lt;items&amp;gt; aggregation of the &amp;lt;List&amp;gt; control I now use the &amp;lt;ObjectListItem&amp;gt; control and the title should look like: &lt;BR /&gt;title="{equi&amp;gt;MesspunktNr}"&lt;/P&gt;&lt;P&gt;I think it would also work with a StandardListItem but i didnt try.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 08:40:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-05-31T08:40:49Z</dc:date>
    <item>
      <title>Question regarding binding path syntax JSON</title>
      <link>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaq-p/407949</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;i have a question regarding element binding in SAPUI5.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
	"Equipments": [
		{
			"EquipmentNr": "Equipment 0000000001",
			"Messpunkte": [
					{
						"MesspunktNr": "01"
					},
					{
						"MesspunktNr": "02"
					},
					{
						"MesspunktNr": "03"
					}
				]
		},
...
}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I use SplitApp controll with two master views. The first displays all Equipments (EquipmentNr) and the second masterview should display the "Messpunkte" of the selected equipment. Routing with parameters to the second master view works. But in this view I am not able to display The Messpunkte of the equipment.&lt;/P&gt;&lt;P&gt;The MasterPage2.controller.js with the onInit function is correct i guess:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;onInit: function () {
			var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
			oRouter.getRoute("master").attachPatternMatched(this._onObjectMatched, this);
		},
		_onObjectMatched: function (oEvent) {
			this.getView().bindElement({
				path: "/Equipments/" + oEvent.getParameter("arguments").equiPath,
				model: "equi"
			});
		}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code of the MasterPage2 looks like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;	&amp;lt;Page 
		id="page2" 
		title="Messpunkte zum Equipment" 
		icon="sap-icon://action"
		showNavButton="true"
		navButtonPress="onNavBack"&amp;gt;
			&amp;lt;content&amp;gt;
			&amp;lt;!--	&amp;lt;ObjectHeader
					title="{equi&amp;gt;Messpunkte}"/&amp;gt; --&amp;gt;
				&amp;lt;List
				items="{equi&amp;gt;/Messpunkte}"&amp;gt;
					&amp;lt;StandardListItem
					title="{MesspunktNr}" /&amp;gt;
				&amp;lt;/List&amp;gt;
			&amp;lt;/content&amp;gt;
	&amp;lt;/Page&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The commend out part leads to the output [object Object],[object Object],[object Object]&lt;/P&gt;&lt;P&gt;The List control displays "No data".&lt;/P&gt;&lt;P&gt;Is there anybody with a hint maybe?&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 13:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaq-p/407949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-30T13:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding binding path syntax JSON</title>
      <link>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407950#M46902</link>
      <description>&lt;P&gt;Where are loading the model "equi" used in your binding? It should be done in the init. &lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 15:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407950#M46902</guid>
      <dc:creator>Sharathmg</dc:creator>
      <dc:date>2017-05-30T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding binding path syntax JSON</title>
      <link>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407951#M46903</link>
      <description>&lt;P&gt;It is done in the manifest.json.&lt;/P&gt;&lt;P&gt;The model loading is not the point. i get access to the model. But thanks anyway&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 06:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407951#M46903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-31T06:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding binding path syntax JSON</title>
      <link>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407952#M46904</link>
      <description>&lt;P&gt;I figured it out:&lt;/P&gt;&lt;P&gt;in the &amp;lt;items&amp;gt; aggregation of the &amp;lt;List&amp;gt; control I now use the &amp;lt;ObjectListItem&amp;gt; control and the title should look like: &lt;BR /&gt;title="{equi&amp;gt;MesspunktNr}"&lt;/P&gt;&lt;P&gt;I think it would also work with a StandardListItem but i didnt try.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 08:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/question-regarding-binding-path-syntax-json/qaa-p/407952#M46904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-31T08:40:49Z</dc:date>
    </item>
  </channel>
</rss>

