Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1526

ace:dateTimeEntry does not invoke ajax partial request processing when the user manually changes the date in the icefaces3-portlet

    Details

      Description

      Currently, the ace:dateTimeEntry component in the applicant.xhtml composition has an ace:ajax child component that looks like this:

      <ace:ajax execute="@this" render="dateOfBirthField" />
      

      According to the documentation for ace:dateTimeEntry, there are two client events that are supported:

      • dateSelect
      • dateTextChange

      The behavior that we're seeing at this time is that when ace:ajax does not specify an event attribute, that the default event is "dateSelect", meaning, we see an ajax partial request happening when the user selects a date from the popup calendar.

      But in order to make the icefaces3-portlet behave in a way that resembles the jsf2-portlet, it is necessary to instruct ICEfaces to invoke the ajax partial request for both events, like this:

      <ace:ajax event="dateSelect" execute="@this" render="dateOfBirthField" />
      <ace:ajax event="dateTextChange" execute="@this" render="dateOfBirthField" />
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.0.2-legacy-ga3
                liferay-faces-3.0.2-ga3
                liferay-faces-3.1.2-ga3