Wicket
  1. Wicket
  2. WICKET-4035

Allow to set the property type in ISortState

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC7
    • Fix Version/s: 6.0.0-beta1
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      Currently sort state property can be defined only as a String that seems to be not suitable for use with typesafe query builders like QueryDSL (its most probably the same for JPA 2.0). It might be better to have e.g. ISortState<T>, where T would be the type of the property. This way the property could be an Expression instead of a String.

        Activity

        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Resolution Fixed [ 1 ]
        Hide
        Martin Grigorov added a comment -

        Improved with r1203581.
        Please check if more generification is needed.

        Show
        Martin Grigorov added a comment - Improved with r1203581. Please check if more generification is needed.
        Martin Grigorov made changes -
        Field Original Value New Value
        Fix Version/s 1.6.0 [ 12315431 ]
        Hide
        Martin Grigorov added a comment -

        API changes can be done as soon as 1.6.0.

        This change will need a change in ISortStateLocator too.

        Show
        Martin Grigorov added a comment - API changes can be done as soon as 1.6.0. This change will need a change in ISortStateLocator too.
        Peter Pastrnak created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Peter Pastrnak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development