Name : Akhil Anil Karun

Email : akhil.karun@gmail.com

Proposal Title : Enhance Tuscany Widget Support

Apache Project Name : Tuscany 

Mentor Name : Luciano Resende (Pending Confirmation) 

Link To Project Idea JIRA : Enhance Tuscany Widget Support

Proposal Content Details :

Current Intentions

1. Code the file for implementation-widget-runtime-jquery

In the model of implementation-widget-runtime-pojo - Luks pretty easy!

Important classes and function

RuntimeComponent - correspond to the component tag in the xml? have to debug and check.

2. Add some kind of switch on the composite file to change the classpath dependencies

ComponentJavaScriptGenerator.java contains

QName - This is used to identify different generators supporting different JavaScript frameworks. This is now present internally and configured as 

private static final QName NAME = new QName("http://tuscany.apache.org/xmlns/sca/1.1", "component.script.generator.dojo");
private static final QName NAME = new QName("http://tuscany.apache.org/xmlns/sca/1.1", "component.script.generator.dojo");

in DojoJavaScriptComponentGeneratorImpl.java

How can we bring it out and make it configurable in a composite file.

3. Use the jQuery native ajax calls

Following are the popular ajax request present in jQuery \[1\]

\[1\] 
http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/