Expand my Community achievements bar.

SOLVED

Difference betweeen resourceResolver and resource

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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