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

Re: SAPUI5 - XML view and Formatter

$
0
0

Ah I see:

 

  1. You don't need to include a reference in your index.html to your formatter
  2. Since your formatter class is in a /util folder, you should declare it as "util.my.Formatter", and in your Controller add a jQuery.sap.require("util.my.Formatter") reference at the top
  3. Same in your view; instead of referencing it as "my.Formatter.getName", use "util.my.Formatter.getName"

Viewing all articles
Browse latest Browse all 8538

Trending Articles



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