ICEfaces
  1. ICEfaces
  2. ICE-2399

Action and ActionListener is not working with the inputSecret component.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7DR#2
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      inputSecret + action + actionListener

      Description

      Action and ActionListener is not working with the inputSecret component.

        Activity

        Hide
        Adnan Durrani added a comment -

        After attaching the file, resolving the issue.

        Show
        Adnan Durrani added a comment - After attaching the file, resolving the issue.
        Hide
        Adnan Durrani added a comment -

        file attachment isn't working

        Show
        Adnan Durrani added a comment - file attachment isn't working
        Hide
        Adnan Durrani added a comment -

        It was fixed as of 1.7.1. Please see the attached demo named as ICE-2399.war.
        The demo has been tested with the following version of ICEFaces. Please see the result below:

        1.7.0DR#2 : not working
        1.7.0DR#3: not working
        1.7.1: working
        1.7.2: working
        1.8.0 DR#1: working
        trunk head : working

        We have tested the head with the JSF 1.1 and JSF 1.2 both are working fine.

        The following note I have added to the demo. I would like to add it here as well:
        Note: if the submit happens by the tab key using paritalSubmit true, it doesn't considered as an action event. The action event will be considered only when the enter key was hit on the input field.

        Show
        Adnan Durrani added a comment - It was fixed as of 1.7.1. Please see the attached demo named as ICE-2399 .war. The demo has been tested with the following version of ICEFaces. Please see the result below: 1.7.0DR#2 : not working 1.7.0DR#3: not working 1.7.1: working 1.7.2: working 1.8.0 DR#1: working trunk head : working We have tested the head with the JSF 1.1 and JSF 1.2 both are working fine. The following note I have added to the demo. I would like to add it here as well: Note: if the submit happens by the tab key using paritalSubmit true, it doesn't considered as an action event. The action event will be considered only when the enter key was hit on the input field.
        Hide
        Lari Tuominen added a comment -

        Truly needed!

        Show
        Lari Tuominen added a comment - Truly needed!
        Hide
        Tobias Eisenträger added a comment -

        Any update?

        Show
        Tobias Eisenträger added a comment - Any update?
        Hide
        Stephan Anft added a comment -

        Is there any news on this?

        Show
        Stephan Anft added a comment - Is there any news on this?
        Hide
        Sean Connolly added a comment -

        No update..?

        Show
        Sean Connolly added a comment - No update..?
        Hide
        Mark Collette added a comment -

        When fixing this, be sure to test against JSF 1.1 and JSF 1.2.

        Show
        Mark Collette added a comment - When fixing this, be sure to test against JSF 1.1 and JSF 1.2.
        Hide
        David Reed added a comment -

        As a work-a-round this was able to be accomplished by removing the actionListener in the ice:inputSecret component and adding in a binding attribute that then allowed me to execute a addActionListener in the set method for that HtmlInputSecret binding. Now when I hit enter in the inputSecret text box, the actionListener IS fired and using a PersistentFacesState.getInstance().navigateTo(authenticate()) in the called action listener I can then also forward to another page just like the action attribute would normally do.

        For a complete scenario of what took place, please see the topic especially at http://www.icefaces.org/JForum/posts/list/6359.page#27735.

        Show
        David Reed added a comment - As a work-a-round this was able to be accomplished by removing the actionListener in the ice:inputSecret component and adding in a binding attribute that then allowed me to execute a addActionListener in the set method for that HtmlInputSecret binding. Now when I hit enter in the inputSecret text box, the actionListener IS fired and using a PersistentFacesState.getInstance().navigateTo(authenticate()) in the called action listener I can then also forward to another page just like the action attribute would normally do. For a complete scenario of what took place, please see the topic especially at http://www.icefaces.org/JForum/posts/list/6359.page#27735 .
        Hide
        David Reed added a comment -

        See previous comment that this file/files is/are for.

        Show
        David Reed added a comment - See previous comment that this file/files is/are for.
        Hide
        David Reed added a comment -

        on a simple form hitting the enter key does not execute the method binding found in either the "action" or "actionListener" attribute of the ice:inputSecret component. The relevant same attributes in inputText does work though when hitting return.

        To see an example of this, I've attached a WAR that contains example JSPX login form along with a backing bean.

        Show
        David Reed added a comment - on a simple form hitting the enter key does not execute the method binding found in either the "action" or "actionListener" attribute of the ice:inputSecret component. The relevant same attributes in inputText does work though when hitting return. To see an example of this, I've attached a WAR that contains example JSPX login form along with a backing bean.

          People

          • Assignee:
            Unassigned
            Reporter:
            Adnan Durrani
          • Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: