Skip to Content

Binding Model and various symbols used.

Hi all...

1)earlier i was doing a table binding .. (the json is given below.)

{

"names": {

"firstname": "Gold",

"lastname": "Gold",

"image": "gold.png"

}

}... but i found out though the json is valid but still its not getting bind. so thats why i modified the json

{

"names": [{

"firstname": "Gold",

"lastname": "Gold",

"image": "gold.png"

}]

}

Now its working.

can anyone tell me where is the fault?

2)Moreover there some symbols that are used while binding

{},{/firstname},>,

can any one please give some inputs about the symbols..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2015 at 11:04 AM

    Whenever you do an aggregation binding, the binding path must point to a an Array. As per your first json if your binding path was "/names", it won't have worked as "names" point to an Object & not an array.

    Moreover there some symbols that are used while binding

    Binding Path - OpenUI5 SDK - Demo Kit

    Named model - OpenUI5 SDK - Demo Kit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.