You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2015/04/20 14:07:58 UTC

[jira] [Commented] (SLING-4639) SlingAdaptToAttrProcessor to support Sling Models in Thymeleaf scripting engine

    [ https://issues.apache.org/jira/browse/SLING-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502704#comment-14502704 ] 

Oliver Lietz commented on SLING-4639:
-------------------------------------

https://mail-archives.apache.org/mod_mbox/sling-dev/201504.mbox/%3c18317177.X8uHVv8xrV@madness%3e

{noformat}
<html data-th-with="page=${resource.adaptTo(@org.apache.sling.samples.fling.Page@class)}">
{noformat}

> SlingAdaptToAttrProcessor to support Sling Models in Thymeleaf scripting engine
> -------------------------------------------------------------------------------
>
>                 Key: SLING-4639
>                 URL: https://issues.apache.org/jira/browse/SLING-4639
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>            Reporter: Michael Kreis
>            Assignee: Oliver Lietz
>
> New Thymeleaf attribute processor which adapts object specified in data-sling-adaptabe to class specified in data-sling-adaptTo and makes object available on the template in the variable specified in data-sling-var.
> See: https://github.com/apache/sling/pull/83



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)