ICEfaces
  1. ICEfaces
  2. ICE-9161

fileEntry form submit work with Mojarra 2.1.21

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Mojarra 2.1.21 (greater than 2.1.19, so maybe 2.1.20 as well)
    • Assignee Priority:
      P1

      Description

      New code in the Mojarra javascript needs the request context element to exist.

        Activity

        Hide
        Mark Collette added a comment -

        The ViewState updating was not working due to this mojarra javascript getting an exception, since we were not supplying the context.element:

        stateForm = getFormForId(context.element.id);

        This had a side-effect of blocking the javascript evals from working, since anything after the ViewState updating wouldn't happen.

        With context.element being set to the form, similarly to how context.sourceid is the form's id, it now works.

        icefaces3 trunk
        Subversion 34356

        Show
        Mark Collette added a comment - The ViewState updating was not working due to this mojarra javascript getting an exception, since we were not supplying the context.element: stateForm = getFormForId(context.element.id); This had a side-effect of blocking the javascript evals from working, since anything after the ViewState updating wouldn't happen. With context.element being set to the form, similarly to how context.sourceid is the form's id, it now works. icefaces3 trunk Subversion 34356

          People

          • Assignee:
            Mark Collette
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: