A developer is working on a dialog for a contact list component. The dialog has the following requirements:
1. The list of contacts must include one or more entries.
2. Contact details must include a full name.
3. Contact details must include an email address
4. Contact details can optionally include a short bio
5. Authors need to be able to rearrange the contacts in the list
Which dialog configuration should the developer use to meet all of these requirements?
A developer creates a custom Client Library named foobar.
This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.
How should a developer find the exact line in foo.js where the exception has been thrown?
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?
A developer has a component foobar that consists of the files listed below:
script-a.js
script-b.js
foobar.html
What is the output when this component is rendered?
A service component periodically retrieves content from an external REST interface and saves the information in JCR. The REST endpoint is configured via an OSGi service property. There is one URL for production (runmode prod) and another URL for all other environments.
How should a developer configure the OSGi service?
Currently there are no comments in this discussion, be the first to comment!