AnsweredAssumed Answered

dojo widget configurations

Question asked by darkstar1 on Mar 11, 2014
Latest reply on Mar 14, 2014 by ddraper
Hello all I am trying out the new widget creation system.
I wish to use the sliding tabs and I configured a sliding them in my page thus:


{
            id : "profiled-display",
            name: "alfresco/layout/SlidingTabs",
            config: {
                widgets: [
                    {
                        name: "alfresco/layout/TitleDescriptionAndContent",
                        config: {
                              title: "Tab 1",
                              description: "First One"
                        }
                    },
                    {
                        name: "alfresco/layout/TitleDescriptionAndContent",
                        config: {
                              title: "Tab 2",
                              description: "Description 2"
                        }
                    }
                ]
            }

       }


I originally had a custom widget instead of the title and description widget but after reading the sliding tabs comment realised that i needed to have a title attribute in my widgets.
However all I get is a blank tab with no errors in console logs. I am unsure as to how or why this is.

Thanks for any help

Outcomes