You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/01/24 15:53:34 UTC

[jira] Created: (SLING-192) JST script engine

JST script engine
-----------------

                 Key: SLING-192
                 URL: https://issues.apache.org/jira/browse/SLING-192
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
            Reporter: Bertrand Delacretaz
            Priority: Minor


The microsling-core JST script engine should be ported to sling/scripting

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-192) JST script engine

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585946#action_12585946 ] 

Bertrand Delacretaz commented on SLING-192:
-------------------------------------------

Here's the test script, updated for Sling revision 645059:

<h1>currentNode test</h1>
<div>
This is html.jst, path=<%= currentNode.title %>.
</div>

<div>
<h1>Sling client library test</h1>
root resource type=
<b><% out.write(Sling.getContent("/")["sling:resourceType"]); %></b>.
</div>

> JST script engine
> -----------------
>
>                 Key: SLING-192
>                 URL: https://issues.apache.org/jira/browse/SLING-192
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The microsling-core JST script engine should be ported to sling/scripting

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-192) JST script engine

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz reassigned SLING-192:
-----------------------------------------

    Assignee: Bertrand Delacretaz

> JST script engine
> -----------------
>
>                 Key: SLING-192
>                 URL: https://issues.apache.org/jira/browse/SLING-192
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The microsling-core JST script engine should be ported to sling/scripting

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-192) JST script engine

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-192.
---------------------------------------

    Resolution: Fixed

scripting/jst module added in revision 636395, adapted from the microsling code.

There are no tests at the moment, but this example script works:

<h1>currentNode test</h1>
<div>
This is html.jst, path=<%= currentNode.title %>.
</div>

<div>
<h1>ujax test</h1>
root resource type=
<b><% out.write(ujax.getContent("/")["sling:resourceType"]); %></b>.
</div>

The same script would work as an ESP script, except for ujax.getContent() which is client-side specific.

> JST script engine
> -----------------
>
>                 Key: SLING-192
>                 URL: https://issues.apache.org/jira/browse/SLING-192
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The microsling-core JST script engine should be ported to sling/scripting

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-192) JST script engine

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607260#action_12607260 ] 

Bertrand Delacretaz commented on SLING-192:
-------------------------------------------

The above examples are out of sync with the current Sling trunk, see SLING-466 

> JST script engine
> -----------------
>
>                 Key: SLING-192
>                 URL: https://issues.apache.org/jira/browse/SLING-192
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The microsling-core JST script engine should be ported to sling/scripting

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.