MyFaces Core
  1. MyFaces Core
  2. MYFACES-1127

Non-null return types allowed for @actionListener

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      servlet 2.4 , tomcat 5.5.9, JSP 2.0

      Description

      See section 3.2.1.1 in JSF 1.1 for background.

      This will works, but shouldn't :

      <h:commandButton
      immediate="true"
      binding="#

      {backer.clear}"
      actionListener="#{backer.clear}

      "
      value="Clear" />

      public Double clear(ActionEvent event){
      log.info("clear ");
      return null;
      }

        Activity

        Hide
        Dennis Byrne added a comment -

        Fixed for valueChangeListener as well

        Show
        Dennis Byrne added a comment - Fixed for valueChangeListener as well
        Hide
        Mario Ivankovits added a comment -

        current solution didnt work if you reference the *listener through the var= attribute (e.g. within an datatable)

        Show
        Mario Ivankovits added a comment - current solution didnt work if you reference the *listener through the var= attribute (e.g. within an datatable)

          People

          • Assignee:
            Dennis Byrne
            Reporter:
            Dennis Byrne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development