DisplayTag

SortOrderEnum should be serialiable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.2
  • Component/s: Paging/Sorting
  • Labels:
    None
  • Application server:
    All

Description

SortOrderEnum is currently no serializable.
As used within a PaginatedList, It forbids to be put in Session (or anything related to serializable elements).

For example, SPring Web Flow requires serializables elements in flash or flow scope (or anything no request scope).
So I cannot use a PaginatedList as it references SortOrderEnum, not serializable.

The only thing smart here is the fact that SortOrderEnum is a JDK1.4 enum, and I don't know how it is managed within a clustered environment.

Just setting an 'implements java.io.Serializable' made the tricks on Jetty for developement purpose.

Regards,

Tom

Activity

Hide
fabrizio giustina added a comment -
Resolved in 1.2
Show
fabrizio giustina added a comment - Resolved in 1.2

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
30m
Original Estimate - 30 minutes
Remaining:
30m
Remaining Estimate - 30 minutes
Logged:
Not Specified
Time Spent - Not Specified