You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/01/20 21:20:55 UTC

[jira] Created: (SLING-1303) Allow bundles to contribute values to the script bindings

Allow bundles to contribute values to the script bindings
---------------------------------------------------------

                 Key: SLING-1303
                 URL: https://issues.apache.org/jira/browse/SLING-1303
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
            Reporter: Justin Edelson
            Assignee: Justin Edelson


As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.

The proposed interface is:

public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 

The Bindings object will be made read-only via a facade.

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


[jira] Updated: (SLING-1303) Allow bundles to contribute values to the script bindings

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

Felix Meschberger updated SLING-1303:
-------------------------------------

    Fix Version/s: Groovy Extensions 1.0.0

Involves Groovy Extension Bundle

> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting API 2.0.2
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Scripting API 2.1.0, Groovy Extensions 1.0.0
>
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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


[jira] Updated: (SLING-1303) Allow bundles to contribute values to the script bindings

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

Carsten Ziegeler updated SLING-1303:
------------------------------------

    Affects Version/s: Scripting API 2.0.2
        Fix Version/s: Scripting API 2.1.0

> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting API 2.0.2
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Scripting API 2.1.0
>
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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


[jira] Resolved: (SLING-1303) Allow bundles to contribute values to the script bindings

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

Justin Edelson resolved SLING-1303.
-----------------------------------

    Resolution: Fixed

> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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


[jira] Commented: (SLING-1303) Allow bundles to contribute values to the script bindings

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806055#action_12806055 ] 

Justin Edelson commented on SLING-1303:
---------------------------------------

also added support for registering java.util.Map services. downside to this approach is that you can't access the current bindings.

both cases described on: http://cwiki.apache.org/SLING/adding-new-scripting-variables.html

> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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


[jira] Closed: (SLING-1303) Allow bundles to contribute values to the script bindings

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

Carsten Ziegeler closed SLING-1303.
-----------------------------------


> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting API 2.0.2
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Scripting API 2.1.0
>
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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


[jira] Commented: (SLING-1303) Allow bundles to contribute values to the script bindings

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804671#action_12804671 ] 

Justin Edelson commented on SLING-1303:
---------------------------------------

implemented in trunk. Leaving open because JSP support is less-than-ideal.

> Allow bundles to contribute values to the script bindings
> ---------------------------------------------------------
>
>                 Key: SLING-1303
>                 URL: https://issues.apache.org/jira/browse/SLING-1303
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> As I described here: http://markmail.org/message/cjsjywo3rsgfujks, I'd like to see a way for bundles to contribute script binding values.
> The proposed interface is:
> public interface SlingScriptBindingValuesProvider { void addBindings(Bindings bindings); } 
> The Bindings object will be made read-only via a facade.

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