[jira] Updated: (SLING-264) Allow sling scripts resolved by the script resolver to be executed without request/response

2008-02-26 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler updated SLING-264:
---

  Assignee: Carsten Ziegeler
Remaining Estimate: 0h
 Original Estimate: 0h

 Allow sling scripts resolved by the script resolver to be executed without 
 request/response
 ---

 Key: SLING-264
 URL: https://issues.apache.org/jira/browse/SLING-264
 Project: Sling
  Issue Type: Improvement
  Components: Scripting
Reporter: Alexander Saar
Assignee: Carsten Ziegeler
Priority: Minor
 Attachments: script_execution_without_request.diff

   Original Estimate: 0h
  Remaining Estimate: 0h

 It should be possible to reuse the sling infrastructure for execution of 
 scripts without having a request or response in order to implement 
 application functionality that is not triggered by a client request (eg 
 triggered by an event).

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



[jira] Updated: (SLING-264) Allow sling scripts resolved by the script resolver to be executed without request/response

2008-02-24 Thread Alexander Saar (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Saar updated SLING-264:
-

Attachment: script_execution_without_request.diff

This patch extends SlingBindings with an additional property for the reader 
that provides script input and changes the DefaultSlingScript implementation to 
attach script input reader and request separately. The verification of 
SlingBindings was changed to check only for presence of a logger in case no 
request is available. If there is a request object attached to the provided 
SlingBindings the original checks for response, resouce and so on are applied 
to ensure that scripts executed inside requests can rely on these variables.

 Allow sling scripts resolved by the script resolver to be executed without 
 request/response
 ---

 Key: SLING-264
 URL: https://issues.apache.org/jira/browse/SLING-264
 Project: Sling
  Issue Type: Improvement
  Components: Scripting
Reporter: Alexander Saar
Priority: Minor
 Attachments: script_execution_without_request.diff


 It should be possible to reuse the sling infrastructure for execution of 
 scripts without having a request or response in order to implement 
 application functionality that is not triggered by a client request (eg 
 triggered by an event).

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