Skip to main content

Posts

Showing posts with the label Ajax

How to use Static resource in shale for remoting access enhanced with AJAX

Yesterday I have found out how to use static resource in Shale framework. I wanted to enhance the Use Case example of Shale using Prototype for AJAX support. Then I found out my problem with static resources in Shale framework was resolved with the next steps 1. In the web file descriptor (web.xml) <context-param> <param-name> org.apache.shale.remoting.CLASS_RESOURCES </param-name> <param-value> /static/*:org.apache.shale.remoting.impl.ClassResourceProcessor </param-value> </context-param> <context-param> <param-name> org.apache.shale.remoting.DYNAMIC_RESOURCES </param-name> <param-value> /dynamic/*:org.apache.shale.remoting.impl.MethodBindingProcessor </param-value> </context-param> <context-param> <param-name> org.apache.shale.remoting.WEBAPP_RESOURCES </param-name> <param-value> /webapp/*:org.apache.shale.remoting.impl.WebResourceProcessor </param-value> </context-param> 2. I...