blackberry - Warning "name.xml" is not a supported asset file -


i made model.xml file in project. , try call using data modal

import bb.cascades 1.0  page {     content: listview {         datamodel: xmldatamodel {             source: "model.xml"         }         listitemcomponents: [             listitemcomponent {                 type: "item"                 photolistitem {                  }              }         ]      }  } 

but here @ line " source: "model.xml" " giving me warning model.xml not supported asset file. want know why because model.xml contains images path , due warning images not loading

if file "model.xml" in asset folder in project, expect be, should refer asset:///model.xml

import bb.cascades 1.0 page {   content: listview {     datamodel: xmldatamodel {       source: "asset:///model.xml"     }     listitemcomponents: [       listitemcomponent {         type: "item"         photolistitem {}       }     ]} } 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -