LOV getting disabled while passivation

When running my ADF application with AM pooling switched off to test passivation/activation, a particular LOV is getting disabled once you select a value for it. User should be allowed to change the value here as many times he/she wishes. Issue occurs only while AM pooling is switched off. The LOV has a partial trigger set, but is not behaving as expected. Please find the code snippet below:
<af:inputComboboxListOfValues id="defaultCurrencyConvTypeId"
popupTitle="#{ResourcesGenBundle['Header.SearchandSelect.Searchandselectanobjectusingad']}: #{bindings.DefaultCurrencyConvType.hints.label}"
value="#{bindings.DefaultCurrencyConvType.inputValue}"
label="#{bindings.DefaultCurrencyConvType.hints.label}"
model="#{bindings.DefaultCurrencyConvType.listOfValuesModel}"
required="#{bindings.DefaultCurrencyConvType.hints.mandatory}"
columns="#{bindings.DefaultCurrencyConvType.hints.displayWidth}"
shortDesc="#{bindings.DefaultCurrencyConvType.hints.tooltip}"
partialTriggers="businessUnitNameId"
disabled="#{bindings.BusinessUnitName1.inputValue == ''}"
showRequired="true">
<f:validator binding="#{bindings.DefaultCurrencyConvType.validator}"/>
</af:inputComboboxListOfValues>
Any pointers regarding the issue will be helpful.

As the log gets disabled when disabled="#{bindings.BusinessUnitName1.inputValue == ''}"You should check this binding.
Timo

