Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.28.06
-
None
-
1
-
Sprint 87, Sprint 88
Description
HST components use JcrPath annotation to enable a component parameter can be set by using linkpicker. It could refer to documents inside the channel's content scope.
Motivation: in some projects, we need refer documents in the other channels (i.e. outside the channel content scope). An extension in JcrPath to configure which is the picker root path would solve this requirement.
Approach:
- Add the "pickerRootPath" parameter in JcrPath with the empty string default value (JcrPath:52)
- If pickerRootPath is set explicitly, the link picker use this parameter as the root path. Otherwise, it uses the channel mount content path (currently) as the root path (ParametersInfoProcessor:89-92).
Attachments
Issue Links
- relates to
-
HSTTWO-3346 JcrPath usage for components pointing to content outside current channel breaks
- Closed
- mentioned in
-
Page Loading...