[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-05-11 Thread Christophe Jelger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16006157#comment-16006157 ] Christophe Jelger commented on SLING-6785: -- [~justinedelson] Thx for the feature, I could finally

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15980769#comment-15980769 ] Konrad Windszus commented on SLING-6785: While in general I think this feature is useful I have

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978982#comment-15978982 ] Justin Edelson commented on SLING-6785: --- bq. if the user does not set 'scope="adaptable"' and the

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978980#comment-15978980 ] Stefan Seifert commented on SLING-6785: --- {quote} if we add a scoping/caching support via @Model

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978973#comment-15978973 ] Justin Edelson commented on SLING-6785: --- bq. but this does not seem to apply to current

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978942#comment-15978942 ] Stefan Seifert commented on SLING-6785: --- please note that if the adaptable extends SlingAdaptable

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978927#comment-15978927 ] Justin Edelson commented on SLING-6785: --- [~jebailey] the cache is a WeakHashMap where the keys are

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Jason E Bailey (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978921#comment-15978921 ] Jason E Bailey commented on SLING-6785: --- [~justinedelson] Wouldn't placing this in the

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1597#comment-1597 ] Justin Edelson commented on SLING-6785: --- [~jelger] bq. Just to make sure, you also agree that we

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Christophe Jelger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978872#comment-15978872 ] Christophe Jelger commented on SLING-6785: -- [~justinedelson] Just to make sure, you also agree

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978858#comment-15978858 ] Justin Edelson commented on SLING-6785: --- [~jelger] the problem for me with {{scope="request"}} is

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Christophe Jelger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978854#comment-15978854 ] Christophe Jelger commented on SLING-6785: -- [~justinedelson] Actually {{scope="adaptable"}} seems

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978821#comment-15978821 ] Justin Edelson commented on SLING-6785: --- bq. Regarding your proposal, do you foresee that the scope

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978818#comment-15978818 ] Justin Edelson commented on SLING-6785: --- [~jebailey] I see your concern, but wouldn't the model

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Christophe Jelger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978814#comment-15978814 ] Christophe Jelger commented on SLING-6785: -- Just to make sure this is clear, I do not mean that

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Jason E Bailey (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978813#comment-15978813 ] Jason E Bailey commented on SLING-6785: --- I have concerns with the utility of this. It would be

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15978793#comment-15978793 ] Justin Edelson commented on SLING-6785: --- Leaving aside the {{session}} and {{application}} scopes, I