ASSOCIATE-REACTIVE-DEVELOPER practice question 25 of 35

Regarding the Container widget, which of the following options is false?

Full set: 262 questions
Answer options
A: By default, containers can span from 1 column up to 12 columns.
B: Containers allow grouping several widgets.
C: All containers must have at least one widget inside. Correct answer
D: Containers can be placed inside other containers.
Correct Answer:
C. All containers must have at least one widget inside.
Explanation

The statement that all containers must have at least one widget inside is false. In Outsystems, a Container widget can be empty. It is a valid element that can be used as a placeholder or styled directly (e.g., by setting its height, width, and background color) to create visual elements like dividers or colored blocks without needing any child widgets. The Service Studio IDE allows developers to place and publish empty containers.

Why Incorrect

A. Outsystems uses a 12-column grid system for layout, and the Container's Width property allows it to span any number of columns from 1 to 12.
B. A primary purpose of the Container widget is to act as a wrapper to group multiple widgets, enabling them to be styled and positioned collectively.
D. Nesting containers is a fundamental and common practice for creating complex and responsive user interface layouts in Outsystems applications.

References

1. Outsystems Official Documentation - Container widget: "The Container widget is the most basic layout widget and it allows you to group several widgets and define their layout and style properties." This source confirms the grouping capability (B) and, through its examples and property descriptions, the practice of nesting (D). It does not mention a requirement for child widgets, implicitly supporting that (C) is false.

Section: "Container widget" > "Description"

2. Outsystems Official Documentation - Layouts in Reactive Web Apps: This document describes the 12-column grid system that is fundamental to Outsystems UI. "By default, the Main Content placeholder has 12 columns on a desktop, but this can be changed. You can set the width of a widget in columns..." This directly supports the statement in option (A).

Section: "Layouts in Reactive Web Apps" > "Columns"

3. Outsystems Training Material - Reactive Web Guided Path: In the "Screen Design and UI" module, practical exercises demonstrate placing empty containers and styling them with CSS classes or inline styles to create visual effects, confirming that a container does not require child widgets.

Course: "Developing Reactive Web Apps (O11)" > Module: "UI and Screen Development"

Scroll to Top