I think we have to keep the gadget concept as is, and bring in a new concept. This was the initial plan with the widgets, but we removed it due to above complications. I think we can bring it back, and use WebComponent to implement it. But unfortunately it’s not implanted in all browsers. But HTML template is [1]. Can you please do some research on this and find if we can leverage this to implement the requirement. Another option is to use WebComponent polyfills.
[1] http://caniuse.com/#feat=template On Mon, Mar 14, 2016 at 11:44 AM, Lasantha Samarakoon <lasant...@wso2.com> wrote: > Hi all, > > There is a recent requirement from ESB analytics dashboards, that they > need to wrap a jQuery data range picker within a gadget. In this case once > the date picker is expanded part of it get cropped down by the IFRAME > borders. In order to solve this issue, we thought of facilitating to render > gadgets without IFRAMES. But that approach may cause following issues. > > > 1. Shindig modifies the HTML content specified in the gadget's XML > (add new scripts, css styles, re-order content and add extra HTML markup > such as HTML, HEAD and BODY). > 2. Unable to provide DOM isolation to prevent script injections and > style conflicts. > 3. Namespace conflicts may happen since multiple instances of a gadget > may reside in a same page. > 4. Some of the Shindig features may not work as some of the parameters > are previously sent via the IFRAME URL. > > > WRT these issues, it seems like the solution is not feasible for the > moment. Any other options or ideas to solve this issue? > > > Regards, > > *Lasantha Samarakoon* | Software Engineer > WSO2, Inc. > #20, Palm Grove, Colombo 03, Sri Lanka > Mobile: +94 (71) 214 1576 > Email: lasant...@wso2.com > Web: www.wso2.com > > lean . enterprise . middleware > -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : m...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev