You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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. Add the jquery option to implementation.widget to handle jquery codes

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
targetNamespace="http://store"
name="store">

<component name="store">
<t:implementation.widget location="contents/store.html"/>
<service name="Widget">
<t:binding.http/>
</service>
<reference name="catalog" target="Catalog">
<t:binding.jquery/>
</reference>
...
</component>

.....
</composite>

2. Include a generated jQuery plugin

<!- one js include per sca component ->
<script type="text/javascript" src="jQuery.tuscany.js"></script>jQuery plugins extends the core jQuery nature [1] . This file would be generated by a generator function in the server side. 

[1] Book Reference : jQuery in Action, Chapter 8

  • No labels