Question 31
A developer created an editable template with a Layout Container. The developer needs to restrict the Layout Container to just one column layout.
What should the developer do to the editable template to enforce this restriction?
What should the developer do to the editable template to enforce this restriction?
Question 32
A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured.
The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console.
Which set of steps should the developer take to meet these requirements?
The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console.
Which set of steps should the developer take to meet these requirements?
Question 33
A developer is creating a custom method. This method must return a String property y from child x. the method must use only Sling APIs.
How should the developer retrieve property y of node x, and node x may or may NOT exist?


How should the developer retrieve property y of node x, and node x may or may NOT exist?


Question 34
A developer is working on an HTL script for a custom component. The script has the following requirements:
* This script must list the title of every child page of the current page.
* If a child page does not have any children, then its title should link directly to that page.
* If a child page has children, then the title of every one of its children should be listed be-neath its title.
* The title of every grandchild page should link directly to that page.
Which HTL script should the developer use to meet these requirements?


* This script must list the title of every child page of the current page.
* If a child page does not have any children, then its title should link directly to that page.
* If a child page has children, then the title of every one of its children should be listed be-neath its title.
* The title of every grandchild page should link directly to that page.
Which HTL script should the developer use to meet these requirements?

