Support of passing parameters to Sling Model methods
Open
- Dominant language
- No language data
- Stars
- 288
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice if there is possible to call Sling model method which takes parameters.
Example:
Sling model:
`
public String getMethod(String param1, String param2){
return param1 + param2;
}
`
Htl:
`${model.method(value1, value2)} or ${model.method @ value1, value2 } or ${model.method @ param1=value1, param2=value2 }
`
Contributor guide
Research direction
No files or tests are named. Start by reviewing the Sling Model and HTL call forms in the issue, then locate the specification sections governing method invocation and parameter syntax. Done would require a decided, specified behavior for parameter passing, including the accepted call forms and argument binding.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100