1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    46
    Vote Rating
    0
    valc is on a distinguished road

      0  

    Default Open tab using url and query string.

    Open tab using url and query string.


    Is it possible to open a page to a specific tab? Possibly based on a value in the quest string ?

    I have the following scenario where I load a web page (that contains tabs constructed from existing HTML) into an iframe. I then need to send a url to someone to open the webpage, in the iframe, to a specific tab. Can this be one ?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    After you construct your tabs, you can activate any one of them - you could decide which one based on the querysting.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    46
    Vote Rating
    0
    valc is on a distinguished road

      0  

    Default


    Can I do it in teh on load event of the page ?

    How do I get the correct reference to the tab, is it by id ?

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    You could do it on page load, or I suppose when you build the Tabpanel. Look at the doc for TabPanel - most of the methods take an tab id or and index.

Similar Threads

  1. Can someone help with this query?
    By xmrcivicboix in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 2 Apr 2007, 8:57 AM
  2. find in XML using Ext.Query
    By galdaka in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 29 Mar 2007, 5:50 AM
  3. DataModel.query() For A 0-Length String
    By thejoker101 in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 17 Nov 2006, 8:49 AM
  4. DataModel.query bug in FF
    By jdgrieco in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 29 Oct 2006, 5:02 PM
  5. Add query string parameter into DataModel
    By kovtik in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 3 Oct 2006, 5:28 AM

Thread Participants: 1