Saved Bookmarks
| 1. |
Sling Scripts Cannot Be Called Directly In Cq5- Why? |
|
Answer» Scripts cannot be called DIRECTLY within Sling since it will break the STRICT CONCEPT of a REST SERVER; you would mix resources and representations. If you call the representation (the script) directly you hide the RESOURCE inside your script, so the framework (Sling) no longer knows about it. Scripts cannot be called directly within Sling since it will break the strict concept of a REST server; you would mix resources and representations. If you call the representation (the script) directly you hide the resource inside your script, so the framework (Sling) no longer knows about it. |
|