SetFocus wont work after setting presence="invisible"

Hi,
i got a form with a button in it, that should jump to a combobox on another page which is hidden by setting this.presence="invisible" in its initialize event. The code in the click event of the button is the following:
comboBox1.presence="visible";
xfa.host.setFocus("comboBox1");
it does setting the presence to visible, but the setFocus seems to be ignored. When i click the button the second time, it will jump to the specified item.
Same phenomenon the other way round. When a value in the comboBox is chosen, i want the value to be copied to a textfield, set the presence of the combobox to invisible again, and return to the button with another setFocus instruction. To reach this, i did the following in the exit event of the ComboBox:
if(this.rawValue){
    textField1.rawValue = this.rawValue;
    this.presence="invisible";
    xfa.host.setFocus("button1");
the value and the presence got set, but (again) the setFocus instruction seems to be ignored.
it all works fine, if i outcomment the presence assignments. Could somebody tell me the reason why it wont work this way?

Ok, you have some script problems going on. I've attached a new file with them fixed up.
When you are in the Script Editor and want to get the path to another object use the CTRL key and click on the object whose path you are trying to get. Your cursor needs to be in the Script Editor and you need to be able to see the object you are trying to click on. When you hold down the CTRL key and mouse over a valid object it will turn to a "V" - click on the object and the path will be inserted in your script.
So, where you had:
DropdownListe1.presence="visible";
xfa.host.setFocus("DropdownListe1");
It should be:
xfa.resolveNode("#subform[1].DropdownListe1").presence="visible";
xfa.host.setFocus(xfa.resolveNode("#subform[1].DropdownListe1"));
File attached - I moved the second subform to the first page so it was easier to see what was going on.
The code on the dropdown list looks a little odd, but I'm not sure exactly what you're trying to do - seems to work though.

Similar Messages

  • Mac mini screen wont work after lion

    My hdmi connection to my tv wont work after installing lion last night. It worked once last night but hasnt worked since. All cables are in tact and computer is set up the same. I cant even see anything to fix it!

    I called apple - I'd have been in trouble if my mac had been my only internet access!
    I had to reset the P-RAM
    as so:
    mac is powered off
    turn on power then instantly press keys: command option P R
    the mac will chime as usual then on the second chime let go of the keys.
    After this my screen worked again.
    For info - command key is cmd, option key is alt
    I did this with an old mac wired keyboard - not sure if it will work on bluetooth keyboard, but it might.

  • My itunes wont work after update

    my itunes wont work after update. whats the problem.

    also, the curser just goes round and round. cant close by clicking x, have to close frome the place that says close. then message says program not responding.

  • Adobe Flash Player wont work after all steps taken, what haven't I done to make it work?

    I tried to play a game I love & I got this message: "To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed" So I went to your site to update my flash player & hit the "Test Flash Player" button & it came up
    like this^^. I went to the suggestions your site provided & went to Manage add-ons to look for Shockwave Flash Object to enable it:
    You can see that it is enabled by this picture I have provided. So it also asks me to make sure that ActiveX isn't clicked on & so I did:
    As you can see it's turned off & I even tried it the other way where it has the spot checked & it still wont play. So I decided to see if I could reinstall it onto my computer & so in turn I got this message:
    That is the message I got even after trying to delete Flash Player & reinstalling it. Now you can see my frustration with all this. Adobe Flash Player wont work after all steps taken, what haven't I done to make it work? I have a Windows 8.1 Pro, I use Internet Explorer which has the latest version on it, which is Windows Explorer 11 Version: 11.0.9600.17498 & I was also under the understanding that I also had the latest version of Adobe Flash Player on this computer as well. Can someone tell me what to do??

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Messages wont work after I received a very long text

    Messages wont work after I received a very long text, it keeps freezing up and wont even let me delete that very long text.

    Remove Messages app from Multi Tasking and make a Reset.
    (Press and hold the Sleep/Wake button and the Home button together for at least ten seconds,
    until the Apple logo appears.)

  • The date and time is not working after setting it to current date and goes back to may,26 2011

    the date and time is not working after setting it to current date and goes back to may,26 2011; 2 PM . I bought my ipod tocuh 4th gen on july 18th

    On the iPod, make sure your Calendar is set to Gregorian (Settings > General > International > Calendar).  Also make sure your date and time on your computer is correct as well as the Time Zones on both.

  • Headphones controls wont work after upgrading to ios5?

    Headphones controls wont work after upgrading to ios5, has anyone solved this problem?

    ajkula66 wrote:
    Secondly, what is the 7-character model number of your T40 so we can point you to correct wireless drivers..237?-???
    Goo00oogle, you forgot the other 3 digits
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • LR-CC wont work after install with Creative Cloud. I run a 64 bit W7 system

    HI,
    LR-CC wont work after install with Creative Cloud. I run a 64 bit W7 system.
    I had LR 5,7 running and was not installed via the CC.
    What to do
    Thanks.

    Hi Ridder,
    Please refer the solutions given in the following article.
    Lightroom doesn't launch or closes automatically after splash screen
    Hope this helps.
    Regards,
    Sumit Singh

  • Ipad apps wont work after downloading update 5.1.1

    My I pad apps wont work after I downloaded OS update 5.1.1
    I have tried restoring, but it doesn't solve the problem.

    Hi
    I had the same problem since I updated, the iPad shows "No Sim" I have taken it out, put it back in after cleaning it! All the usual possible solutions that everyone else has tried? So I have not been able to connect for over a week now and I intended to pop into the Apple geek guys to let them have a look, but was scared that they might suggest it would have to be sent away!!! What would I do?. So last night I was fiddling around with the IPad and thought I would try something, AND GUESS WHAT! It works!!!!
    This is what I had done
    1. Take the SIM out of the IPad
    2. Leaving the SIM out, turn the Ipad off using the Home and power button at the same time, do this 4 times
    3. Now insert the SIM back in it then found my SIM
    I cannot confirm the is the ultimate cure, but it worked for me and I have tried all the other possible solutions, it's worth a try?
    Barlow2012

  • Satellite Pro C850 wont work after Bios update

    my satellite pro c850 cd wont work after bios update from toshiba.
    what do i do?

    Saying: dont work you mean it does not power up or what do you mean exactly?
    Did you flash the BIOS properly?
    Possibly something went wrong during the update and this means that ROM module isnt flashed properly
    In most cases a special BIOS crisis disk would be needed to get it working
    Not quite sure if you can get it fixed by your own
    Check this thread. Maybe it helps:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=59637
    Otherwise you need help from authorized service provider available in your country.

  • My System wont start after setting FSB to 200

    My System wont start after I'd set my FSB to 200,
    when the system starts, nothing comes up, and my Pc screen LED just blinks,
    I have tryed to reseting the Bios but it doesn't help, have also tryed with new RAM and new Graphiccard but it doesnt help.
    Please help me:-(
    Am I resetting the Bios wrong? I set the jumper to safe mode and 100mhz, then I use the jumper to clear the CMOS. And the restart at set the jumpers back
    3ghz AMD BARTON
    NVIDIA nforce2 k7bn2 Delta
    512 DDR RAM PCI3200
    300WATT

    Quote
    Originally posted by roobster
    set the multiplier lower , FSB(200) X multiplier (ex.10.5) = 2100 MHz , and your voltage raise it a bit too let say 1,700 ( default is 1.650 ) If this doesn't work at once , keep booting . My rig started up after 5 times . Strange but true .
    does not work if he has a 3000.
    they are multiplier locked.

  • Pages wont work after installing Mountain Lion

    After I installed Mountain Lion on my Macbook Pro 2010, Pages wont work, together with the whole iWork 09 package. I've tried re-installing, signing out of iCloud etc.. But nothing seems to work. It say the application is open but nothing appears on the screen, if i open a document its says its unable to open the document.?

    Quite a few users have had problems but none seem exactly the same & the solutions are matter of trial & error. Two things that should be done, no matter what, are using Disk Utility to repair permissions & updating iWork '09 to 9.2. Some users have needed to delete the apps, particularly Pages, & reinstall to get them to work.

  • Ipod wont work after replacement

    ipod won't work after replacement. I have done this 4 times before and it works fine till now. The screen is black and it wont charge og reconize by itunes. The power button its broken too. What to do?:/

    Well thanks. But do you know what the problem could be? Something with the battery ? I have a picture here. it's gets a little warm right under the antenna ribbon (the green plate). could it be a sign that the ipod is not completly dead?
    thanks for answer

  • Flash player wont work after many tries of doing a few things to fix it.

    Hi,
    I am on a mac using OS X.
    The other day my flash player stopped working and said to update it so i did all of that.
    Well after that it wasnt working still.
    It wont work for online games on facebook.
    I downloaded and installed 10.2 but that still doesnt seem to work, im now not so sure of what to do or how to fix it.
    Also not sure what i need to say in here so if anyone can PLEASE help, it will be much appreciated.
    Thanks heaps, Rach

    Location of plugins
        Look into the HD/Library/Internet Plug-ins/ directory and see if you have the below two files:
        Flash Player.plugin
        flashplayer.xpt
    This site may help also: http://forums.adobe.com/thread/784614?tstart=0
    If you want to start over, this Troubleshooting Guide for Mac gives instructions for Uninstalling and Installing with screenshots along the way so you can see that you are doing it correctly.
    http://kb2.adobe.com/cps/865/cpsid_86551.html
    I hope this helps.
    eidnolb

  • Coldfusion 11 Developer wont work after local machine restart

    I'm brand new to CF.  I've installed CF 11 Developer & attached to IIS.  I'm on a windows 7 machine.  Every time I have to restart my machine for whatever reason, the CF Administrator wont work, nor will any CFM page work.  I have to completely uninstall CF11 & then reinstall it in order for it to work again.  Any ideas or suggestions as to what might be causing this behavior?  Below is the error message I receive when I try to hit CF Administrator:
    HTTP Status 500 - ROOT CAUSE:
    type Exception report
    message ROOT CAUSE:
    description The server encountered an internal error that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: ROOT CAUSE: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Monitoring service is not available. at coldfusion.server.ServiceFactory.getMonitoringService(ServiceFactory.java:223) at coldfusion.CfmServlet.service(CfmServlet.java:199) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)  coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70) coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121) coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.
    Apache Tomcat/7.0.52

    Thanks, Anit.  Honestly, I am unable to determine if the service is running.  I"m assuming it is not based only the fact that no cfm page is returning.  Could you share with me best practice to determine if service is running?  Also, I'm not aware of the hf1100-3776060.jar.  Is it a patch that I need to drop in my Coldfusion installation?
    Thanks so much for your assistance.  This is the 3rd time today I've had to uninstall/reinstall the service.
    AB

Maybe you are looking for

  • Screen sharing  and connectivity

    i want project the application and notes etc whatever there on iphone screen to lcd tv or lcd projector, is this possible kindly let me know.

  • DBMS_SCHEDULER.RUN_JOB causes scheduled job not to run again

    Environment: 10.2.0.2 Linux 64-bit Hi, I have some DBMS_SCHEDULER chain jobs scheduled to run every hour which has been running fine with no issues for a while now. I needed to run a couple of jobs manually in-between scheduled times so I ran the job

  • Need suggestion to improve the performence of the report execution

    Hi all, I have to improve the performence of the report . I am executing the report in foreground. First time it is giving after running 6 mins . If i execute again It is giving the output. I am using innner join between EKKO and EKPO. When I see the

  • Making master DVD from FCP Quicktime

    Could someone please explain to me exactly what process, every step, I have to do to with my master FCP Quicktime movies in order to make a DVD master using iDVD? Its 4.8GB plus a second film of 2.4GB. Much appreciated!!!

  • Need a copy of acroread for Solaris 10 on SPARC

    I've checked the ftp download pages and any Solaris  reference to acroread is a dead link, Can someone post me a working link where I can download the latest Solaris on SPARC copy of acroread?