Skip to Content

FlexibleColumnLayoutSimple code not right.

Oct 31, 2017 at 03:45 AM


avatar image

I have downloaded sample code of flexible column layout here:

And tried to run it in webIDE, and I encountered multiple problems:

1. The {} is not closed right in index.html.

sap.ui.getCore().attachInit(function() {
                new sap.m.App ({
                    pages : [
                        new sap.m.Page({
                            title : "Flexible Column Layout",
                            enableScrolling : false,
                            content : [ new sap.ui.core.ComponentContainer({
                                height : "100%", name : "sap.f.sample.FlexibleColumnLayoutSimple",
                                settings : {
                                    id : "{{SAMPLE_id}}"

2. After I fixed problem #1, another error occurred:

Error: "{{SAMPLE_id}}" is not a valid ID.

Fixed by:

settings : {
   id : "test"

After these changes, this demo is running, but it only show a page title. How to get it running in webIDE?

Not sure it is OK to post this question here. Since it contains an internal link, I did not post it on openUI5 issues

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers