Noob: Using Custom User Extensions
Hi all. VERY new to Sencha and Architect, just downloaded it yesterday actually. I need to utilize an iFrame in the app I am attempting to build. So in searching the forums I located this post I need to use this within a Architect project I'm using currently.
Unfortunately, being new, I have no clue what so ever as to how to implement a custom user extension. And I have been looking for a tutorial or explanation for over an hour.
Could someone please explain what I need to do to implement the SimpleIFrame UX or point me to some tutorial of documentation as to how to accomplish this?
Time is def. of the essence. So pretty pretty please.
Last edited by fcarentz; 11 Dec 2012 at 7:03 AM.
Reason: added more info
Sencha Premium Member
You could just add an empty container to the view, and edit the html property (or call "theContainer".setHtml("iframe html")).
If you wanted to replicate having a standalone IframeComponent, you could create a new View and do a linked instance to the parent view. A linked instance just involves dragging the child to the parent in the Views menu. You would add all of the relevant functions to that view (such as updateHtml and reload). If you give the linked instance an itemId, you can easily get it with this.down("#itemId"), and call methods on it ( this.down("#itemId").updateHtml())
Tags for this Thread