Skip to content

Support of passing parameters to Sling Model methods #86

@mkovacek

Description

@mkovacek

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 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions