Problem with defaultCommand - buttons, links, etc not working

Hi,
I've used the defaultCommand attribute on a number of pages in an application, and have noticed a serious problem :
After hitting enter, if no navigation occurs (i.e. only PPR), nothing on the page works anymore - no buttons, links, etc.
Is this a known issue? If so, is there a way to fix this?
Also, if an inputTextField has a f:validateLongRange tag, and the user enters an invalid value (i.e. text, or something out of range), when enter is pressed the entire page disappears, and I'm left with only the validator's error message. I know I could work around this by performing my own validation, but that is less than ideal.
Any help would be greatly appreciated. Thanks
Message was edited by:
lturner

Hi,
it does reproduce and I filed a bug. The work around is not to use the "defaultCommand" property as it works when e.g clicking onto the button
Frank

Similar Messages

  • HT1222 hello i have a problem with my fingerprint id its not working anymore like before his not recognised my finger anymore why ?

    hello i have a problem with my fingerprint id its not working anymore like before his not recognised my finger anymore why ?

    I have had to periodically delete and re-enter my fingerprint. The last update (7.1) may have improved that. You can delete by going to Settings > Touch ID & Passcode, enter your passcode and then tap "Turn Passcode Off" and then go back to the same area, put a passcode back on and then a fingerprint.

  • A problem with a timer event sometimes not working

    Guys...
    I have this problem:
    I have a child added to the stage eacg 5 seconds and if this child still on the stage after another 5 seconds, you go to the next frame...
    My problem is that sometimes it does not work, meaning that you can have this child on the stage for ever and nothing will happen... but sometimes it does work properlly...
    Is there any mistakes in my code or what should I do?
    var miC4:Loader = new Loader();
    miC4.load(new URLRequest("nivel1.jpg"));
    addChild(background1);
    background1.addChild(miC4);
    if (!lives){var lives:int = 3;}
    var enem1:Loader = new Loader();
    enem1.load(new URLRequest("1enemigo.png"));
    var enemy1Array:Array = new Array(enem1);
    var t1:Timer=new Timer(5000,1);
    var t2:Timer=new Timer(10500,1);
    recycleEnemy();
    function removeEnemy(){
               background1.removeChild(enem1);
               recycleEnemy();
    function touchListener(event:MouseEvent){
        enem1.removeEventListener(MouseEvent.CLICK, touchListener);
        removeEnemy();
    function recycleEnemy():void{
            enem1.x=(50 + Math.random() * (stage.stageWidth - 150));
            enem1.y=(50 + Math.random() * (stage.stageHeight + -100));
            t1.addEventListener(TimerEvent.TIMER, addEnemy);
            t1.start();
            t2.addEventListener(TimerEvent.TIMER, bang1);
            t2.start();
    function addEnemy(e:TimerEvent):void {
            background1.addChild(enem1);
            enem1.addEventListener(MouseEvent.CLICK, touchListener);
            enemy1Array.push(enem1);
    function bang1(e:TimerEvent):void {
        if(enem1.stage){
                    lives--;
                    if (lives >= 0) {
                        t1.stop();
                        t2.stop();
                        removeChild(background1);
                        gotoAndStop(5);
    Thanks a lot!!!!

    ok, so there are a number of issues.
    the first error is enemy1Array contains two duplicate objects ~5 seconds after entering that frame.  i'm not sure if that's a problem because i don't see where you're even using enemy1Array, but you should fix that error (if enemy1Array is used) or remove enemy1Array (if it's not used).
    the next problem is you can call recycleEnemy more than once and re-add those timers.  flash will probably protect yourself from the bad coding but you shouldn't count on it.  when you call removeEnemy you should stop those timers and remove those listeners before re-adding another pair of listeners.  or just reset the timers in removeEnemy and start them in recycleEnemy.  there's no need to re-add those listeners more than once.  they could be added in your if(!lives) conditional.
    the next (and probably most important) error is your removeChild(background1) statement which fails to remove enem1. so, when you re-enter that frame you have an enem1 on-stage that you can't kill and can't even reference.  remove it when you remove the background1.

  • Flash with full path link does not work, does anyone know how?

    Hey guys do not think many people now needed it, but to kill me and I can not.
    I need the following: Place a swf with the full path of another server.
    Until then beauty is only put http://www.outrodominio.com.br/flash/arquivo.swf right?
    to ai beauty, opens td bem ... easy ....
    More link is broken
    If anyone can help.
    anyway...thanks!

    Cute site! I like it!
    Regarding your links at the top of the page. Things to try:
    1. In the Inspector Page tab, try adjusting the header height value to 0.
    2. Move your links/buttons down the page slightly.
    3. Instead of making the text hyperlinks, maybe overlay a 1% transparent rectangular shape over the whole button to make your button a "hotspot" hyperlink.
    I think the problem right now is that there is a reserved area at the top of the template pages where the navigation menu usually lives. For some reason links placed here sometimes to not work even if the navigation menu is turned off. Seems to be an iWeb bug.
    Give the above suggestions a try. Any one of them could help. Let me know what happens! Good luck.

  • Problem with TableModelListener - it's just not working

    Hi all - I have a TableModelListener like the one bellow but when I edit data in the table and press enter nothing happens - I'm guessing I'm doing something wrong but I can't work out what - has anyone got any ideas?
    teamManageTable.getModel().addTableModelListener( new TableModelListener() {
                public void tableChanged(TableModelEvent e) {
                    int row = e.getFirstRow();
                    int column = e.getColumn();
                    TableModel model = (TableModel)e.getSource();
                    String columnName = model.getColumnName(column);
                    Object data = model.getValueAt(row, column);
                    // Do something with the data...
                    System.out.println("hi");
            });Thanks

    Hi there - it took me a while to replicate the problem (I'm not going to post the whole program - too big) - basically it seems that it is only not working once I add data too the table, so I guess I am adding it incorrectly
    If you run this and click the add button you will then see that it is not working
    * Main.java
    * Created on 17 November 2007, 10:55
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package tester;
    * @author kilps
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import javax.swing.table.TableModel;
    public class Main extends JFrame {
        JScrollPane teamManageScrollPane = new javax.swing.JScrollPane();
        JTable teamManageTable = new javax.swing.JTable();
        JLabel addTeamLabel = new javax.swing.JLabel("Add a new team: ");
        JLabel addTeamNameLabel = new javax.swing.JLabel("Name: ");
        JTextField addTeamName = new javax.swing.JTextField();
        JLabel addTeamContactNumberLabel = new javax.swing.JLabel("Contact Number: ");
        JTextField addTeamContactNumber = new javax.swing.JTextField();
        JLabel addTeamContactEmailLabel = new javax.swing.JLabel("Contact Email: ");
        JTextField addTeamContactEmail = new javax.swing.JTextField();
        JLabel addTeamOtherInfoLabel = new javax.swing.JLabel("Other Info: ");
        JScrollPane addTeamOtherInfo = new javax.swing.JScrollPane();
        JTextArea addTeamOtherInfoBox = new javax.swing.JTextArea(5,20);
        JButton addTeamSubmit = new javax.swing.JButton("Submit New Team");
        String [] tableHeader = new String[] {"Team Name", "Contact Number", "Contact Email","Other Info"};//table header
        /** Creates a new instance of Main */
        public Main() {
            method();
        public void method() {
            teamManageTable.setModel(new javax.swing.table.DefaultTableModel(new String[][] {{"some","data"},{"some","more"}},new String[] {"1","2"}));
            //object specific stuff
            teamManageScrollPane.setViewportView(teamManageTable);
            addTeamLabel.setFont(new java.awt.Font("Dialog", 1, 14));
            addTeamOtherInfo.setViewportView(addTeamOtherInfoBox);
            //setup window
            JFrame teamsWindow=new JFrame("Manage Teams");
            //fancy layout stuff courtesy netbeans gui builder
            GroupLayout layout = new javax.swing.GroupLayout(teamsWindow.getContentPane());
            teamsWindow.getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(addTeamLabel)
                    .addGroup(layout.createSequentialGroup()
                    .addComponent(addTeamNameLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamName, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                    .addComponent(addTeamContactNumberLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamContactNumber, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                    .addComponent(addTeamContactEmailLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamContactEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                    .addComponent(addTeamOtherInfoLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamOtherInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(teamManageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 420, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(addTeamSubmit))
                    .addContainerGap(20, Short.MAX_VALUE))
            layout.setVerticalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(teamManageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamLabel)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(addTeamNameLabel)
                    .addComponent(addTeamName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(addTeamContactNumberLabel)
                    .addComponent(addTeamContactNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(addTeamContactEmailLabel)
                    .addComponent(addTeamContactEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(addTeamOtherInfoLabel)
                    .addComponent(addTeamOtherInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(addTeamSubmit)
                    .addContainerGap(28, Short.MAX_VALUE))
            teamsWindow.pack();
            teamsWindow.setVisible(true);
            addTeamSubmit.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    //first do fancy check so we have a dynamic array type thing
                     teamManageTable.setModel(new javax.swing.table.DefaultTableModel(new String[][] {{"some","data"},{"some","more"},{"even","more"}},new String[] {"1","2"}));
            teamsWindow.addWindowListener(new WindowListener() {
                public void windowClosed(WindowEvent arg0) {}
                public void windowActivated(WindowEvent arg0) {}
                public void windowClosing(WindowEvent arg0) {
                    //on close
                public void windowDeactivated(WindowEvent arg0) {}
                public void windowDeiconified(WindowEvent arg0) { }
                public void windowIconified(WindowEvent arg0) {}
                public void windowOpened(WindowEvent arg0) {}
            teamManageTable.getModel().addTableModelListener( new TableModelListener() {
                public void tableChanged(TableModelEvent e) {
                    int row = e.getFirstRow();
                    int column = e.getColumn();
                    TableModel model = (TableModel)e.getSource();
                    String columnName = model.getColumnName(column);
                    Object data = model.getValueAt(row, column);
                    // Do something with the data...
                    System.out.println("hi");
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            new Main();
    }thanks

  • I got problem with home button it doesn't work but the touch ID is working ( I have 5S)

    I have the new iPhone 5S.
    And the problem is the  home button it doesn't work but the touch ID is working.
    I don't think the button is broken.  

    Hey! I just read something about it on a post by iPhone 4S Stuck at boot showing [NAND] ? at the end of the second page..... It is a lot of work by it depends on you if you want to try.... at the end if not working as varjak paw quoted you may have to replace it...... but don't give up!!!!

  • I am having the same problem with my sound, it does not work with my games. I tried the info that was given below

    I tried the suggestion for the sound, but it is not working. the sound will not play for my games, but it does play for all other Apps

    As you don't say what suggestion it is that you've tried, I don't know whether you mean for having notifications muted, so you may already have tried the following.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • Problem with Nokia N73 -- Camera is not working

    Recently i have purched Nokia N73.
    Some times my camera is not working ,means it's stuck.
    but after some time or after a day it's working fine.
    what is the reason ?
    is there any setting?
    Plz let me know the same.
    Wating for your positive reply ASAP.

    try to upgrade your software
    see this link-> http://europe.nokia.com/softwareupdate

  • Flash button link will not work in CS4

    Can anyone walk me through step by step to get a flash button link to work in CS4?  I tries action scripts 2 and 3... I cut and pasted a bunch of code on line, watched tutorials, and no matter what i do, the link won't work in CS4.  The button looks and works fine, but won't go to the web site ot web page after clicking on it.
    At this point, I am so confused, i think it would be better if someone walked me through step by step.  My email is [email protected]  I can email the button is that would help.  Thanks.
    Steve.

    Hi,
    This issue is fixed in Encore CS5.
    Thanks,
    Pankaj Gauba

  • My laptop macbook pro has a problem with usb port they are not working.

    hi there i have a late 2011 mac pro, its been 2 years of purhase however reary used, now it has a problem with usb port are drawing too much power and usb ports are dissabled from the system. now i can not use usb ports. do yo have solution for it??? cheers

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • Problems with "find nearby missing photos", not working like it should in LR4

    After I imported photos into LR4 I decided to split the event within the same folder creating 2 subfolders and proceeded to move the files within the finder. Went to LR4 and synchronized the folder but it didn't fix the file location on the missing files. So I tried finding individual files and checked the "Find nearby missing photos" but this doesn't seem to work like it did in LR3, because it won't find any nearby missing files even though they are right there new to each other in the same folder.
    I don't want to dremove them and re-import because I have added ratings and I fear I would loose this info if I did that...

    Your assumption that you would loose your ratings and develop settings is correct, if you would re-import.
    Reimporting is never a good idea.
    For the rest you have two alternatives: either you reconnect one image after another, or you undo on OS level what you did in the first place, then execute the move inside LR.
    Depending on how many images you moved this could actually be the fastest route out.
    "Find nearby missing photos" did not work reliably for me either in LR3. I have never found out when it did and when not, so I have preferred to learn how to perform any such operation inside LR.
    Another valid question is why you do not use collections for your desired split , and leave the folders as they were.
    According to my prejudice MAC users would not be as conservative in sticking to folder structures as Windows users..;-))
    Once you master LR folders could be very unimportant storage buckets, as every angle for organizing your images would be covered by (smart) collections and keywords and other metadata.
    Good luck, Cornelia

  • I am work on fluid grid web site in DW CC but my nav button link is not work

    html code
    <div id="div1" class="fluid" >
               <ul id="ul">
                <li id="li"><a href="who_we_are.html">who we are</a>
                          <ul>
                    <li id="li"><a href="team.html">team</a></li>
                          <li id="li"><a href="management.html">management</a></li>
                          <li id="li"><a href="https://www.google.co.in/?gws_rd=cr">company history</a></li>
                          </ul></li>
        </ul>
                <ul id="ul"><li id="li"><a href="what_we_do.html">what we do</a></li> </ul>
                <ul id="ul"><li id="li" ><a href="how_we_do.html">how we do</a></li> </ul>
                <ul id="ul"><li id="li" ><a href="our_gallery.html">our work gallery</a>
                                      <ul>
    </div>
    CSS code
    #div1 {
              width: 100%;
              position: absolute;
              height: 366px;
              top: 474px;
              background-color: #0C9696;
              background-image: url(../_images/bottom_bk.gif);
              background-repeat: repeat-x;
              background-origin: padding-box;
    #div1 #ul #li {
              width: 14%;
              position: relative;
              min-width: 11%;
              float: left;
              list-style-type: none;
              margin-left: auto;
              margin-right: auto;
    #div1 #ul #li a {
              width: 98%;
              height: 36px;
              display: block;
              font-size: medium;
              line-height: 36px;
              text-decoration: none;
              color: #FFFFFF;
              text-align: center;
              background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(0,166,158,1.00)),color-stop( 100% , rgba(0,110,105,1.00)));
              background-image: -webkit-linear-gradient(270deg,rgba(0,166,158,1.00) 0%,rgba(0,110,105,1.00) 100%);
              background-image: linear-gradient(180deg,rgba(0,166,158,1.00) 0%,rgba(0,110,105,1.00) 100%);
              -webkit-box-shadow: inset 0px 0px;
              box-shadow: inset 0px 0px;
              font-family: "AvantGarde Bk BT", "AvantGarde Md BT", Arial, sans-serif;
    #div1 #ul #li a:hover {
              color: #FFFFFF;
              background-image: -webkit-gradient(linear, 48.25% 100.00%, 51.75% 0.00%, color-stop( 0% , rgba(127,127,127,1.00)),color-stop( 100% , rgba(89,90,90,1.00)));
              background-image: -webkit-linear-gradient(88deg,rgba(127,127,127,1.00) 0%,rgba(89,90,90,1.00) 100%);
              background-image: linear-gradient(2deg,rgba(127,127,127,1.00) 0%,rgba(89,90,90,1.00) 100%);
              -webkit-box-shadow: inset 0px 0px;
              box-shadow: inset 0px 0px;
    #div1 #ul {
              margin-top: 16px;
              margin-left: -21px;
              margin-right: 29px;
    #div1 #ul ul {
              position: absolute;
              visibility: hidden;
              margin-right: 0px;
              top: 20px;
              left: -39px;
              width: auto;
    #div1 #ul li:hover ul {
              visibility: visible;
    #div1 #ul #li ul #li {
              width: 101%;

    When I go to that link, download and then attempt to install I get the message "Webe encountered the following issues, Installer failed to initialize.  Please down load Adobe Support Advisor to detect the problem"  I then select the link "get adobe support advisor" that takes me to a site that describes a better support link since the one I have been sent to is no longer available.  I then go to that site and am told to go to CC for desktop apps, that requires me to download CC...  I don't want CC.. just want to have my CS6 PS work again....  so frustrating...

  • Update Firefox to version 17 (the newest version) - Green button link does not work, please help

    Hello,
    I currently have Firefox version 16.0.2 installed on my laptop with Windows 7.
    Every time I attempt to go to the update site (http://www.mozilla.org/en-US/firefox/new/) and click on the green update button, I am sent to the 'Thank you' page, and no download begins.
    After that page, it attempts to redirect, I am assuming to the download; URL is https://download.mozilla.org/?product=firefox-17.0.1&os=win&lang=en-US
    I receive the following error: Unable to connect - Firefox can't establish a connection to the server at download.mozilla.org.
    Please let me know how I can update my Firefox to the latest version.
    Many thanks.
    J. Ng

    12/07/2012
    Good day,
    Same problem until I cleared the 67MB cached web content under:
    Tools>Options>Network
    It immediately took care of it without a browser restart.
    Cheers!

  • Problem with multi take drum tracks not working with group selection editing

    HI All
    Ive recently tracked drums into using 7 mics and doing multiple takes layered on top of each other, the 7 takes belong to the same group and i have enabled group editing in the settings.
    I think i changed the comp options at the end of the track and as a result audio tracks 1 and 2 edit between takes together fine. I.e. when i choose say take 5 with track it does the same selection for track 2.
    Tracks 3-7 work in the same way fine, im just wondering if anyone knows how to get them as a complete group again so that when i choose take 5 for example on the one audio track, it will make the same selection for all of them!
    thanks

    Colin,
    I did a multi camera edit of Act 1 of a taped performance and all went well. Moved on to Act 2, which ran longer and each camera needed a tape change. So I matched the clips from each camera on each video track and tried to move on to the sync & then create a multi camera sequence stage of the project. That's when I hit a road block. I could not sync the four video tracks. So I consulted Adobe's on line help and this was all I could find about my predicament:
    Note: Adobe Premiere Pro uses an overlay edit when  synchronizing clips. Take care not to overwrite adjacent clips if you have  multiple clips on the same track.
    So what was I to do next? I found your post and now know exactly what to do. Thanks for a great explaination and saving me a lot of head scratching.
    Why couldn't Adobe explain it as well?
    Thanks,
    Angelo

  • Windows 10 technical preview problem with lumia 730, wifi is not working and how to rollback to windows 8.1 please help

    I installed windows 10 technical preview on my lumia 730 and now iam facing problem 
    1) unable to connect wifi
    so please help me how to roll back to windows 8.1
    in the forums it was written that if u have windows recovery tool then it is possible , but iam not able to find windows recovery tool.
    Please help me my mail id [email protected]

    so please help me how to roll back to windows 8.1
    http://windows.microsoft.com/en-us/windows/preview-backup-restore

Maybe you are looking for