Now that we have had a detailed technical walkthrough on the script processor implementation in the web script framework, it's now time to do some exercise to find out how template processor implementation is done in the web script framework and how to create a custom implementation for template processor. You should now be able to trace through the code to find out how the FreeMarker template processor is used by the web script framework and how you can create a custom template processor implementation. Here is a hint for you in order to do this exercise. In order to understand about template processor implementation, you just need to take a look at the bean entry for org.springframework.extensions.webscripts.ScriptProcessorRegistrar
in web-scripts-application-context.xml
and trace through the code the way we did in the previous section; you should get an overall understanding about template processor implementation and details of creating a custom...
Learning Alfresco Web Scripts
By :
Learning Alfresco Web Scripts
By:
Overview of this book
Table of Contents (18 chapters)
Learning Alfresco Web Scripts
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Familiar with Web Scripts
It's Time for the First Web Script
Understanding the Web Script Framework
Building Blocks of Web Scripts
Invoking Web Scripts
Creating Java-backed Web Scripts
Understanding JavaScript-based Web Scripts in Detail
Deployment, Debugging, and Troubleshooting Web Scripts
Mavenizing Web Scripts
Extending the Web Script Framework
Index
Customer Reviews