Julian Sedding created SLING-8438:
-------------------------------------
Summary: Sling Models BeanPropertyViaProvider should support
nesting
Key: SLING-8438
URL: https://issues.apache.org/jira/browse/SLING-8438
Project: Sling
Issue Type: Bug
Components: Extensions
Affects Versions: Sling Models Impl 1.4.10
Reporter: Julian Sedding
Assignee: Julian Sedding
The {{BeanPropertyViaProvider}} currently does not provide access to "nested"
methods. E.g. the following does not work:
{code:java}
@Model(adaptables = SlingHttpServletRequest.class)
public class SuffixBasedModel {
public SuffixBasedModel(@Via("requestPathInfo.suffixResource") Resource
suffixResource) {
// do something with suffixResource
}
}
{code}
With this ticket, support for nested access should be provided.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)