You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/07/23 08:19:00 UTC

[jira] [Comment Edited] (SLING-10652) Extend HTL Engine documentation by type coercion table

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

Konrad Windszus edited comment on SLING-10652 at 7/23/21, 8:18 AM:
-------------------------------------------------------------------

[~radu] Can you add a table to https://sling.apache.org/documentation/bundles/scripting/scripting-htl.html?

I think we should hide the internal complexity in the documentation, like JS (with Rhino) -> Java -> HTL Runtime (based on Java) but there are definitely some overlaps between Java and JS types.


was (Author: kwin):
[~radu] Can you add a table to https://sling.apache.org/documentation/bundles/scripting/scripting-htl.html?

> Extend HTL Engine documentation by type coercion table
> ------------------------------------------------------
>
>                 Key: SLING-10652
>                 URL: https://issues.apache.org/jira/browse/SLING-10652
>             Project: Sling
>          Issue Type: Improvement
>          Components: Documentation, Scripting
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The HTL specification only refers to language agnostic types like numeric, string or date. As the HTL Engine in Sling (or rather the use providers) map the native types in either Java or JavaScript accordingly there should be some information which native type is translated into which HTL type. This is crucial as e.g. in the context of SLING-10651 more types are now supported. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)