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

Screen Shot 2014-01-28 at 08.08.17.png

Share and enjoy!

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply