mx:States issue

I have a problem with state changing.
I have a MAIN.MXML that has <mx:States> tag. Assume
there is a top
navigation, from there I click on LIBRARY button then
following state
is called up.
<mx:State name="viewResources" basedOn="MainApp">
<mx:AddChild position="lastChild">
<Resources:ResourceViewingWin
id="resourceView" x="10" y="95"
width="900"
height="100%"
userId="{userId}"
grdResources="{null}"
titleStyleName="PanelStyle"/>
</mx:AddChild>
</mx:State>
Now, in this above state "viewResources", it calles up this
file
internally ResourceViewingWin.MXML that has container as
below.
<mx:TitleWindow xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" width="800" height="100%"
creationComplete="page_load()"
currentState="ButtonsView">
What happens when I visit this page very first time, it gives
me
propery "ButtonsView" state...then I click on a button for
this state
& it takes me to the another state called "LibraryView"
for the same
MXML file. It means ResourceViewingWin.MXML has also two
states
"ButtonsView" & "LibraryView". All is OK until now...
Now when I go to another section upon clicking on TOP
NAVIGATION
button & when hitting back on LIBRARY button it takes me
to the
"LibraryView" instead of "ButtonsView".
So my question is, what should be done so it will always open
the
first state/page of any section?
Regards.

To get this working correctly, you need to import
mx.core.Application:
<mx:Script>
<![CDATA[
import mx.core.Application;
]]>
</mx:Script>
Then you can access the
Application.application.currentState='yourState' through your click
handler:
click="Application.application.currentState='yourState'"

