HZGN.COM
welcome to my space
X
Search:  
Feng Shui | Graphic Design | Cosmetics | Causes and Organizations | Regulatory Compliance | Gadgets and Gizmos | Computer Forensics | Tools and Equipment | Related articles
Welcome to:hzgn.com
NAVIGATION: Home >>
[SOLVED][2.0]Loading html pages that work on their own into a tab panel doesn't work
Published by: anonym 2009-01-07

  • Hi,

    I know that it's been covered in varying degrees in other posts, but I can't seem to pull all the threads together to cover my implementation.

    I have a border layout main page. There is a tab panel in the center region. I would like to load pages that I have created as tabs into this tab panel.
    Error loading cmicnfg.cpl -- SOLUTION HERE! - Page 3 - Windows NT ::
    10 posts - Last post: Jan 25, 2006The only thing that doesn't work are the .wav files in sound audio good to check: Control Panel, Sounds and Audio Devices, Sounds tab.
    http://www.daniweb.com/forums/thread25517-3.html
    HOME

    An example of a page that I would like to load contains an ext form layout and an ext grid. I am including the ext files at the top of the (htm) page and when I navigate to the page directly, it loads fine.

    I have set
    Ext.Updater.defaults.loadScripts = true;
    in my main page ( the one with the border layout ). Now at least the firebug console.log command works in the loaded page. I can't get the rest of the code to work properly though. I'm wrapping it in
    Ext.onReady(function(){
    // my code
    });
    maybe that is where my problem lies?

    Ext: Can you please tell me
    1. What is the best practise for developing content that will be rendered into a border layout? I'm going for something like your documentation pages, but on the individual pages I have forms and grids created using the extJs framework. Should I be including the javascript on the main layout page and just call the function from the page when it get's loaded? It seems like that would cause some bloat on the main page?? I would like to keep each page's script on that page.
    2. Should I be including the ext-base.js / ext-all.js files on every page that is rendered in the border layout? Is it possible to just have those includes on the main page and access the library from there?
    3. How do I initialise the code to build the form on the individual pages once they are loaded? Should I be using "Ext.onReady" like I have written above, or are there particular events I should be hooking into?

    Thanks for the clarity,
    Joshua


  • Oh wow.. I am just loving using ExtJs. :D


  • This may not answer everything, but
    1) Dynamic pages you load should be html snippets, not entire pages e.g. no body/head tags.
    2) You should not re-include the ext js files in the dynamic content you load.
    3) The JS code in the dynamic content should not be in an onReady block. The code will be eval'd once the entire chunk is loaded.





  • Red Hat's Rough Recovery From CFO Exit
    Windows Live Finds a New, Pre-installed Home

    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [SOLVED][2.0]Loading html pages that work on their own into a tab panel doesn't work , Please add it free.
  • armenia 5859 pigs died of epidemic
  • minn lake has die off of bluebill ducks
  • bird deaths in santa cruz continue to dumbfound experts
  • newcastle disease pigeons russia arkhangelsk
  • darwin was wrong about the wild origin of the chicken
  • botulism suspected in mich bird deaths
  • mystery illness strikes penguins
  • birds die off in long island
  • a h3n2 swine reassortants in china
  • netherlands dozens ill after visiting bird show
  • swine workers and swine influenza virus infections
  • two sea eagles make surprise appearance at jalan kayu home singapore
  • sick geese oregon
  • swine fever hits tanzania
  • surveillance and traceability key for biosecurity can
  • ca mystery illness strikes birds
  • birds die off long island ny
  • india nine peahens two peacocks found dead
  • johannesburg s ducks die
  • camel deaths alarm yanbu livestock owners
  • new castle disease attacks ifugao fowls philippines
  • drug resistant e coli found in arctic birds
  • new swine flu subtype has avian flu genes
  • idaho beekeepers support virus detector
  • contagious bovine pleuropneumonia uganda suspected
  • mystery illness kills 10 dogs at florida shelter
  • ontario residents worried about swan deaths along st clair river
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hzgn.com        Site made:CFZ