TabNavigator  is keeping the previous state

Greetings everybody,
I have a tab navigator on my project. The content of each tab is long enough that you need to scroll down to see all content. The issue here isd that when you go to the end of page (tab) to select something and then you switch between tabs and go back to the specified tab the screen shows the end of page (the way you left it). As per customer requirement, she wants the page to show always from top.
I hope the problem is clear and I hope that you can find a solution.
Regards,

I had a similar need when changing states using spark scroller.
I basically just set the viewport vertical scroll position to the top.
myScroller.viewport.verticalScrollPosition = 0;
not sure if you are using  Flex 4.5 or not or if you have scrollers.  Can't remember of hand how to access the scroller in mx:TabNavigator, but the concept of setting scroll position should be possible.
I put my own scroller inside each NavigatorContent then use the line above to set the scroller to top.
<mx:TabNavigator   id="tn" width="100%" height="100%" creationPolicy="all">
  <s:NavigatorContent  id="formTab" label="Form">
                    <s:Scroller id="formScroll"   width="100%" height="100%" >
                    <s:Group  width="100%" height="100%"  >
Don

Similar Messages

  • How to get the previous state of my data after issuing coomit method

    How to get the previous state of some date after issuing commit method in entity bean (It should not use any offline storage )

    >
    Is there any way to get the state apart from using
    offline storage ?As I said the caller keeps a copy in memory.
    Naturally if it is no longer in memory then that is a problem.
    >
    and also what do you mean by auditlog?
    You keep track of every change to the database by keeping the old data. There are three ways:
    1. Each table has a version number/delete flag for each record. A record is never updated nor deleted. Instead a new record is created with a new version number and with the new data.
    2. Each table has a duplicate table which has all of the same columns. When the first table is modified the old data is moved to the duplicate table.
    3. A single table is used which has columns for 'table', 'field', 'data' and 'activity' (update, delete). When a change is made in any table then this table is updated. This is generally of limited useability due to the difficulty in recovering the data.
    All of the above can have a user id, timestamp, and/or additional information which is relevant to the data being changed.
    Note that ALL of this is persisted storage.
    I am not sure what this really has to do with "offline storage" unless you are using that term to refer to backed up data which is not readily available.

  • When I try to move from one selected image to selecting a different image, lightroom (new install of Lightroom 5.5) will keep the previous image selected, so I always end up with two selected images - why?

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

  • How to keep the previous versions of my iWork files after moving them?

    I have several iWork files which were stored in the iCloud. Today I was trying to move them into my USB drive. But after I moved them, I found that all the previous versions of these files were gone. If I moved them from iCloud to my Mac, those previous versions stayed there, but they would be gone if I moved the files into the USB drive.
    Is there any way that I can keep the files' previous versions after moving to a USB drive? My USB drive is in Mac OS Extended (Journaled) format.
    Thank you!

    I am sorry that I didn't make my point clear enough. By "previous versions" I mean "File > Revert To > Browse All Versions". If I moved my files to a thumb drive then it will become empty, I am wondering is there any way to prevent it from being erased. Thank you!

  • How to keep the previous versions of my files after moving them?

    I have several iWork files which were stored in the iCloud. Today I was trying to move them into my USB drive. But after I moved them, I found that all the previous versions of these files were gone. If I moved them from iCloud to my Mac, those previous versions stayed there, but they would be gone if I moved the files into the USB drive.
    Is there any way that I can keep the files' previous versions after moving to a USB drive? My USB drive is in Mac OS Extended (Journaled) format.
    Thank you!

    Well sorry about the duplicate posts, I got no idea which Community I should post in and I wish as many people can see my question as possible.
    And you didn't solve my problem at all. I want my files ON the thumb drive but STILL have those previous versions. Thanks.

  • Adobe eLearning Suite 6 - Upgrading to 6 and keeping the previous version - is it allowed? Possible?

    I have just completed an enormous year long project in CP El Suite 5 and want to upgrade to 6. I need to keep a version 5 to handle edits to the legacy materials but need to get going in 6 so I can enjoy all those new features. Is there any way to keep 5 and install 6 as a separate full install under the one upgrade license?
    Best, Steve

    Interesting take, Anita
    I say that because on the RoboHelp side of things, we see regular admonitions that it's NOT okay per the licensing to purchase an upgrade at upgrade prices, then continue to use both the older and newer versions side by side.
    I'm not sure if there is logically any way to realistically police that, but just as you are 99.9% certain it's fine with Adobe, I'm going to crawl way out here on this shaky little limb and state that I'm about 78.5% certain it's not okay if you read the licensing agreement.
    And here's a fun little tidbit. Did you know that 87.4% of all statistics are totally made up on the spot?
    Only someone from Adobe or one of the attorneys among us can honestly answer this question... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • VO is not getting executed or retains the previous state of execution

    Hi,
    We have a UI for the Party Site. Under this UI, you see the address for the party. When u change the address for the party, the old party site is inactivated and a new party site would be created. Assume that all the possible set of locations already exists in the system.
    Structure of the Business Components
    Page is linked to PartyAM
    PartySitesVO -> Linked to PartySiteEO
    PartySiteVO is linked to PartyAM
    Validation VO - PartySiteInCustomerAccountSiteVVO is part of AM - PartyVAM
    In the PartySiteEO - When we double click, open the EO and go to Properties section, we see the below.
    Properties
    ======
    VAMDef : xxx.oracle.apps.xxad.schema.server.PartyVAM
    We call partysiterow.validate() to call the validateEntity() function of the PartySiteEO which is overridden.
    protected void validateEntity()
    super.validateEntity();
    PartyEntityExpert expert = PartySiteEOImpl.getEntityExpert(getOADBTransaction());
    if (expert.isPartySiteInCustomerAccountSite(getPartySiteId().toString())
    System.out.println("Throwing the exception");
    else
    System.out.println("Not Throwing the exception");
    Package xxx.oracle.apps.xxad.schema.server;
    public class PartyEntityExpert extends OAEntityExpert
    public boolean isPartySiteInCustomerAccountSite(String partySiteId)
    PartySiteInCustomerAccountSiteVVOImpl vvo =
    (PartySiteInCustomerAccountSiteVVOImpl)
    findValidationViewObject("PartySiteInCustomerAccountSiteVVO");
    vvo.initQuery(partySiteId);
    return vvo.hasNext();
    public class PartySiteInCustomerAccountSiteVVOImpl extends OAViewObjectImpl
    public void initQuery(String partySiteId)
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, partySiteId);
    executeQuery();
    PartySiteInCustomerAccountSiteVVO
    =======================
    SELECT 1
    FROM hz_cust_accounts a, hz_cust_account_sites_all b
    where a.cust_account_id = b.cust_account_id
    AND a.status = 'A'
    AND b.status = 'A'
    AND b.party_site_id = :1
    Using this VO we want to check, if we have an active account site linked to party site or not.
    Assume we have two party site Ids 100, 200
    PS - 100 is not linked to AccountSite
    PS - 200 is linked to Active Account Site.
    Now the problem is, we have a FOR loop where we loop through all the PartySiteIDs fetched.
    When the partySiteRow.validate() is called for the first time with say PartySiteID = 100, the PartySiteInCustomerAccountSiteVVO gets executed and no rows will be fetched, so false would be returned.
    When the next itteration happens and partysiteRow,validate() is called, PartySiteID = 200 is passed to PartySiteInCustomerAccountSiteVVO and still no row is returned. Ideally, I should get a row. When I run the same PartySiteInCustomerAccountSiteVVO query in toad for PartySiteUD = 200, I get 1 as the output.
    I am not quite sure, if using the PartyVAM and PartyAM and something around transaction state or VO state has anything to do with the VO cache.
    Please let me know, if you see any logical error into the above kind of setup. Aslo, let me know, if you have any questions in understanding this.
    Thanks
    Saurabh
    Edited by: SaurabhAg on Mar 7, 2012 10:43 AM

    Hi,
    I am just pasting the log messages near to the VO execution. What I have done is, I have hard coded the same PartySiteID, just before calling the executeQuery in VOImpl. If you look at the log message, when the first time the VO executes, it fetches the row which is correct. But when the VO is executed again for the same or different party site id, to me it looks like, it is not at all executing the query.
    In this case, since the PartySiteID is hard coded, it should return 1 row each time the executeQuery is called from VOImpl.
    public void initQuery(String partySiteId)
    partySiteId = "25880390";
    System.out.println("party site id in initQuery : " + partySiteId);
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, partySiteId);
    executeQuery();
    [2254] Loading from /xxx/oracle/apps/xxad/schema/server/PartySiteInCustomerAccountSiteVVO.xml file
    party site id in initQuery : 25880390
    [2255] Column count: 1
    [2256] ViewObject : Created new QUERY statement
    [2257] PartySiteInCustomerAccountSiteVVO>#q computed SQLStmtBufLen: 274, actual=234, storing=264
    [2258] select party_site_id cust_account_site_exists
    from ar.hz_cust_accounts ca
    , ar.hz_cust_acct_sites_all cas
    where CA.STATUS = 'A'
    and CA.CUST_ACCOUNT_ID = CAS.CUST_ACCOUNT_ID
    and CAS.STATUS = 'A'
    and cas.party_site_id = :1
    [2259] Binding param 1: 25880390
    Row party site id : 25880390
    Row is not null, Account Site exists : 1
    party site id in initQuery : 25880390
    [2356] Column count: 1
    [2357] ViewObject : Reusing defined prepared Statement
    [2358] Binding param 1: 25880390
    Please see, if you can provide me some directions or approaches which I can try.
    Thanks
    Saurabh
    Edited by: SaurabhAg on Mar 8, 2012 1:33 AM

  • I have had LR since LR3.  I bought the original program and have done updates ever since.  Do I need to keep the previous versions of LR for my LR5 to work?

    Hope I can get some insight! 

    Just to be a little more specific, you do not need to keep LR3 installed on your computer, but the terms of your license with Adobe require you to not transfer LR3 to another person if you have upgraded to LR5; if you think of it that way, you should "keep" LR3 in that sense. The license terms allow you to have Lightroom (any version numbers) installed on any two devices (which could mean a Mac computer and a Windows PC, or a laptop or desktop, or any combination along those lines). If someone else were to attempt to register the same LR3 key you're supposed to still have to run your LR5 upgrade, either you or the other person could get blocked in that attempt.
    Before upgrading, it's always a good idea to download and try out LR5 to make sure it runs well on the computer you want to use it on--some devices that can run LR3 well can't run a later version well, and if that applies to your hardware, it's best to figure it out before you've paid for LR5.

  • How can I keep all the previous datas in the same array?

    I have a problem with keeping the previous datas in my array. The problem is when the iteration loop is executed, I have one or two value(s) stored in the array. The second iteration I have either one or two values (depending on the condition) coming out, but it overwrites my previous value. I want to keep all my data in the same array as the loop is executed.PS. I have attached a simple vi along this message. If anyone can help me out with this, I really appreciate for the help.
    Regards,
    Sonny

    If you iterate several times (N > 100) then I would suggest using the Initialize Array outside of the For Loop and then use the Replace Array Subset inside the Loop to populate the array. The reason for this is because the Build Array utility has to locate a new space in memory for the newly concatenated array -- the Replace Array Element utility uses the same memory space.
    If you iterate just a few times with a small array then using the Build Array should be okay.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • How to view previous state in Camera Raw?

    In Photoshop, all of the various image adjustments allow the user to view the previous state of the image, after the sliders are moved. This is very helpful while editing an image. However, I can find no similar ability in Adobe Camera Raw. Is there a way to quickly compare the "before" and "after" of  images while editing them in Camera Raw? If so, how?  Thank you for your help.

    This article may help you CreativeFriday – Before and After preview in Adobe Camera Raw (ACR) in Photoshop CC.

  • Rememberin​g Previous State in Array

    It appears I can't wire an array back to itself so it can recall it's
    previous
    state.
    I'm trying to read and record a multimeter measurement for 7 different
    values
    and place the output into an array that corresponds to one of 7 different
    buttons.
    I'd like the array to remember it's previous state for the buttons that
    aren't
    being pressed.
    Here's a link to the vi of what I'm basically trying to get at:
    http://members.fortunecity.com/pongclub/MultiMeter​SwitchArray.vi
    Any ideas for solving this problem will be appreciated.
    --Rob
    http://members.aol.com/ttoutpost1

    Rob,
    I tried to go to the link but it wasn't there. If you are inside a while loop, you can use a shift register to recall the previous state.

  • Jtable keep the selected cells' background

    hi,
    I want to change the background color of the selected cells.
    after selection, I may do another selection,but I want to keep the previous selected cells' background color.
    any help will be appreciated!
    thanks!
    zhangv

    Did you try using Ctrl + Mouse Click ?
    Remember you need to set following property before you try the above solution:
    tableObj.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );

  • How do I get rid of Maverick on my computer and revert to the previous operating system? This update has nearly ruined my iMac destroying its speed, efficiency and flexibility.

    How do I get rid of Maverick on my computer and revert to the previous operating system? This update has nearly ruined my iMac destroying its speed, efficiency and flexibility.

    If restoring to the previous state from backup isn't an option (hopefully it is), it may be easier to try to resolve what is causing problems. It's possible that some incompatible software you have installed is messing with the smooth running of your Mac.
    Can you describe more fully what problems you are experiencing? You could also run EtreCheck and post the contents of its report here - it may reveal the cause as there is some software 'out there' that is known to create problems: http://www.etresoft.com/etrecheck

  • Finder keep on restarting and asking for "restore to a previous state"

    After finder crash on OSX Lion, it keep on restarting and asking whether I want to restore to a previous saved state. I have try to relaunch and force quit it, but it still keep on restarting, making the OS unusable. When i swith to other user account, the finder are usable, so how can I remedy this ?

    +When I then try and open i-tunes it says that it can't read my library+
    Use the directions from this article to find an itunes database that will work.
    Surely one of the files in the *Previous iTunes Libraries* folder will work.
    http://support.apple.com/kb/TS1967

  • HT204053 I created a new apple id because the previous one no longer exists as email (domain had to be cancelled). I keep seeing the old one pop up in my iPhone for which I don't remember the password. How can I get rid of it???

    I created a new apple id because the previous one no longer exists as an email (domain had to be cancelled). I keep seeing the old one pop up in my iPhone for which I don't remember the password. How can I get rid of it??? Or how can I reset the password if the email doesn't exist??? I also tried answering a question (my date of birth) but it says it's wrong.
    I'm really frustrated with the apple id!!!
    Frustrated!!!

    In one of the help pages for managing your Apple ID (http://support.apple.com/kb/HE40), it shows two separate sections, one for Apple ID and one for Primary Email address. When I go to manage my Apple ID, I see only a single section for both. Can the two be 'separated', especially when you face the situation of having to discontinue your email address for some reason?
    I also noticed that when navigating to Apple ID Support Communities, it shows my nickname 'dishdy'. How and when did I insert this? In the current sequence for creating an Apple ID I don't see this. In my current profile I don't see this.
    In any case, I have freed myself from my previous Apple ID (@artemis.it) on my iPhone.
    Thanks for your help.

Maybe you are looking for

  • Reverify a download of Solaris

    I am having an issue where i have completed the 3GB download of Solaris using the Sun download manager and when i am going to extract the files i get a CRC error on part A of the file. Is there any way i can get the file back into the Sun download ma

  • Superscript Key Command Doesn't Work

    I can get the subscript key command to work, but I can't get the superscript key command to work. I'm using the key command Apple provides under the Keyboard Shorcuts help file in Pages (Control-Command–plus sign (+)). I could just use the menu comma

  • Downloading and Installing Tuner driver - Qosmio G20

    Excuse my ignorance, but I have downloaded a zip folder from the Toshiba site containing files for installing a tv tuner driver(date last modified 11.24.05) for my Qosmio G20 - 139(PQG21E-01500NEN). The instructions say: '...check the contents of the

  • Triggering new window in same page

    Hi, can Any one tell me how to trigger a new window in the same page..... I mean how to display the data in news paper format ie; when the data is completed in 1st column it should continue in the 2nd column of the same page.........

  • Attach several pictures to an e-mail?

    Is it possible to attach several pictures to the e-mail using iPhone? If so, how do I do it? Thanks!