How should the developer inject the title property in this model?

Posted by: Pdfprep Category: AD0-E103 Tags: , ,

A developer is working on the following Sling Model that is being used in a component.

The model must check if the configured value of the jcr:title property for the component matches the name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.

How should the developer inject the title property in this model?

A . Option A
B . Option B
C . Option C
D . Option D

Answer: C

Leave a Reply

Your email address will not be published.