Tabs to tab navigator at runtime

Hi,
I want to add 4-5 tabs to a tab navigator at runtime and each
tab should have a datagrid and 9-10 textinputs in it
is it possible in flex to do with for loop to add tabs and
datagrid and text inputs to it
plz find me some solution

Given that you had a tab navigator declared in mxml like
this:
<mx:TabNavigator id="myTabber" selectedIndex="0">
</mx:TabNavigator>
you should just be able to call the addChild method, passing
the child tab containers. So for example, in some ActionScript
event handler:
var newTab:Canvas = new Canvas();
myTabber.addChild(newTab);
bear in mind I haven't done this by adding tabs, but have
done tons with adding controls to an application at runtime using
this method (DataGrids, Grid, GridItems, etc...)
Jason

Similar Messages

  • Vim Ctrl + Tab for Tabs navigation

    :noremap <silent> <c-Tab> :tabn<CR>
    noremap! <silent> <C-Tab> :tabn<CR>
    This doesn't work for me - any idea why? Ctrl-tab just doesn't shift tabs... I've definitely not bound the combination elsewhere in my .vimrc either.
    - KD
    Last edited by KomodoDave (2007-05-02 02:38:33)

    mosor wrote:
    Here are my tab related settings (that work):
    set showtabline=2 " File tabs allways visible
    :nmap <C-S-tab> :tabprevious<cr>
    :nmap <C-tab> :tabnext<cr>
    :nmap <C-t> :tabnew<cr>
    :map <C-t> :tabnew<cr>
    :map <C-S-tab> :tabprevious<cr>
    :map <C-tab> :tabnext<cr>
    :map <C-w> :tabclose<cr>
    :imap <C-S-tab> <ESC>:tabprevious<cr>i
    :imap <C-tab> <ESC>:tabnext<cr>i
    :imap <C-t> <ESC>:tabnew<cr>
    Thanks for posting, mosor! Sadly your command lines don't work for me either...
    Here's my .vimrc, much of which was cloned from phrakture's :
    """""""""" general options """"""""""
    set nocompatible " Use Vim settings, rather then Vi settings (much better!).
    " This must be first, because it changes other options as a side effect.
    "syntax enable " enable syntax highlighting and keep current colour settings
    syntax on " enable syntax highlighting and override current colour settings
    behave xterm " mouse and selection xterm behaviour
    filetype plugin indent on " filetype dependent indenting and plugins
    set autoindent " indents line relative to the line above it
    set autowrite " automatically write contents of file where sensible
    set backspace=indent,eol,start " allow backspacing over eevrything in insert mode
    set backup backupdir=$HOME/.vim/backup " set backup directory
    set cinoptions=g0,:0,l1,(0,t0 " C indentation options
    set clipboard=unnamed " yank and paste in visual mode without prepending "*
    set cmdheight=1 " cmdline height
    set complete=.,t,i,b,w,k " keyword completion configuration
    set encoding=utf-8 " encoding
    set expandtab " insert spaces instead of tab character
    set formatoptions+=l " add format option preventing lines longer than 'textwidth' being broken
    set guioptions-=T " no toolbar
    set hidden " don't have to save when switching buffers
    set history=100 " cmdline history table size
    "set ignorecase " search is case insensitive when search term is all lower case
    set incsearch " live search while typing search expression
    set laststatus=2 " always display the status line
    set nohlsearch " no highlighting when performing search
    set nowrap " don't wrap visible lines
    set number " precede line with line number when printing
    set pastetoggle=<F9> " toggle paste mode
    set previewheight=5 " preview window size
    "set ruler " show line and column in status line
    set shell=/bin/sh " set the shell to be used
    set shiftwidth=4 " number of spaces used for (auto)indent
    set showcmd " show partial command in status line
    set showmode " show whether in insert, visual mode etc
    set showmatch " indicate matching parentheses, braces etc
    set showtabline=2 " File tabs allways visible
    set shortmess=a " abbreviate file messages
    set smartcase
    set smartindent
    set softtabstop=4 " tab defaults to 4 spaces while performing editing operations
    set splitbelow " split creates new window below current one
    set statusline=%-3.3n\ %f\ %r%#Error#%m%#Statusline#\ (%l/%L,\ %c)\ %P%=%h%w\ %y\ [%{&encoding}:%{&fileformat}]\ \ "status line settings
    set tabstop=4 " tab defaults to 4 spaces
    set textwidth=80 " maximum column width of inserted text - longer lines are broken after whitespace
    set ttyfast " for fast terminals - smoother (apparently)
    set termencoding=utf-8
    set whichwrap=h,l,<,>,[,] " allow line-wrapped navigation
    set wildchar=<Tab> " type tab in cmdline to start wildcard expansion
    set wildmenu " enhanced cmdline completion
    set wildmode=longest:full,full " cmdline completion mode settings
    set writebackup " make a file backup before overwriting it
    " Convenient command to see the difference between the current buffer and the
    " file it was loaded from, thus the changes you made.
    command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
    \ | wincmd p | diffthis
    """""""""" keyboard mappings """"""""""
    " Dvorak caret navigation
    :noremap t <Up>
    :noremap h <Down>
    :noremap d <Left>
    :noremap n <Right>
    :noremap k d
    :noremap l n
    :noremap j t
    " Window split and navigation
    :noremap <C-w><S-s> :vsplit<CR>
    :noremap <C-w>t <C-w><Up>
    :noremap <C-w>h <C-w><Down>
    :noremap <C-w>d <C-w><Left>
    :noremap <C-w>n <C-w><Right>
    " Ctrl-s saves
    :inoremap <C-s> <Esc>:w<CR>a
    :nnoremap <C-s> :w<CR>
    " Tab manipulation
    ":noremap <silent> <C-t> :tabnew<cr>
    ":noremap <silent> <C-x> :tabc<cr>
    ":noremap <silent> <C-tab> :tabn<cr>
    ":noremap <silent> <C-s-tab> :tabp<cr>
    "noremap! <silent> <C-t> :tabnew<cr>
    "noremap! <silent> <C-x> :tabc<cr>
    "noremap! <silent> <C-tab> :tabn<cr>
    "noremap! <silent> <C-s-tab> :tabp<cr>
    :nmap <C-S-tab> :tabprevious<cr>
    :nmap <C-tab> :tabnext<cr>
    :nmap <C-t> :tabnew<cr>
    :map <C-t> :tabnew<cr>
    :map <C-S-tab> :tabprevious<cr>
    :map <C-tab> :tabnext<cr>
    :map <C-x> :tabclose<cr>
    :imap <C-S-tab> <ESC>:tabprevious<cr>i
    :imap <C-tab> <ESC>:tabnext<cr>i
    :imap <C-t> <ESC>:tabnew<cr>
    "Key bindings
    noremap <silent> <F1> :Tlist<cr>
    noremap <silent> <F2> :VSBufExplore<cr>
    "noremap <silent> <F3> :Make<cr>
    noremap <silent> <F3> <c-o>:Project<cr>
    noremap <silent> <F6> :set spell!<cr>
    noremap! <silent> <F1> <c-o>:Tlist<cr>
    noremap! <silent> <F2> <c-o>:VSBufExplore<cr>
    "noremap! <silent> <F3> <c-o>:Make<cr>
    noremap! <silent> <F3> <c-o>:Project<cr>
    noremap! <silent> <F6> <c-o>:set spell!<cr>
    " I never use these anyway
    noremap ( :bprev<cr>
    noremap ) :bnext<cr>
    ":inoremap ^] ^[A
    ":inoremap ð ^N
    " Don't use Ex mode, use Q for formatting
    "map Q gq
    """""""""" autocommand stuff """"""""""
    " Only do this part when compiled with support for autocommands.
    if has("autocmd")
    " Enable file type detection.
    " Use the default filetype settings, so that mail gets 'tw' set to 72,
    " 'cindent' is on in C files, etc.
    " Also load indent files, to automatically do language-dependent indenting.
    filetype plugin indent on
    " Put these in an autocmd group, so that we can delete them easily.
    augroup vimrcEx
    au!
    " For all text files set 'textwidth' to 78 characters.
    autocmd FileType text setlocal textwidth=78
    " When editing a file, always jump to the last known cursor position.
    " Don't do it when the position is invalid or when inside an event handler
    " (happens when dropping a file on gvim).
    autocmd BufReadPost *
    \ if line("'\"") > 0 && line("'\"") <= line("$") |
    \ exe "normal! g`\"" |
    \ endif
    augroup END
    else
    set autoindent " always set autoindenting on
    endif " has("autocmd")
    " if autocmd is on
    if has("autocmd")
    " read Ex commands from file if syntax matches
    au Syntax {cpp,c,idl} runtime syntax/doxygen.vim
    au Syntax {cpp,c,lisp,scheme} runtime plugin/RainbowParenthesis.vim
    au FileType qf if &buftype == "quickfix" |
    \ setlocal statusline=%-3.3n\ %0*[quickfix]%=%2*\ %<%P |
    \endif
    au FileType mail setlocal spell
    au FileType cvs setlocal spell
    au FileType help setlocal statusline=%-3.3n\ [help]%=\ %<%P
    " for all files enable cursorline upon entering a window, and disable when
    " leaving
    "au WinEnter * setlocal cursorline
    "au WinLeave * setlocal nocursorline
    au BufReadPost * if line("'\"")>0 && line("'\"")<=line("$")|exe "normal g`\""|endif
    " syntax highlighting for html that permits embedded javascript
    au BufRead *.html set filetype=htmlm4
    " when a PKGBUILD is loaded into a buffer, trigger all sh filetype autocommands
    " this occurs before modelines are read
    au BufRead,BufNewFile PKGBUILD set ft=sh
    " when a .as file is loaded into a buffer,, trigger all actionscript
    " filetype autocommands, and use C indenting rules
    " this occurs before modelines are read
    au BufRead,BufNewFile *.as setlocal ft=actionscript cindent
    " omni functionality
    au FileType css setlocal ofu=csscomplete#CompleteCSS
    au Filetype * if exists('&ofu') && &ofu == "" |
    \ set ofu=syntaxcomplete#Complete |
    \endif
    endif
    """""""""" abbreviations and remaps """"""""""
    ":abbreviate #! #!/usr/bin/env python
    """""""""" other stuff """"""""""
    " vim.org tip 867: get help on python in vim, eg :Pyhelp os
    :command -nargs=+ Pyhelp :call ShowPydoc("<args>")
    function ShowPydoc(module, ...)
    let fPath = "/tmp/pyHelp_" . a:module . ".pydoc"
    :execute ":!pydoc " . a:module . " > " . fPath
    :execute ":sp ".fPath
    endfunction
    "bracket autocompletion
    inoremap ( ()<ESC>i
    inoremap [ []<ESC>i
    inoremap { {<CR>}<ESC>O
    autocmd Syntax html,vim inoremap < <lt>><ESC>i| inoremap > <c-r>=ClosePair('>')<CR>
    inoremap ) <c-r>=ClosePair(')')<CR>
    inoremap ] <c-r>=ClosePair(']')<CR>
    inoremap } <c-r>=CloseBracket()<CR>
    inoremap " <c-r>=QuoteDelim('"')<CR>
    inoremap ' <c-r>=QuoteDelim("'")<CR>
    function ClosePair(char)
    if getline('.')[col('.') - 1] == a:char
    return "\<Right>"
    else
    return a:char
    endif
    endf
    function CloseBracket()
    if match(getline(line('.') + 1), '\s*}') < 0
    return "\<CR>}"
    else
    return "\<ESC>j0f}a"
    endif
    endf
    function QuoteDelim(char)
    let line = getline('.')
    let col = col('.')
    if line[col - 2] == "\\"
    "Inserting a quoted quotation mark into the string
    return a:char
    elseif line[col - 1] == a:char
    "Escaping out of the string
    return "\<Right>"
    else
    "Starting a string
    return a:char.a:char."\<ESC>i"
    endif
    endf
    "folding options
    if has("folding")
    " enable folds
    set foldenable
    " {{{ markers indicate folds
    set foldmethod=marker
    " leave all/most folds open
    set foldlevel=100
    endif
    " if using gvim
    if has('gui_running')
    " allow pasting into other applications after visual selection
    set guioptions+=a
    " use console dialogs instead of popups
    set guioptions+=c
    " don't add tab pages
    set guioptions-=e
    " don't include toolbar
    set guioptions-=T
    " set color scheme
    colors zenburn
    " if running under windows
    if has('win32')
    " set number of columns and lines
    set columns=120
    set lines=60
    " select font
    set guifont=Bitstream_Vera_Sans_Mono:h8:cANSI
    else
    " select font
    set guifont=Bitstream\ Vera\ Sans\ Mono\ 8
    endif
    " if we're in a linux console
    elseif (&term == 'screen.linux') || (&term =~ '^linux')
    " use 8 bit colour
    set t_Co=8
    " set color scheme
    colors desert
    " if we're in xterm, urxvt or screen with 256 colours
    elseif (&term == 'rxvt-unicode') || (&term =~ '^xterm') || (&term =~ '^screen-256')
    " allow mouse in all editing modes
    set mouse=a
    " use xterm mouse behaviour
    set ttymouse=xterm
    " set encoding to uft-8
    set termencoding=utf-8
    " set color scheme
    colors desert256-transparent
    " if we're in a different terminal
    else
    " set color scheme
    colors desert
    endif
    " if we're in screen and autocmd is enabled
    if &term =~ "^screen" && has("autocmd")
    " this fixes background artifacting when leaving vim inside screen
    autocmd VimLeave * :set term=screen
    endif
    let mapleader = "`"
    " cd includes current directory, as well as $HOME and projects folders
    let &cdpath=','.expand("$HOME").','.expand("$HOME").'/projects'
    " if vim version is >= 7
    if v:version >= 700
    " display cursor line
    set cursorline
    " Insert mode completion options
    set completeopt=menu,menuone,longest,preview
    " spellchecker language is US
    set spelllang=en_us
    " spelling suggestions operate on 'fast' mode with max 20 suggestions
    set spellsuggest=fast,20
    " use min 1 column for line number
    set numberwidth=1
    " imma commnt with missspellings, use me tu tesst
    endif
    "set dictionary=/usr/share/dict/words
    " typing q: == :q
    nmap q: :q<cr>
    " typing :Q == :q
    nmap :Q :q<cr>
    " man-page autoreturn after view
    nmap K K<cr>
    iab NDB Author: N David Brown
    "tags files search for a project
    " :FindTags('~/projects/something')
    "command! -nargs=1 -complete=dir FindTags :call ProjectTags(<args>)
    "function! ProjectTags(projectbase)
    "let tfiles = glob("$(find ".a:projectbase." -name tags -print)")
    "let &tags = substitute(tfiles, "\n", ",", "g")
    "endfunction
    "command! -nargs=* Make :call SilentMake(<f-args>)
    "function! SilentMake()
    "let oldsp=&shellpipe
    "setlocal shellpipe=>%s\ 2>&1
    "exe 'silent make '.string(a:000)
    "cwindow
    "set shellpipe=&oldsp
    "redraw! "this screws up the screen sometimes, fix that
    "endfunction
    "Project
    let g:proj_flags = "ibmstg"
    let g:proj_window_width = 35
    "TODO get this working better
    "TagsParser
    "let g:TagsParserLastPositionJump = 1
    "let g:TagsParserCurrentFileCWD = 1
    let g:TagsParserWindowSize = 30
    "let g:TagsParserAutoOpenClose = 1
    "let g:TagsParserSingleClick = 1
    "let g:TagsParserHighlightCurrentTag = 1
    "let g:TagsParserSortType = "line"
    "let g:TagsParserFileReadTag = 1
    "let g:TagsParserFileReadDeleteTag = 1
    "enable the Vim 7.0 options
    if v:version >= 700
    let g:TagsParserCtrlTabUsage = 'tabs'
    "Configure the projects - These have been renamed because the projects I work
    "on at work are not really what is important, but rather the way they are configured.
    let g:TagsParserProjectConfig = {}
    let g:TagsParserProjectConfig['/home/griff/devel/pacman-lib/'] = { 'tagsPath' : '/home/griff/devel/pacman-lib/lib/libalpm/,/home/griff/devel/pacman-lib/src/pacman/' }
    endif
    "TagList
    "let Tlist_Display_Tag_Scope = 1 "ugh...
    let g:Tlist_Display_Prototype = 1
    let g:Tlist_Use_Right_Window = 1
    let g:Tlist_Exit_OnlyWindow = 1
    let g:Tlist_Enable_Fold_Column = 0
    let g:Tlist_Sort_Type = "name"
    let g:Tlist_Compact_Format = 0
    let g:Tlist_File_Fold_Auto_Close = 0
    let g:Tlist_WinWidth = 50
    "VTreeExplorer
    let g:treeExplVertical = 1
    let g:treeExplWinSize = 35
    let g:treeExplDirSort = 1
    "NetRW
    let g:netrw_keepdir = 1
    let g:netrw_winsize = 40
    let g:netrw_alto = 1
    "BufExplorer
    let g:bufExplorerOpenMode=1
    let g:bufExplorerSortBy='mru'
    let g:bufExplorerSplitType='v'
    let g:bufExplorerSplitVertSize = 35
    let g:bufExplorerShowDirectories=1
    "Valgrind
    let g:valgrind_arguments = "--leak-check=yes --num-callers=5000 --time-stamp=yes"
    let g:valgrind_use_horizontal_window = 1
    let g:valgrind_win_height = 7
    "DoxygenToolkit
    let g:DoxygenToolkit_authorName = "Aaron Griffin"
    let g:DoxygenToolkit_briefTag_funcName = "yes"
    "ShowMarks
    let g:showmarks_enable = 0
    let g:showmarks_ignore_type="hmpqr"
    "Buftabs
    let g:buftabs_only_basename = 1
    "Lisp syntax
    "let g:lisp_rainbow = 1
    - KD
    Last edited by KomodoDave (2007-05-04 13:34:16)

  • Hiding Tabs in PCUI application on Runtime

    Hi.
    I'm looking forward to hide a tab in a PCUI application during Runtime but i'm getting the following bahiviour:
    Let's assume i have 20 tabs and i don't want the TAB 15 to be displayed. I've used the method CHECK_ACTIVE_TABSTRIP in TAB 1 in order to delete from the list TAB 15 and "great" -
    > that works !  :-D  but..... as soon as i switch to TAB 2, TAB 15 is displayed again !!!!! does it mean that i have to redefine such method in all the MAC's and place my code for hiding the tab ?????? isn't there a BADI or kind of ? that doesn't make sence to me.
    Thanks.
    Armando Rodriguez.

    This is how it works in PC-UI...
    You can implement the logic in one method and call this in all MAC's...
    Enjoy....
    Raj

  • Dynamic Tab UI Shell: Navigation inside Tab

    Hi,
    By using Dynamic Tab UI shell, I have created a page, inside this page, task flows are opened as Tabs.
    I have opened two tabs TabA and TabB.
    I clicked on TabA, press keyboard tab, it goes to TabB instead of navigating inside TabA.
    I could navigate to last opened tab's contents only.
    Could anybody suggest how can I navigate inside a Tab, instead of navigating to all the opened tabs.
    Thanks,
    Vinod

    Sorry for so much delay. Finally, got some time to play with the template and downloading the dynamicTabTemplate source code and overriding the closeIcon worked like a charm.
    Let me summarize what I did to help someone who is looking for this :)
    1) Downloaded the source code for dynamicTabTemplate
    2) Added and additional attribute closeTab to the template
    +<attribute>+
    +<attribute-name>closeTab</attribute-name>+
    +<attribute-class>java.lang.String</attribute-class>+
    +<required>+
    true
    +</required>+
    +</attribute>+
    2) edited the dynamicTabShell.jspx, closeIcon commanlink actionListener to be bound to "#{viewScope.tabContext.closeIcon}"
    3) Implemented the closeIcon method in TabContext
    +@Override+
    +public void closeIcon(ActionEvent actionEvent) {+
    CloseIconInterface bean = getBean();
    bean.closeIcon(actionEvent);
    +}+
    4) Generated the jar.
    5) Removed the oracle provided default dynamicTabTemplate jar and instead added my custom generated jar to the application
    6) Applied the new template
    7) Set all the attributes along with the new closeTab attribute. This would take the BackingBean name...example: <f:attribute name="closeTab" value="#{xxxScope.xxxBean}"/>
    8) Made xxxBean to implement CloseTabInterface
    9) Implemented the closeIcon method with custom code to confirm page close before removing the Tab.
    However like you said, i'll keep tab on future updates to the default tab template updates to not miss any bug fixes or enhancements.
    Thanks everyone who looked into this for me and Hope this helps someone else :)...Good luck !

  • Put tabs below the navigation and search bar.

    I need to switch the position of the tabs and the navigation and search bars. I want the tabs below the navigation bar, search bar, and the "firefox drop down menu."

    Figured the basic move out, but want to trim the "fat." Can I put the navigation bar and the search bar next to the "firefox" drop down menu?

  • Ever since I downloaded the new Firefox, when I right-click on a link to open it in a different tab, the tab will open but will not load anything, no matter what link I try.

    Ever since I downloaded the new Firefox, when I right-click on a link to open it in a different tab, the tab will open but will not load anything, no matter what link I try. The tab will show the website destination in the navigation bar, but will not automatically load it; I have to press the load button in the navigation bar instead of it instantly loading.
    == This happened ==
    Every time Firefox opened
    == The newest version, 3.6.6, of Firefox was downloaded

    It's not specific sites. I can middle-click on the same link 50 times and it will open it in a new tab 45 times and 5 of those times, it will randomly open it in an entirely new window. I don't know what's causing this.
    It happens so randomly that I don't know how to pin-point what it could be.

  • Can't grasp the relation between tab set, parent tab, standard tab set and standard tab

    Very novice to apex application building, but after trying to figure the concepts behind the tab sets I'm getting more and more confused about it as I always get different behaviour when changing things.
    The documentation is not very clear on this.
    Is there someone who can explain this in a comprehensive way?
    It would be nice to have a view on the consequences of using these different levels of groupings.
    Any help will be dearly appreciated ;-)

    Jan
    One level tab application
    Tabsets are used to group standard tabs.
    Use full when splitting up the application in different sections. Much like how the apex is split up in the application builder, sql workshop, team developend and administration.
    Parent tabs aren't used. And a one level tab application can't be turned into a two level tab application.
    Two level tab application
    Parent tabs belong to only one tabset "main".
    The standard tabset is the connection between the parent tab and standerd tab.
    There is one standard tabset for every parent tab.
    The standard tabset in the two level application has the same function as the tabset in the one level application.
    The standard tabset also determines when a parent tab is current.
    When on the page the setting Standard Tab Set is set then the parent tab belonging to that standard tabset is current.
    This means that if you change a page form one parent tab to an other you not only need to change the tab settings. But also the settings on the page.
    If you still in the position to choose between list or tabs as your main form of navigation I would recommend using lists.
    The possibilities with the list templates are greater that with tabs.
    Tabs have a maximum of two levels. List don't have such a limit.
    If you created your application as a one level tab application you can't turn it in a second level application without some serious hacking.
    Clicking on a standard tab submits the page and branch after the computations. This could also be viewed as a pro for tabs because with list navigation your page needs to be accessible by url. Did isn't necessary with standard tabs making them more secure. Parent tabs also use an url to navigate.
    Only the standard tabs belonging to the current standard tabset are rendered making a drop down menu impossible.
    Hope this clears up some of your questions.
    Nicolette

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • How do I restore my tabs and tab groups after an update to version 36.0?

    I work with many tabs when I use Firefox. I keep them ordered in Tab Groups, which helps separate the different kids of work I do and interests I have. I have been using this environment for years. When I started my work today, Firefox updated to v36.0, and the following behaviour was noticed:
    1. There is only one tab group when attempting to show Tab Groups in Panorama, as opposed to around a dozen;
    2. Normally though the hidden tabs (the tabs in the same group as the startup group and not the default page) don't download content until clicked, the name of the page and icon, if available, will show on the tab. Presently, the tabs show "New Tab" and no icon. There appears, however, to be the number of tabs that exist across all Tab Groups but now are ghosts this one, default Tab Group. I'd have to add, though, I don't count the number of tabs, so I can't be exactly sure. When clicked, there is just a blank page. So it is odd that Firefox knows they are there but cannot simply attach the address to it.
    I have tried to restore the following files from my Windows Home Server backup to the AppData\Roaming\Mozilla\Firefox\Profiles\<gobbletygook>.default folder:
    1. In the sessionstore-backups folder, I replaced the previous.js, recovery.bak and recovery.js files (not any of the upgrade~) with files from yesterday and from two days before.
    When that didn't do anything, I replaced
    2. sessionCheckpoints.json
    I didn't see any file with a recent date that appeared to be one that I should restore. I should add that I do see hidden files. I thought about restoring the whole lot, but wasn't sure how this would affect the program on v36.0 and the profile files on 35.0.1.
    I have deadlines this week and need to immediately restore my environment in order to make those deadlines. I have no list of addresses to my Web pages to work in IE or other. Any help would be very much appreciated.
    On a second note, I had been wondering recently whether this tab group environment is a suitable way to maintain my work environment. Occasionally, when opening Panorama, I would get an error saying a script is taking too long, but if I clicked Continue, it would display the groups in a few seconds. I had considered putting all of it in Bookmarks though it would be tedious and more difficult to access and open multiple tabs. In the beginning, I tried Tab Groups thinking it was a simple matter of maintaining a table of addresses (in tabs) with a tab group ID or name. How could that go wrong? Well, it has, so it is obviously more complicated than that, and I didn't realise that upgrades would affect personal data. Should I abondon using tab groups?

    With the help of information from user, ptressel, in [https://support.mozilla.org/en-US/questions/1032154#answer-673322 a post here about the existence of sessionstore.js when version 33 was released], I was able to easily recover my tabs and tab groups as follows:
    # close Firefox and, perhaps, allow a few seconds (30s?) for any final closing of files;
    # check to see if you have a sessionstore.js file in your profile folder, named like the one I documented in my original post above;
    # if it is not timestamped prior to the discovery of your problem, open the sessionstore-backups folder;
    # check if the recovery.js file is suitably timestamped and, if not, the recovery.bak.
    # At this point, you are likely to find that none of them are prior to your problem occuring. If so, open your backups of this folder and go through steps 2-4 to find a file prior to your problem occuring.
    # When you find a file, copy it to the root of your current profile folder and name it, "sessionstore.js"
    # Open Firefox. Mine opened up as desired.
    This is a Windows solution. Sorry I can't comment on other platforms, but I'd bet that as this is just a file copy and renaming, it is likely the same.
    For Windows users, you may find you need to sign out and login as an administrator in order to access the backups. You need not logoff your standard account, but do have Firefox closed as described above.
    Hope that helps.

  • How can we prevent JTabbedPanes from transferring focus to components outside of the tabs during tab traversal?

    Hi,
    I noticed a strange focus traversal behavior of JTabbedPane.
    During tab traversal (when the user's intention is just to switch between tabs), the focus is transferred to a component outside of the tabs (if there is a component after/below the JTabbedPane component), if using Java 6. For example, if using the SSCCE below...
    import java.awt.BorderLayout;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    public class TabbedPaneTest extends JPanel {
        public TabbedPaneTest() {
            super(new BorderLayout());
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            add(new JScrollPane(panel));
        private JPanel buildPanelWithChildComponents() {
            JPanel panel = new JPanel();
            BoxLayout boxlayout = new BoxLayout(panel, BoxLayout.PAGE_AXIS);
            panel.setLayout(boxlayout);
            panel.add(Box.createVerticalStrut(3));
            for (int i = 0; i < 4; i++) {
                panel.add(new JTextField(10));
                panel.add(Box.createVerticalStrut(3));
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneTest());
                    frame.pack();
                    frame.setVisible(true);
    ... Then we can replicate this behavior by following these steps:
    1) Run the program in Java 6; and then
    2) Click on a child component in any of the tabs; and then
    3) Click on any other tab (or use the mnemonic keys 'ALT + 1' to 'ALT + 4').
    At step 3 (upon selecting any other tab), the focus would go to the component below the JTabbedPane first (hence the printed message in the console), before actually going to the selected tab.
    This does not occur in Java 7, so I'm assuming it is a bug that is fixed. And I know that Oracle suggests that we should use Java 7 nowadays.
    The problem is: We need to stick to Java 6 for a certain application. So I'm looking for a way to fix this issue for all our JTabbedPane components while using Java 6.
    So, is there a way to prevent JTabbedPanes from passing the focus to components outside of the tabs during tab traversal (e.g. when users are just switching between tabs), in Java 6?
    Note: I've read the release notes between Java 6u45 to Java 7u15, but I was unable to find any changes related to the JTabbedPane component. So any pointers on this would be deeply appreciated.
    Regards,
    James

    Hi Kleopatra,
    Thanks for the reply.
    Please allow me to clarify first: Actually the problem is not that the child components (inside tabs) get focused before the selected tab. The problem is: the component outside of the tabs gets focused before the selected tab. For example, the JButton in the SSCCE posted above gets focused when users switch between tabs, despite the fact that the JButton is not a child component of the JTabbedPane.
    It is important for me to prevent this behavior because it causes a usability issue for forms with 'auto-scrolling' features.
    What I mean by 'auto-scrolling' here is: a feature where the form automatically scrolls down to show the current focused component (if the component is not already visible). This is a usability improvement for long forms with scroll bars (which saves the users' effort of manually scrolling down just to see the focused component).
    To see this feature in action, please run the SSCCE below, and keep pressing the 'Tab' key (the scroll pane will follow the focused component automatically):
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.JViewport;
    import javax.swing.SwingUtilities;
    public class TabbedPaneAutoScrollTest extends JPanel {
        private AutoScrollFocusHandler autoScrollFocusHandler;
        public TabbedPaneAutoScrollTest() {
            super(new BorderLayout());
            autoScrollFocusHandler = new AutoScrollFocusHandler();
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            button.addFocusListener(autoScrollFocusHandler);
            JScrollPane scrollPane = new JScrollPane(panel);
            add(scrollPane);
            autoScrollFocusHandler.setScrollPane(scrollPane);
        private JPanel buildPanelWithChildComponents(int numberOfChildComponents) {
            final JPanel panel = new JPanel(new GridBagLayout());
            final String labelPrefix = "Dummy Field ";
            final Insets labelInsets = new Insets(5, 5, 5, 5);
            final Insets textFieldInsets = new Insets(5, 0, 5, 0);
            final GridBagConstraints gridBagConstraints = new GridBagConstraints();
            JTextField textField;
            for (int i = 0; i < numberOfChildComponents; i++) {
                gridBagConstraints.insets = labelInsets;
                gridBagConstraints.gridx = 1;
                gridBagConstraints.gridy = i;
                panel.add(new JLabel(labelPrefix + (i + 1)), gridBagConstraints);
                gridBagConstraints.insets = textFieldInsets;
                gridBagConstraints.gridx = 2;
                textField = new JTextField(22);
                panel.add(textField, gridBagConstraints);
                textField.addFocusListener(autoScrollFocusHandler);
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6 with auto-scrolling");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneAutoScrollTest());
                    frame.setSize(400, 300);
                    frame.setVisible(true);
    * Crude but simple example for auto-scrolling to focused components.
    * Note: We don't actually use FocusListeners for this feature,
    *       but this is short enough to demonstrate how it behaves.
    class AutoScrollFocusHandler extends FocusAdapter {
        private JViewport viewport;
        private JComponent view;
        public void setScrollPane(JScrollPane scrollPane) {
            viewport = scrollPane.getViewport();
            view = (JComponent) viewport.getView();
        @Override
        public void focusGained(FocusEvent event) {
            Component component = (Component) event.getSource();
            view.scrollRectToVisible(SwingUtilities.convertRectangle(component.getParent(),
                    component.getBounds(), view));
    Now, while the focus is still within the tab contents, try to switch to any other tab (e.g. by clicking on the tab headers, or by using the mnemonic keys 'ALT + 1' to 'ALT + 4')...
    ... then you'll notice the following usability issue:
    1) JRE 1.6 causes the focus to transfer to the JButton (which is outside of the tabs entirely) first; then
    2) In response to the JButton gaining focus, the 'auto-scrolling' feature scrolls down to the bottom of the form, to show the JButton. At this point, the tab headers are hidden from view since there are many child components; then
    3) JRE 1.6 transfers the focus to the tab contents; then
    4) The 'auto-scrolling' feature scrolls up to the selected tab's contents, but the tab header itself is still hidden from view (as a side effect of the behavior above); then
    5) Users are forced to manually scroll up to see the tab headers whenever they are just switching between tabs.
    In short, the tab headers will be hidden when users switch tabs, due to the Java 6 behavior posted above.
    That is why it is important for me to prevent the behavior in my first post above (so that it won't cause usability issues when we apply the 'auto-scrolling' feature to our forms).
    Best Regards,
    James

  • What happened to my tabs and tab groups when I synced to a new computer?

    I have spent the morning trying to sync Firefox. On my previous computer, I was running FF31, but not as a clean install--as an upgrade from FF28. In the Sync screen, I saw my email address and recovery key, so I thought I was good to go.
    Turns out that that wasn't the case, and I needed to set up a new Sync account.
    Here are the steps I took to get my data back:
    1) I uninstalled FF31, reverted to 28, used my email address and recovery key, and got my information back.
    2) Then I updated to FF31.
    3) In FF31, I unlinked my computer, created a new Sync account, and logged in to sync my data.
    However, I was unable to access my tab groups. And when I upgraded to FF31, my tab groups still weren't back.
    I tried looking in "Tabs from Other Devices", and there were no other devices listed.
    How can I get my tabs and tab groups back? I had literally dozens of hours of work-related research saved in these tabs. I have so many visited sites in my history that there's no way I'd be able to recreate all of them.
    Please help--I'm desperate. I can't lose all of those tabs.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Firefox loses my tabs and tab groups

    I closed down my system normally last night. Firefox closed down. When I started up Firefox this morning all of my tabs and tab groups had gone - AGAIN!
    Firefox has done this to me several times and I have never been able to recover my tabs and groups by any of the methods described previously. I am currently using FF 29.0.1 on Windows 7 Ultimate. This loss of tabs and groups has happened in exactly this way on several previous occasions over quite a few years with different versions of FF.
    My history is still present.
    Leading up to this I have noticed that FF 29.0.1 was not faithfully preserving tab states. There have been several tabs where, during a session, I have changed the URL that the tab was pointing to only to find that FF has preserved the original URL for that tab when I have restarted it the next morning.
    I have come to suspect that what is happening is:
    1) FF saves the tab and groups state in sessionstate.js on close down (and at intervals while running). It creates sessionstore.js with a syntax error in it.
    2) On start up FF loads sessionstore.js, hits a syntax error, (silently) decides that it can't use that store and creates a new one, thereby losing all information in the previous sessionstore.js.
    When I save the new sessionstore.js as something else, rename sessionstore.bak to sessionstore.bak.js and then double click it to launch it I get an error dialog:
    Line: 1
    Char: 11
    Error: Expected ';'
    Code: 800A03Ec
    Source: Microsoft JScript compilation error.
    Here are the first few characters of the file:
    {"windows":[],"selectedWindow":0,"_closedWindows":[{"tabs":[{"entries":[{"url":"http://php.net/",
    The frustrating thing is that I (think I) can see data in there relating to my tabs and groups. Because the JS is minified it's almost impossible to extract the data structures in a meaningful way. Because the file is so large (>2.9MB) and the syntax error my code editors can't make any sense of prettifying it so it's very difficult to pull apart.
    I question the use of JS for preserving data in this way. There may be performance reasons for using JS. Wouldn't it be better to use something like XML? At least us poor humans would have a chance of eyeballing the data and doing a manual recovery if necessary. Sod it! We could even write a program to load up the tabs ad groups from the XML!
    I have wondered about using Firefox Sync for all of my systems. My worry is that a problem on one machine will blow away my settings on all of them. Does anyone have any experience with respect to FF Sync in this respect?
    I've preserved copies of my sessionstate.bak (along with the previous one) in the hope that someone may have a way of recovering the tab and group information contained in there.
    If anyone has any suggestions about recovering the tab and group information I'd be really glad to hear them. I can't say loudly enough how frustrating it is to keep losing the tabs and groups. Each time it happens it blows away the context of the several jobs that I'm doing at any one time.
    Oh. And I'm writing this message using Chrome as my browser.

    What have you tried for session recovery so far?
    3MB is quite large and may well indicate some corruption. Still, since as you can see it is largely text, you often can extract the URLs. Doing that by hand would be arduous...
    I assume you have seen the following links in other threads mentioning data mining techniques to rescue the URLs from the sessionstore.js or sessionstore.bak file:
    * Using Firefox's Browser Console (formerly known as Error Console): https://support.mozilla.org/questions/969046#answer-471950
    * Using Firefox developer tool "Scratchpad": http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147
    * Using a third party website: https://firefox-session-restore.herokuapp.com/
    Do any of those work on your file(s)?

  • Components will not assign to tabs in tab container

    When I drag a new component (such as a Spreadsheet Table) to any tab on a tab container, it just becomes another object on the canvas (and not included within the tab or tab set).
    How do I actually place objects within the individual tabs?

    David:
    Thanks for the response.  I had just upgraded to xCelsius Engage 2008 and had not entered my product code in License Manager under the Help menu. 
    I had some functionality during my initial use after the upgrade, but not the tab container apparently.  Seems to work fine now that I entered the product code.

  • Color of selected tab panel tab

    Hello all,
    I'd like to know the orange like color of the upper part of a selected tab panel tab, see the picture below.
    Actually, these are two colors, orange and a darker, 'shaded' orange. I don't mind which color value I can obtain, but I'd like to use the same color for other controls (LED, decoration frame) as well.
    Does this color depend on the Windows theme? If so, I'd be happy about a possibility of obtaining this property programmatically.
    If this color is always the same, I can obtain it myself using Photoshop...
    Thanks a lot,
    Wolfgang
    Solved!
    Go to Solution.

    When the panel has ATTR_CONFORM_TO_SYSTEM_THEME set, CVI lets Windows draw the tabs by calling DrawThemeBackground with partIDs such as TABP_TABITEM, etc. The picture that you posted is the XP theme. The Windows 7 theme is different and it looks like this...
    I checked out the Windows function GetSysColor, but didn't see a way to get that color. Anyway, since the tabs draw differently on XP and Vista/Windows 7, you may not want to use that color in different controls.

  • Using Firefox, I can login and browse my financial institution (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads 66% and then hangs. Has anyone else reported having this issue?

    Using Firefox, I can login and browse my financial institution website (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads about 66% and then hangs (loading). I have let it load until NFCU asks me if I want to cancel the session, a much to long of a load time. Has anyone else reported having this issue with NFCU or Mozilla Firefox 3.6.18?
    I have also posed the question to NFCU, currently awaiting response and will share what was given.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Crystal report 9 Sql Server 2008 R2 compatability

    Can we use Crystal report version 9 in Sql server 2008 R2 to generate reports in web server. Kindly tell us about the compatability of  these two. If there is any support issue between these two kindly mention the same. Edited by: Deepan1 on Jun 7, 2

  • Is there any way of replacing a backslash with a frontslash ?

    I have a major problem here. I used an installer to install my product to the respective folder. But the thing is the installer uses a backslash instead of a frontslash. As a result, my java program is unable to process it. Is there anyway of replaci

  • Using Components within a Symbol

    Project. To create a flash box that allows a visitor to enter 1) email 2) phone number 3) preferred method of contact. Then they can hit submit. That information is sent to a php which sends an email to the administrator letting them know to contact

  • How to call a action in javascript

    hi.. am a learner.. can anyone guide me how to call a action in Illustrator CS2 using javascript thanks in advance, Jasy

  • How to remove an LOV Mapping in iProcurement Page..

    Hi All, In the iProcurement page, there is an LOV mapping for the LOV Expenditure Type. I need to remove the criteria item for one of the LOV mapping. Can any one please help me on how to remove Criteria Item in the LOV mapping. Regards, Ramakrishnan