Skip to Content
avatar image
Former Member

FlexibleColumnLayoutSimple code not right.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers