Wicket
  1. Wicket
  2. WICKET-4389

Is there any use for EmptyAjaxRequestHandler?

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5, 6.0.0-beta1
    • Component/s: wicket
    • Labels:
    • Environment:
      any

      Description

      Hi,

      While trying to learn more about new request cycle implementation I came across class EmptyAjaxRequestHandler. Unless my IDE is fulling me somehow, this class does not seem to be referenced anywhere else on the code. Is it meant to have some use for framework users? If so, a bit of explanation on java doc would be nice.

      Regards,

      Ernesto

        Activity

        Ernesto Reinaldo Barreiro created issue -
        Martin Grigorov made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Task [ 3 ]
        Hide
        Martin Grigorov added a comment -

        It is not used anymore internally by Wicket anymore but may be used by user applications. For example if an application do not want to return error/failure state in Ajax response then it can return this IRequestHandler in IRequestCycleListener#onException().

        EmptyAjaxRequestTarget was used in the request handling code in 1.4.x but it is no more in use with the new impl in 1.5.x

        Show
        Martin Grigorov added a comment - It is not used anymore internally by Wicket anymore but may be used by user applications. For example if an application do not want to return error/failure state in Ajax response then it can return this IRequestHandler in IRequestCycleListener#onException(). EmptyAjaxRequestTarget was used in the request handling code in 1.4.x but it is no more in use with the new impl in 1.5.x
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 1.5.5 [ 12319052 ]
        Fix Version/s 6.0.0 [ 12315431 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Ernesto Reinaldo Barreiro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development