Similar Messages

  • How to monitor  SQL statements issued by SIEBEL ?

    Hi,
    We have developed BI Siebel 10.1.3.3. application.
    One of the requirement is to persist/store in the database real SQL statement issued by BI Dashboards/Answers.
    The best solution would be having acces on-line to cursor cache.
    Could someone please tell me how to achive this ?
    Regards,
    Cezary

    Sounds like you're looking for Usage Tracking.
    OBIEE Server Administration Guide – Pages: 220
    OBIEE Installation and Configuration Guide – Pages: 229
    And this post here;
    http://oraclebizint.wordpress.com/2007/08/14/usage-tracking-in-obi-ee/
    A.

  • Trace SQL statement issued by BC4J

    Is there a way to see at runtime (in the console window or in a log file) the SQL statements issued by the BC4Js to the database?
    Perhaps there is a switch or a -D option to set to the OC4J startup command. This would be really helpfull during development.
    Thanks,
    Marco.

    Yes, you are right. that will be done by specify a Java virtual parameters - -Djbo.debugoutput=console.

  • Stop auditing select statements issued against SYS objects

    Hi,
    My current client has a requirement to track destructive updates (i.e. insert, update, delete) issued by users who can connect directly to the database. At the moment though, SELECT statements issued against SYS-owned objects are also being captured to the Oracle audit trail. For the time being at least these need to be disabled.
    I've issued NOAUDIT SELECT TABLE/SEQUENCE and NOAUDIT SELECT ANY TABLE/SEQUENCE commands, as has a user with the SYSDBA privilege, and they're still being logged. Is there any way to switch these off? I don't know if it's significant (I'm not a DBA by trade) but the audit_sys_operations parameter is set to True.
    My client is currently running Oracle Database 10.2.0.5.0 standard edition.
    If anyone has any suggestions I'd be grateful.
    Thanks in advance,
    Steve

    Hi,
    Thanks for the input so far ...
    @Eduardo and KarK ...
    show parameter audit
    audit_file_dest string D:\ORACLE\PRODUCT\10.2.0\ADMIN\USSUPM2\ADUMP
    audit_sys_operations boolean TRUE
    audit_trail string DB, EXTENDED
    If we set audit_sys_operations to FALSE, won't that stop auditing of all actions carried out by, for example, someone who connects as SYSDBA? That is something that's still needed to be captured. Unfortunately they go to the WIndows Event Log but at least they're captured somewhere.
    @Hemant
    This auditing was in place before my client took me on, so I can't say what was used to initiate it unfortunately. What I can say though is that they absolutely don't want to turn off auditing by SYS- type users, just SELECT against SYS-owned objects.
    Thinking simplistically, could I just write a script which trawls dba_objects for sys-owned tables, views and sequences and explicitly issues a noaudit select against what's found, and get one of the sysdba-type people we have access to to run it?
    Thanks in advance (again)
    Steve

  • Finding Delete statement issued in particular object

    Dear All,
    Please let me know how to find what are all the delete statement issued against a object in oracle. some one is deleted some data from one table i want to find when the delete statement fired in my schema.
    With Regards
    Ramesh

    you have audit turn on right? there should be a report for DML in audit vault.

  • SUBMIT REPORT statement issue in abap

    Hi Experts,
    I am facing issue while doing SUBMIT REPORT statement.
    Below are the details for the Issue:
    1. We want to execute another report ZTEST2 from one report , so we have written code in report ZTEST1 as below:
                          SUBMIT ZTEST2 AND RETURN.
    2. It goes to ZTEST2 successfully but when we execute ZTEST2 and click on BACK buttton , it directly goes to ZTEST1 selection screen.
    Instead we want to go ZTEST2 program's selection screen. As this back button is standard ALV button is there any way we can handle this without creating new PF-STATUS.
    Regards,
    Sanjana

    That's very limiting.
    It depends, there are some things you can do if you ztest2 does something that is traceable.
    Without any more info I suggest to check time-lapse between submit calls. If it's inferior to 2 seconds I'd suppose user want's to leave.
    mind you the syntax is wrong:
    do.
    g_initial = get time.
    SUBMIT ZTEST2 AND RETURN.
    g_final = get time.
    if g_final - g_initial <= 2.
         exit.
    endif.
    enddo.
    For the user is in most cases transparent, only if he remains a lot of time in selection screen he'll remain there.
    regards,
    Edgar

  • Manual Bank Reconciliation Statement Issue

    Hi All,
    I am getting Error in Manual Bank Statement Spool Requests.
    I have done the below steps :
    1. Posted Vendor Invoice (FB60)
    2. Made Payment to Vendor (F-53)
    3. Created Check Manually (FCH5)
    4. Done Configuration for Manual BRS.
    5. Execute FF67
    6. I got status message Statement/List Posted
    7. When I go to check Batch Input session ( I am getting an Error in FB05)
    I don't understand , what configuration I missed.
    I checked Posting Rule , Tolerance but not able to fix this issue.
    Please advice.
    Kind Regards,
    Prakash Kumar

    Hi Sanil,
    Thanks for your reply !
    It has been resolved, I missed to update Tolerance for GL (OBA0) without Group name , I just amended it.
    Its resolved.
    Kind Regards,
    Prakash Kumar

  • Xpower 2 SLI and C-state issues

    Hi there,
    unfortunately faced a couple of not critical but annoying problems.
    First of all it is an SLI trouble. Every time I switch off my PC and then try to switch it on there is no video output - the monitor just stays black while PC normally boots up, I can hear sound when windows loads but no video output. The only way to get video back is to take out a power cord or switch off and on the PSU or to switch off and on UPS. Well, I usually shut down UPS when PC is not needed so I do not face troubles on first boot a day, but sometimes you just need to switch on and off not through reboot. Btw with reboot there is no such problem. This doesn't happen when there is only one card.
    Secondly, looks like somethings wrong with C-states or my hardware. When C1 is enabled I get high-voltage noise coming out of CPU socket. Noise remains only at zero load and if C-state is switched off - no sound. I've seen someone here with same issue but on another board, however, no solution was provided besides contacting MSI...
    I've come across these troubles on all bioses from 1.5 to 2.6, so, any advice would be apreciated.
    My system:
    3930k
    xpower 2
    Hynix-1 4gb 1600x8
    Zotac ref GTX 680 x2
    TT TPG-1200W

    Quote from: G10shish on 21-January-14, 17:15:20
    Yep, it is multi-rail, well, will have an opportunity to test with single rail in a couple of weeks I guess. My mistake, it is C1E that makes the CPU sound sick, generally I don't need power saving and turbo boost at all as even 3.8 is not always enough for MEgui) Just curious
    Yes, both cards were tested separately

  • Selected state issue with Menu Module V2

    OK so I am getting an issue with Menu Module V2. I have used this before with success but this time I have hit a wall. I possed this question to BC live chat and they bugged out real quick.
    The site in construction is http://www.urbanista.com.au
    What is happening is that in the top right tools nav with the headings Home, Services, People, Contact Us using Menu Module V2. The Heading Services has a drop down and this is where the issue resides. Roll over any of these nav devices and you will see they will highlight orange. Home is already auto activating its Selcted state. Click on Contact Us and it will do the same.  Roll over and click on Services and it appears to have worked. While in Services roll over the drop down again and you will see all links have activated the Selected state. This is the issue. If you view the code of the Services UL you will see only the Services state has been alocated the Slected state. See below:
    <li id="Services" class="selected">
    <a href="/services.htm">Services</a>
    <ul>
    <li id="tools-panningdev">
    <li id="tools-housing">
    <li id="tools-urban-renewal">
    <li id="tools-project-management">
    <li id="tools-feasibility-tools">
    <li id="tools-governance-systems">
    <li id="tools-communications">
    <li id="tools-projects">
    </ul>
    </li>
    The CSS that runs the nav is as follows:
    ul.dropdown {
        font-weight: normal;
        font-family: Arial, Helvetica, sans-serif;
        font-style: normal;
        text-decoration: none;
        ul.dropdown li {
        background-color: transparent;
        color: #999;
        padding-top: 5px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
        font-size: 12px;
        ul.dropdown li.hover,
        ul.dropdown li:hover {
        background-color: transparent;
        color: #FFF;
        ul.dropdown a:link,
        ul.dropdown a:visited    {
        color: #FFF;
        text-decoration: none;
        ul.dropdown a:hover        { color: #ff871f; }
        ul.dropdown a:active    {
        color: #b33b00;
        /* -- level mark -- */
        ul.dropdown ul {
        width: 150px;
        margin-top: 1px;
        background-image: url(/images/nav-transparency.png);
        background-repeat: repeat;
        color: #FFF;
        ul.dropdown ul li {
        font-weight: normal;
    ul.dropdown li.selected a {
        color: #ff871f;
    The last entry 'ul.dropdown li.selected a {color: #ff871f;}' is required in order to allocate a Slected State. Without it not Selected state is active and the links al remian white.
    I have tried all manner of combinations and additonal tags with no success. Any suggestions greatly appreciated. I have not modified the default Javascript provided by BC in the system apart from allocating the required ulTagClass as specified. The Javascript in the supplied 'container.html' is as follows:
    <script type="text/javascript" >
        // ids need to be unique per page, use different ones if you are including multiple menus in the same page
        // id of the nav tag, used above
        var divTagId = "myMenu1";
        // desired id for 1st <ul> tag
        var ulTagId = "myMenu1List";
        // desired class for 1st <ul> tag
        var ulTagClass = "dropdown dropdown-vertical";
        if ((null !== ulTagId) && ("" !== ulTagId)) {
            document.getElementById(divTagId).getElementsByTagName("ul")[0].setAttribute("id",ulTagId );
        if ((null !== ulTagClass) && ("" !== ulTagClass)) {
            document.getElementById(divTagId).getElementsByTagName("ul")[0].className = ulTagClass;
        // this will set the selected state
        if ((null !== ulTagId) && ("" !== ulTagId)) {
            catSetSelectedCSSItem(ulTagId);
    </script>
    Lastly this is one of the recomended navs by BC at the following address: http://lwis.net/free-css-drop-down-menu/
    I have used these before with success but for the life of me this has stumped me big time.

    Hi Matthew,
    Having a super quick look at the code I'd say it's because of:
    ul.dropdown li.selected a {
        color: #ff871f;
    This affects all the child elements.
    To override this down the line you could do something like:
    ul.dropdown li.selected ul li a {
        color: #fff;
    This would override the parent link color when selected.
    You could probably then also add:
    ul.dropdown li.selected ul li.selected a {
        color: #ff871f;
    For the dropdown selected states.
    That's a quick look though so don't quote me too much

  • Webview Real Time Agent State issue

    Hi
    We have UCCE 8.0(1) Environment, We have an issue in Webview like one single agent state is always TALKING even if he loggedout. We could see the Active-Skill-group is DEFAULT_5342. We tried that paticular extension unregister state still the same..
    We deleted that agent id in AW and still same. We checked for any event logs in CTI Server, there was no events, We have restarted the CTI Server, still the agent state showing as TALKING and the Duration is 360 hours. Does anyone have any suggestions
    Regards
    Senthil

    In order to recover from this, you'll likely need to cycle the PG for the site (both sides stopped at the same time & brought up clean, or via an opctest: exit_opc).
    To perform true root cause analysis, you'd likely need to enable some tracing on the PG & get logs from when the processes restart clean, all the way until you see this 'ghost agent'.
    TAC could help you with the trace settings but I'd think "opctest: debug /agent" would be a good start.
    Good luck.

  • Account Statement issue

    Hi,
    I'm having a bit of an issue with an Account Statement.  Here is the scenario:
    Print Program: RFKORD10
    Form: Z Copy of standard F140_ACC_STAT_02
    *The problem only occurs when I run the statement for <b>past periods</b> in <b>Production</b>.
    In Q/A, each line item begins with a document number (BELNR) and they are all correct. However, in Production, the lines are the same except many document numbers are repeating.  Example:
                In Q/A                                      
    doc number...........amount                        
    111111...................10.00                      
    222222...................20.00                
    333333...................30.00                       
    444444...................40.00    
         In Production
    doc number...........amount                        
    111111...................10.00                      
    222222...................20.00                
    222222...................30.00                       
    222222...................40.00               
    I have compare the form and the standard print program & variant, and they are all the same. 
    I have noticed that when I debug the program for a past period...
    1) in Q/A: Each document number (BELNR) being passed into the sapscipt form is correct and corresponds to its amount. 
    2) in Prod: Amounts are being passed though correclty but the document numbers are not matching, and are repetative.
    Any help would be greatly appreciated.
    Thanks.
    Warren

    It could happen when you have more than one line items for one customer in the document.
    In real enviroment it is quite possible. As you have mentioned in your Production you get multiple line items for document 222222. Check out that document in FB03. You will find more than one line item for perticular customer.
    You can also find it out by going to BSEG.
    BELNR = 22222
    GJAHR = your_year
    BUKRS = your_comp_code
    KOART = 'D'.
    Regards,
    Naimesh Patel

  • Renumeration Statement Issue

    Hello All,
    I am facing an issue with renumeration statement. For certain custom wage types, during retro scenario, the statement shows wrong amount.  However, if i am viewing this statement  using pc00_m99_cedt with option of retro printed in separate pages (A, X etc) the amount is shown correctly? What am i missing here?
    Thanks!

    Hello,
    could you please indicate following details so i can better understand your issue?
    - WT are supposed are supposed to be printed on payslip
      with retro period indicated on form?
      summarized?
    If you have * or D in your DSplit indicator in PE51 for your WT it won`y change number for WT, neither Rate it will only summarize amounts from retro periods + in period that you are. So the results can look weird.
    Could you please indicate more details or ideally send me screen shoots from your PE51 and your payslip?
    Regards

  • Pending state issue

    hi all
    i am attempting to run a large scheduling run of 3550 report instances. this is obviously going to take some time so is difficult to test within a decent time frame (3.5 days total - yes they are big)
    my problem is that some (20%) of the reports remain in a PENDING state.
    the code used to configure the schedule timing is
    setRightNow(true)
    setType(CeScheduleType.ONCE)
    the instance detail for one of the pending jobs is
    creation time: 2/26/2010 6:05 pm
    next run time: 2/26/2010 6:05 pm
    both the invoking java application and the enterprise server are on the same time, locale, etc
    can anyone help me out?
    cheers
    warwick
    Edited by: warwick.mayson on Mar 1, 2010 9:13 AM bad grammer

    You aren't going to get 3550 jobs running simultaneous, anyways.   Job Servers work by spawning child processes for report generation, and the maximum number of child processes are configurable in the CMC.
    There's two issues that's commonly encountered, of which one may apply to you:
    1. If the Enterprise Java SDK application is hosted on a different machine from the CMS service, you have to ensure that the two machines have their times synched using a time server.  When you schedule a report to run Right Now, the Right Now time is determined from the SDK app machine.  So if the times are out of synch, a job may wait in pending.
    2. Scheduling Web Intelligence jobs, you may encounter a problem where the Web Intelligence Job Server may respond very slowly when so many scheduled jobs are requested at once.
    If you set the schedule to not run "Right Now" but Once, where you stagger the start time of jobs, and the issue still occurs, I recommend opening a support case with SAP.
    Sincerely,
    Ted Ueda

  • CIN Reports and Shipping State Issue

    Hello everyone,
    Can anyone help me out on the below mentioned points:
    1. Standard CIN Reports. ( AR CST/VAT, AP CST/VAT, AP Service Tax Reports )
    2. We have around 22 plants. We are procuring materials from a Vendor (State: Karnataka) to a plant located in state Andhra Pradesh. But if the Vendor plans to ship goods from another state,
    say, Tamil Nadu. How will this impact?
    What is the procedure i need to follow? The PO will be created on Vendor(Karnataka) and what about MIGO and MIRO. My problem is with the tax codes that i need to use because it is being shipped from another state Tamil Nadu.
    How to address this issue.
    In short, Ship from state is different from the procurement vendor state, how will this be handled ?
    Any help is highly appreciated.
    Thanks,
    Anil

    For question 1 > The report is RFUMSV00 . Refer master note for VAT 818732.
    For question 2 > You have to have partner function where the goods supplier would be different. As such the purchase is from a different state in which case I believe CST will be relevant which in case of VAT based CST will have to be inventorised.

  • Cisco Socialminer 9 feed state issue

    i have SocialMiner 9.0.1.10000-10 installed on ESXI 5 and have the following issue
    1-all feeds states have the following issue as shown in the picture "there was a network timeout"
    Can any one help me ?
    2- is Social miner supports different languages for search inside the social networks pages?

    Hi Mohamed,
    Did find any solution for the above issue. I am facing a similar issue. Help me in fixing this issue. I have configured RSS feed , Campaigns but i am not getting any Contacts listed in socila miner.

  • Finder Saved State Issue

    I don't know why, but just starting today I have 3 apps that open on a restart or login. These are not login items.
    Firefox
    ICal (which displays repeated reminders of three weekly events, some going back several days. cancelling only stops them in the current login session)
    Numbers
    I have repaired permissions twice.
    I have reset the pram.
    Via the Go/library by holding down the option key I have:
    Emptied and locked the saved state folder.
    Deleted the finder plist file.
    Deleted my account login items and deleted the login plist file.
    Restart after each.
    I have checked and unchecked the reopen windows box on logout/restart - no difference either way.
    I have created a new admin account that does not exhibit these issues.
    I have had ongoing issues since buying this 10.7.2 mac mini with permissions and older numbers documents opening when starting the numbers applicataion. I know all about the option key on close or closing all windows before quiting the program, none of that has any effect. Also not being able to create backups of numbers files due to write protection issues. I also have the fetching issue on the system folder as well as other folders.
    Part of this and maybe all of this is caused by attempting to migrate files from a mac mini with 10.4.11 on it.
    Is there any hope by doing a clean install and not lose data files/application keys/etc And can that be done by holding down the command R?
    I guess I am out of ideas and would appreciate some input.

    Wow, these type of problems are always hard to diagnose. Could be a software or hardware issue. Let's not forget RAM problems in addition to the HD. What I would do first is look in the system log for kernel messages. If there are i/o problems with the HD they'll be logged there. Also, your Mac Pro has ECC ram. You'll see corrected ECC errors in the log if there's a RAM problem.
    From Apple:
    "If you see more than four ECC errors in 48 hours, it may be a sign of an impending DIMM failure. Before replacing the DIMM, shut down the server and reseat the DIMM.
    Often, a DIMM that is not fully seated will cause failures due to thermal effects on the DIMM connector. If the failures recur, the DIMM is probably about to fail and should be replaced at your earliest convenience."
    In my experience, multiple corrected ECC errors resulted in a very unstable Mac Pro even though they are supposedly corrected and everything is theoretically okay.

Maybe you are looking for

  • Apps Wont Update

    On my home screen I see that I have apps that need to be updated. There is the bubble with the number in the top right corner. But when I open the app store and go to updates i see the apps need to be updated for like a second and then they all dissa

  • If you're using a Windows PC / Laptop and can't wa...

    Just trying to bring some of the issues together.  As the title suggests, this thread is for users with Windows computers who are having trouble watching BT Sport using the online player.  Please provide the following info and let's see if we can all

  • JAVA servers are not starting

    Hi SAP Gurus, some days back i did system refresh from prod. now ABAP is running but only java servers are not starting. other nodes dispatcher & SDM running. please suggest. here is dev_server1 file ============================================= -> a

  • Reset/undo a transport

    Hi, Is it possible to reset/undo a transport? I have a transport in Dev. containing activation of some business content. Unfortunatly this activation, activated some already used objects (already in production), they have now been reset to the busine

  • Require DML and DDL for basic tables

    Hello, I want to pursue my oracle certification within 2-3 months. Therefore, I am eager to create basic tables those would provide me holistic idea and basic practices before my real test. Could you provide me basic tables for example, employee tabl