1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    132
    Vote Rating
    0
    ssdesign is on a distinguished road

      0  

    Exclamation How to integrate existing code with Sencha

    How to integrate existing code with Sencha


    I have a existing webpage that I want to display in one of the tabs using Sencha.

    The existing page has its own JS scripts which the page needs to use.

    For example.
    My page needs to be like this:
    Code:
    <div id="translControl">Type in <select id="languageDropDown" onchange="javascript:languageChangeHandler()"></select></div>
    so I added the required JS files in the head of my html page.
    Then in my index.js file, I did this

    Code:
     { iconCls: 'download', 
    title: 'Download', 
    html: 'Select <select id="languageDropDown" onchange="javascript:languageChangeHandler()"></select></div>', 
    cls: 'card2' },
    As you can see, I have an "onChange" on a select element.

    When I run this page, the select box is empty.
    Is it supposed to be done like this or I am doing it wrong?

    I would like to know if external webpages can be loaded in the tabs.

    Any help is greatly appreciated.

    Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    8
    TommyMaintz will become famous soon enough

      0  

    Default


    In HTML you need to specify <option> tags inside a select control.

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    132
    Vote Rating
    0
    ssdesign is on a distinguished road

      0  

    Default


    Thanks, I realised that my problem is I am trying to use Google Transliteration JSAPI, which does not seem to work with Sencha.

    Has anyone tried to work with Google JSAPI? Is there any place I can refer to on how to integrate Sencha with it?

Similar Threads

  1. Sample code to submit a Sencha Touch form?
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 11
    Last Post: 12 Apr 2012, 9:11 PM
  2. Cannot integrate Ext Gwt in an existing project
    By Habhoub in forum Ext GWT: Help & Discussion (1.x)
    Replies: 11
    Last Post: 20 May 2009, 2:12 AM
  3. Integrate extj in existing jsp page
    By albertogiantin in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 14 Jan 2008, 1:44 AM
  4. How do I add code to an existing function
    By philduhs in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 19 Nov 2007, 1:30 PM
  5. Replies: 1
    Last Post: 28 Oct 2007, 5:02 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar