GIGJ.COM
welcome to my space
X
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
Welcome to:gigj.com
Search:  
NAVIGATION: Home >>

Viewport behaves strange when created after FormPanel?

Published by: webmaster 2009-01-07
  • Hello!
    I have strange problem: In my application i create login window prior to creating the viewport which contains the border-layout for the application.
    The Window itself contains an Ext.FormPanel which contains the fields required to log in. When creating the ViewPort after this FormPanel has been created, the ViewPort sets the body of the page with relative position and top and left offsets.
    This means the whole layout contained in the viewports starts somewhere in the middle of the page and the rest of it is not visible.

    Has anyone experienced similar behaviours with the ViewPort? Does it have to be created before any other containers/components?

    If so, i have another problem, because the Viewport does not let you add components after creation: I tried to work around this problem by creating the viewport first, but failed to add the viewport components dynamically after the login succeded. See this thread (http://extjs.com/forum/showthread.php?t=20771) on a report of this particular problem.
  • Ext: Help - Page 1083 - Ext JS Forums::
    Viewport behaves strange when created after FormPanel? Shyru · 12-13-2007 12:33 PM. 12-18-2007 08:33 AM by Shyru · Go to last post
    http://extjs.net/forum/forumdisplay.php?f=9&order=desc&page=1083
    HOME
    /srv/irclogs.ubuntu.com/2008/01/09/#ubuntu.txt::
    15:23, Robin, ok thanks, cus it is wery strange for me, and i have created a partitionon my windows xp with partition magic but i dont now wich button to
    http://irclogs.ubuntu.com/2008/01/09/#ubuntu.html
    HOME


  • After lots of troublesome debugging, i finally found the problem. - Its all in the state! /:)

    Since i initally just had the viewport, then added a window before creating the viewport, component-id's changed and so the viewport was loading the state from an old component... :((

    So just a heads-up for all reading this: The best is to always set a stateId on components, to avoid trouble when creation-order of components change.


  • I think the viewport does need to be created first.
    you cannot add to the viewport after it is created, but you can do the basic layout with the correct empty regions and render into those regions later.





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks
    You are looking at:gigj.com's Viewport behaves strange when created after FormPanel?, click gigj.com to home
  • launchbrowser favourites question
  • studentfilms script is available
  • possibility to minimize python scripts
  • dtv coooool 33
  • help gamespotplus not working
  • pbs macneil lehrer newshour script
  • 0 18 mythtv xbmcmythtv
  • script request www svt se
  • dynamic ip python script
  • ooba problems
  • integrating scriptrunner and xbmcscripts com
  • receive net send messages with xbmc
  • any finnish video streams available

  • movies at archive org in ooba
  • set with matching get
  • request nzb compatible usenet newsgroup downloader script
  • need help with torrentbrowser background code
  • internet p2p tv
  • xmovieguide hangs on exit help
  • script browser
  • script to access azureus stats repost plz
  • shoutcast script to autoexec
  • australian tv guide
  • script to play all music in a directory w o a ps
  • script request send free sms text messages from xbmc
  • imdb in other languages
  • dutchstream script now available
  • #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 Viewport behaves strange when created after FormPanel? , Please add it free.

    About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 gigj.com All Rights Reserved
    Site made&Support support@gigj.com    E-mail: web@gigj.com