Hi,
I'm currently rendering a fragment inside a page using
'UUFClient.renderFragment' method.
Then I display it in the page using "{{#defineZone}} helper.
This fragment contains a button.
When I click that button I need to do an ajax call to a micro service.
I make the ajax call inside the front-end js of the current page.
This seems not to be working, as the button is in the fragment.
So, is it ok to define a front-end js in the fragment and do the ajax call
from it, instead of the front-end js of the current page .?
Thanks
--
Denuwanthi De Silva
Senior Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: [email protected]
Blog: https://denuwanthi.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev