Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.04.03
-
None
-
None
Description
To ComponentConfiguration
we add
/**
- Also see
{@link #getParameters(ResolvedSiteMapItem)}. Normally, you use {@link #getParameters(ResolvedSiteMapItem)}
, unless you want to access
- parameter values without having their property placeholders (like ${1}) substituded by the current request context. In other words, the parameter values
- exactly the way they are in the
{@link HstComponentConfiguration}
* @return An unmodifiableMap of all parameters the way they are configured in the hst component configuration without having any property placeholder filled in by the current context
*/
Map<String, String> getRawParameters();
/**
* Also see {@link #getLocalParameters(ResolvedSiteMapItem)}. Normally, you use {@link #getLocalParameters(ResolvedSiteMapItem)}, unless you want to access
* parameter values without having their property placeholders (like ${1}) substituded by the current request context. In other words, the parameter values
* exactly the way they are in the {@link HstComponentConfiguration}. Note that this method does not return inherited parameters, but only its local (directly)
- configured ones
- @return An unmodifiableMap of all parameters the way they are configured in the hst component configuration without having any property placeholder filled in by the current context and without parameter inheritance
*/
Map<String, String> getRawLocalParameters();
;
Now, in your hst component java class, you can use:
this.getComponentConfiguration().getRawLocalParameters()
to access property values without having the current context trying to replace property values