Difference betweeen resourceResolver and resource | Community
Skip to main content
Level 3
October 16, 2015
Solved

Difference betweeen resourceResolver and resource

  • October 16, 2015
  • 1 reply
  • 755 views

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!!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

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

1 reply

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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