Difference betweeen resourceResolver and resource
Please let me know the difference between resourceResolver and resource in sling?.
Also please let me know the difference between currentDesign and currentStyle Object
Thanks in advance!!
Please let me know the difference between resourceResolver and resource in sling?.
Also please let me know the difference between currentDesign and currentStyle Object
Thanks in advance!!
Hi,
A resource is really an arbitrary "thing". The resource resolver is a service which "resolves" a path and, optionally, a HTTP scheme/host/port, to a resource.
The Design object is essentially a container for Style objects. A Style object represents the style configuration for a single component/cell.
HTH,
Justin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.