Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
qmacro
Developer Advocate
Developer Advocate

Just a quick post on the train on the way down to London this morning.

The other day, Andreas Kunz pointed to an overview of the MVC options which contains very detailed information - an interesting and recommended read. One of the things that piqued my interest was the ability, in XML views, to specify a resource bundle (for internationalisation) declaratively, using a couple of attributes of the root View element. This I thought was rather neat.

So further to my recent explorations and posts on XML views ...

Mobile Dev Course W3U3 Rewrite - XML Views - An Intro

Mobile Dev Course W3U3 Rewrite - XML Views - An Analysis

UI5 XML Views - Another Example

... I thought I'd put together a little runnable app and make it available on sapui5bin, to demonstrate it. The result is XMLResourceBundleDeclaration, which is an index file, instantiating an XML view that has the resourceBundle declaration in it; this points to the resourceBundle.properties file in the i18n folder where you might expect to find it in other apps too.

The runnable is here: https://github.com/qmacro/sapui5bin/tree/master/XMLResourceBundleDeclaration

Share and enjoy!

1 Comment
Labels in this area