Similar Messages

  • Menu option "other invoice document" gets disabled in MIR7 while Recording

    Hi All,
    I have one requirement when I have to open the parked invoice document ( MIRO) with MIR7.
    I don't want to record each and every field and pass the bdcdata then with call transaction.
    There is one option in MIR7 when under invoicedocumnet->other invoice document i can pass the invoice document number and the fiscal year.
    I have the document number and the fiscal year as i have already parked the document with MIRO.
    so i thought to record this and call the transaction then.
    Problem: When i open MIR7 to record, the menu option invoicedocumnet->other invoice document  gets disabled. I am not able to record this.
    Is there any solution to this? Any BAPI exists ??
    Otherwise i would have to record each and every field to pass the parked data into it ..
    Thanks in advance
    Regards
    Mudit Batra

    Hi,
    check this:
    program: SAPLMR1M
    include: LMR1MI3U
    MODULE (PAI) FCODE_6100
      IF ok-code = fcook.
        mir4_change = 'X'.
        SET PARAMETER ID: 'RBN' FIELD rbkpv-belnr,
                          'GJR' FIELD rbkpv-gjahr,
                          'RBS' FIELD rbkpv-rbstat,
                          'CHG' FIELD mir4_change.
        IF sy-tcode = tcode_mir4.
          LEAVE TO TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ELSE.
          CALL TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
      SET SCREEN 0. LEAVE SCREEN.
    Best regards.

  • LOV (attribute updatable while new)

    hi,
    I have a question about the following code :
    // jButton1.setModel(PanelLOVPersonView.createLovBinding(new JUPanelBinding("sec100.MypackageModule", this), jButton1, "UsrdefPersonView", null, "UsrdefPersonViewiewIter", new String[] {"Perid"}, "LOVPersonView", new String[] {"Perid"}, new String[] {"Surnam", "Fstnam", "Bldabbr", "Offnum", "Phnnum"}));
    // jButton1.setModel(PanelLOVPersonView.createLovBinding(new JUPanelBinding("sec100.MypackageModule", this), jButton1, "UsrdefPersonView", null, "UsrdefPersonViewiewIter", new String[] {"Usrnam"}, "LOVPersonView", new String[] {"Usrnam"}, new String[] {"Surnam", "Fstnam", "Bldabbr", "Offnum", "Phnnum"}));
    "Perid" and "usrnam" or both attributes from a view object ("UserdefPersonView")
    that are Updatable while new. If i run my jclient frame then the LOV button is disabled when i am on an existing row.
    But if i replace the above code with the following:
    jButton1.setModel(PanelLOVPersonView.createLovBinding(new JUPanelBinding("sec100.MypackageModule", this), jButton1, "UsrdefPersonView", null, "UsrdefPersonViewiewIter", new String[] {"Perid", "Usrnam"}, "LOVPersonView", new String[] {"Perid", "Usrnam"}, new String[] {"Surnam", "Fstnam", "Bldabbr", "Offnum", "Phnnum"}));
    then this feature does not happen,
    does anybody know why?
    And how we can make it work if we want to fill in both from the LOV?
    thanks,
    Bert.

    thank you very much for the answer it helped a lot.
    I wanted to disable a lov button when i was on an existing row and enable it when i am on a new row.
    c the code below.
    This mostly works but sometimes it doesn't.
    When i startup the frame there is an automatic query so i am on an existing row but the lov doesn't get disabled. The same when I insert a row and do a rollback.
    I can see (from the println) that the code gets executed (first the "navigated" and then the "rangeRefreshed".
    This is what i get from the System.out.printlns :
    navigated
    false -> so it gets disabled
    rangeRefreshed
    true -> but here it is enabled?
    So the lov has been enabled again between the navigated and the rangeRefreshed.
    Is this the expected behaviour?
    thanks,
    Bert.
    Ps: Your code to enable/disable the comm works correctly.
    panelBinding.findIterBinding("EmpViewIter").getRowSetIterator().addListener(new oracle.jbo.RowSetListener()
    * Invoked when the range changes.
    * @param event a description of the new ranges.
    public void rangeRefreshed(oracle.jbo.RangeRefreshEvent event){
    System.out.println("rangeRefreshed");
    System.out.println(jButton1.isEnabled());
    public void navigated(oracle.jbo.NavigationEvent event)
    System.out.println("navigated");
    oracle.jbo.Row r = event.getRow();
    // if (row != null)
    oracle.jbo.domain.Number n = (oracle.jbo.domain.Number)r.getAttribute("Deptno");
    if (n != null && n.intValue() == 30)
    mComm.setEnabled(true);
    labelComm.setEnabled(true);
    else
    mComm.setEnabled(false);
    labelComm.setEnabled(false);
    // oracle.jbo.domain.Char c = (oracle.jbo.domain.Char)r.getAttribute("RowState");
    String c = (String)r.getAttribute("RowState");
    if (c !=null && c.equals("NEW"))
    jButton1.setEnabled(true);
    else
    jButton1.setEnabled(false);
    System.out.println(jButton1.isEnabled());
    });

  • WPS no longer gets disabled by BT

    If I ever had to reset my homehub 3 (type A) I remember that wps became available for a short while until BT disabled it again. However since it upgraded to the latest firmware, wps no longer gets disabled by BT. Does this mean that the security issue with wps has been fixed in the latest firmware?
    Thanks
    Solved!
    Go to Solution.

    Hi Guys
    Sorry for the delay un updating you.
    We recently started to switch on the WPS functionality on our Hub 3’s.  It is being rolled out over the next few months so some hubs have had this enabled already but it will take a while to have this rolled out across all hub 3.0s. 
    Rest assured that we would not be doing this if there were any security concerns in switching on WPS.
    Cheers
    BTCare Community Manager
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Getting error while compiling frmcmp_batch batch file

    HI
    I am getting error while running frmcmp_batch commant
    to create .fmx file
    following is command that i am using
    $ frmcmp_batch module=$AU_TOP/forms/US/DEMxxEOR.fmb userid=APPS/apps output_file=$PO/forms/US/DEMxxEOR.fmx module_type=form batch=no compile_all=specialfollowing is error that i am getting
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application >>Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    FRM-18108: Failed to load the following objects.
    Source Module:APPSTAND>> Source Object: STANDARD_PC_AND_VA
    Source Module:APPSTAND>>Source Object: STANDARD_TOOLBAR
    Source Module:APPSTAND>>Source Object: STANDARD_CALENDAR
    Compiling package specification APP_CUSTOM...>> No compilation errors.
    Compiling package specification APP_CUSTOM...>> No compilation errors.
    Compiling package body APP_CUSTOM...
    Compilation error on package body APP_CUSTOM:
    PL/SQL ERROR 302 at line 22, column 19
    component 'DISABLED' must be declared
    PL/SQL ERROR 0 at line 22, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 5
    identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    Compilation errors have occurred.
    Form not created

    Hi;
    I am getting error while running frmcmp_batch commant
    to create .fmx file
    following is command that i am using
    $ frmcmp_batch module=$AU_TOP/forms/US/DEMxxEOR.fmb userid=APPS/apps output_file=$PO/forms/US/DEMxxEOR.fmx module_type=form batch=no compile_all=special
    Please try wiht below syntax
    frmcmp_batch userid=apps/apps module=/u01/VIS/apps/apps_st/appl/au/12.0.0/forms/US/INVTTMTX.fmb output_file=/u01/VIS/apps/apps_st/appl/au/12.0.0/forms/US/INVTTMTX.fmx module_type=form batch=no compile_all=yes
    Regard
    Helios

  • Getting error while Enable Dashboard Widget

    Dear Experts,
    I am getting error while Enable Dashboard Widget
    u201CInstall SAP Business One Integration Service before enabling the dashboard widgetu201D
    Even I follow all step by step process.
    Thanks
    Kamlesh

    Hi Kamlesh,
    Have you tried the following:
    Deactivate the cockpit in your Business One database - Disable My Cockpit and also disable cockpit in General Settings
    Run EventSender Setup (in first step try to avoid using localhost or IP addresses)
    In third step press Test Connection, in fourth step make sure that your database is checked, press also Receiver but ton and then Test Connecion.
    Finish EventSender setup.
    Click on SLD in the B1i Framwork and ensure connection to the Company databsae (B1DI and JDBC) is successful.
    Go back to B1i Framework UI, click Scenarios in upper menu, then select Control in left menu and (re)activate Xcelsius scenario.
    Restart EventSender service, Integration Service and Proxy services via Servies (Computer Management)
    Now you can enable cockpit in your Business One database - enable cockpit in General Settings and then enable My Cockpit.
    After installation of B1ic, the company is not listed in the SLD
    Delete all entries of table SLSP and SLSPP in SBOCOMMON. Restart integration service. In SAP Business refresh the company list.
    These solutions are documented in the attached Note 1619422.
    Kind regards
    Sean

  • Error While passivating Stateful session bean

     

    I also have same problem when WL passivating. However, the exception throwing from
    WL saying the "Ignoring exception raised while passivating".
    My question is will that exception lead to failure of passivating and evenually
    lead to memory leakage? I just thought that the memory is still in cache either
    removed or passivated, as a result more and more memory will be used up as more
    failure occurs.
    Frank
    Rob Woollen <[email protected]> wrote:
    It looks like you have a reference to a DB Connection as a member
    variable. This reference should be transient. You can re-acquire it
    in
    ejbActivate.
    -- Rob
    Hemant Arora wrote:
    Hi
    Can anybody please clarify the error that I'm getting while runningthe
    stateful session bean with weblogic
    I have instantiated 20 stateful session beans all using the DB connection
    but if the connection is unaailable I'm making the beans to wait.
    I'm not removeing the beans and again making the instance of 20 another
    beans
    The max beans in cache is 25.
    Thanks
    Hemant
    This is the output at the console of the weblogic
    ejbPassivate()
    Tue Jul 17 20:58:00 GMT+05:30 2001:<I> <EJB JAR deployment
    d:/weblogic/myserver/romanCount.jar> Ignoring exception raised while
    passivating:
    java.io.NotSerializableException:
    weblogic.jdbc20.rmi.internal.ConnectionImpl
    at
    java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
    at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
    at
    java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
    at
    java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
    at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
    at
    java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • IPad plug gets hot while charging

    I have the 5 watt charger I have noticed it gets hot while charging is this normal I just upgraded to ios7 please let me know if this is normal?

    Definitely not typical, bot probably normal. iOs7 uses more power than former versions, thanks to the continual use of Bluetooth, Backtround App Refresh, and Airdrop. Disable these functions, and post with your results.

  • Compaq 510 touchpad - gets disabled when power cord is disconnected. i.e. in battery mode

    compaq 510 touchpad & keyboard - gets disabled & is not working.This happens only when power cord is disconnected from the mains.i.e. in battery mode.External USB mouse works fine.Updated & tried re-installing drivers, but still the problem exists.Please suggest a solution.!!!

    Hi,
    Schindi285460 wrote:
    My Pavilion zd 7379ea will only start up in battery mode. AC adapter appears OK with a firm green LED, so external power supply may not be the issue here? When I'm starting up (with what's left on the battery), both the charging LED and the AC LED are constantly blinking. When turned off, the battery LED is firm, and battery appears to be charging (but which obviously is not the case).  Occasionally, when computer is turned off, the AC LED is lit with a firm light.
    One odd thing I noted before this happened was that the computer ran on AC only when my HP printer was connected to one of the USB ports (no battery inserted). If I disconnected the printer USB cord, the computer just died immediately; it was like the computer was powered by the printer. Later I also discovered that the same cord (where it connected to the printer) had melted from extreme overheating. I tried to update the USB drivers for each port but it didn't change things. I also tried to connect a different printer to get the computer started but it didn't work this time. I'd be extremely grateful for any comments that may solve this power supply issue (and if possible explain the stuff with the printer connection).
    S/N{removed for privacy]; P/N PH989EA#AK8
    You unplugged a USB device while the notebook was still booted into Windows and on? 
    Normally that won't cause any issues but , If you did that you may have damaged your  system board's Southport chip.
    USB is not a plug n' play port like SATA  and eSATA are.
    Here is a link to the maintenence manual for your laptop series.
    Is your notebook still within warranty? By the processor components listed in the manual,I believe it is probably not.
    best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • User cannot change password option is automatically getting unchecked while giving domain admin rights

    user cannot change password option is automatically getting unchecked while giving domain admin rights

    Greetings!
    "Domain Admins" falls into the category of protected groups and it is included in ADminSDHolder process. It is normal and was designed in order to prevent the modification to these privileged groups. More information on the link below:
    AdminSDHolder, Protected Groups and SDPROP
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • HELP! On PC reboot all my extensions get disabled and each one opens a new Tab!

    Help!!!
    On PC reboot all my extensions get disabled and each one opens a new Tab!
    I have seen 2 threads here about this issue and a few more by googling the problem.
    However nothing, nothing, noithing... worked!
    Win7, MS Office 2007, Sony Vaio SZ1VP, FF 10.0
    and:
    >
    Download Unlimited 1.0, Read it Later 2.1.4, Pixlr Grabber 2.1.1, Cool Preview 3.5, Telyfi 1.2.5, Speed Dial 0.9.6.4, Google shortcuts 2.1.7.1, Scrapbook 1.4.9, Screen Grab (fix Version) 0.9.6.3c, Vertical Toolbar 0.2.6, Google Translator for Firefox 2.1.0.1, TinEye Reverse Image Search 1.1, Grooveshark Premium, 2.0.2, Quick Maps 1.5.0.
    >
    To try to solve this issue, I:
    Uninstalled:
    Antivirus (BitDefender)
    PC Cleaner (CCCleaner)
    Flash,
    Java,
    Shockwave,
    MediaPlayer...
    FF (deleting all the settings).
    Then reboot twice for safety.
    Then re-installed Java, Flash, Shockwave.
    Reboot once more.
    Re-installed FF, reboot once more.
    Checked that all the plugins were updated, and only then I finally installed my extensions.
    Checked that the user.js and preferences.js were not read only.
    Everything worked fine (even FF restart) until the next OS reboot!
    Then it all strated again!!!!!! It's driving me crazy!!!! Please, help! Machine cannot defeat man... or, better, machine can defeat me, but not the whole of the FF community!!!!!
    Please, I must get to the end of this story! Help!!!
    Tommaso

    NM, got it fixed. Thanks!!!

  • Animated GIF image gets distorted while playing.

    Hi,
    I have some animated gif images which I need to show in a jLabel and a jTextPane. But some of these images are getting distorted while playing in the two components, though these images are playing properly in Internet Explorer. I am using the methods insertIcon() of jTextPane and setIcon() of jLabel to add or set the gif images in the two components. Can you please suggest any suitable idea of how I can get rid of this distortion? Thanks in advance.

    In the code below is a self contained JComponent that paints a series of BufferedImages as an animation. You can pause the animation, and you specify the delay. It also has two static methods for loading all the frames from a File or a URL.
    Feel free to add functionality to it, like the ability to display text or manipulate the animation. You may wan't the class to extend JLabel instead of JComponent. Just explore around with the painting. If you have any questions, then feel free to post.
    The downside to working with an array of BufferedImages, though, is that they consume more memory then a single Toolkit gif image.
    import javax.swing.JComponent;
    import java.awt.image.BufferedImage;
    import java.awt.Graphics;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    public class JAnimationLabel extends JComponent {
        /**The default animation delay.  100 milliseconds*/
        public static final int DEFAULT_DELAY = 100;
        private BufferedImage[] images;
        private int currentIndex;
        private int delay;
        private boolean paused;
        private boolean exited;
        private final Object lock = new Object();
        //the maximum image width and height in the image array
        private int maxWidth;
        private int maxHeight;
        public JAnimationLabel(BufferedImage[] animation) {
            if(animation == null)
                throw new NullPointerException("null animation!");
            for(BufferedImage frame : animation)
                if(frame == null)
                    throw new NullPointerException("null frame in animation!");
            images = animation;
            delay = DEFAULT_DELAY;
            paused = false;
            for(BufferedImage frame : animation) {
                maxWidth = Math.max(maxWidth,frame.getWidth());
                maxHeight = Math.max(maxHeight,frame.getHeight());
            setPreferredSize(new java.awt.Dimension(maxWidth,maxHeight));
        //This method is called when a component is connected to a native
        //resource.  It is an indication that we can now start painting.
        public void addNotify() {
            super.addNotify();
            //Make anonymous thread run animation loop.  Alternative
            //would be to make the AnimationLabel class extend Runnable,
            //but this would allow innapropriate use.
            exited = false;
            Thread runner = new Thread(new Runnable() {
                public void run() {
                    runAnimation();
            runner.setDaemon(true);
            runner.start();
        public void removeNotify() {
            exited = true;
            super.removeNotify();
        /**Returns the animation delay in milliseconds.*/
        public int getDelay() {return delay;}
        /**Sets the animation delay between two
         * consecutive frames in milliseconds.*/
        public void setDelay(int delay) {this.delay = delay;}
        /**Returns whether the animation is currently paused.*/
        public boolean isPaused() {
            return exited?true:paused;}
        /**Makes the animation paused or resumes the painting.*/
        public void setPaused(boolean paused) {
            synchronized(lock) {
                this.paused = paused;
                lock.notify();
        private void runAnimation() {
            while(!exited) {
                repaint();
                if(delay > 0) {
                    try{Thread.sleep(delay);}
                    catch(InterruptedException e) {
                        System.err.println("Animation Sleep interupted");
                synchronized(lock) {
                    while(paused) {
                        try{lock.wait();}
                        catch(InterruptedException e) {}
        public void paintComponent(Graphics g) {
            if(g == null) return;
            java.awt.Rectangle bounds = g.getClipBounds();
            //center image on label
            int x = (getWidth()-maxWidth)/2;
            int y = (getHeight()-maxHeight)/2;
            g.drawImage(images[currentIndex], x, y,this);
            if(bounds.x == 0 && bounds.y == 0 &&
               bounds.width == getWidth() && bounds.height == getHeight()) {
                 //increment frame for the next time around if the bounds on
                 //the graphics object represents a full repaint
                 currentIndex = (currentIndex+1)%images.length;
            }else {
                //if partial repaint then we do not need to
                //increment to the the next frame
    }

  • Does anyone know of a VI or how to go about writing one that will prevent the computers time/date from being disabled while an application is running.

    Does anyone know of a VI or how to go about writing one that will prevent the computers clock/time from being disabled while an application is running. The time and date can normally be reset while an application is running by clicking on the time/date in the lower right-hand corner of the computer screen. I have an application that runs over several days and it is critical that the time and date of the computer not be changed. Is there an easy way to lock this out from the user? Note that I am what I consider an advanced beginner in LV.
    Thank you,
    Chuck
    Solved!
    Go to Solution.

    That is not something you can do from LabVIEW, as it is an operating system operation, and it will depend on the operating system that you're using. On Windows you can use a group policy to control this. Please Google on "prevent time and date change in windows".
    Also, please try to refrain from stuffing your entire message in the subject block. Keep the subject short, but descriptive enough so it can be understood what you are basically asking. Thanks.

Maybe you are looking for

  • Activate a Midlet from an Applet

    Hi, I am trying to activate a Midlet from an Applet? Is this possible in any of the latest J2ME releases? Using SATSA I am able to send APDU commands from the Midlet to the Applet and start a scenario where my Applet and Midlet exchange information.

  • How to monitor who is accessing my shared folders

    how to monitor that who is accessing my shared folders from network ?

  • Adding FLV files GET RID of the skins?

    Can I add HTML to my embedded FLV file to NOT have a skin? This is what is there right now. Seems if I change SKINNAME to None it doesn't play at all...I created this file from AfterEffects...here is what Dreamweaver code is: <object type="applicatio

  • Is bootcamp needed to run windows7 for Internet Explorer

    I would like to know if I need to load BootCamp to run Windows 7 so that I can also use Internet Explorer for working at home with Explorer-only websites.

  • How can i disable mesh?

    how can i disable 1552E mesh over cli. i m trying to upload ios and it s always cutting the connection. Sep  1 10:17:48.167: %MESH-3-TIMER_EXPIRED: Mesh Lwapp join timer expired Sep  1 10:17:48.167: %MESH-3-TIMER_EXPIRED: Mesh Lwapp join failed expir