Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Difference betweeen resourceResolver and resource

viswacq5
Level 3
Level 3

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

1 Accepted Solution
justin_at_adobe
Correct answer by
Employee
Employee

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

View solution in original post

1 Reply
justin_at_adobe
Correct answer by
Employee
Employee

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

View solution in original post