SortOrderEnum should be serialiable
-----------------------------------

                 Key: DISPL-533
                 URL: http://jira.codehaus.org/browse/DISPL-533
             Project: DisplayTag
          Issue Type: Improvement
          Components: Paging/Sorting
    Affects Versions: 1.1.1
            Reporter: Thomas Queste
             Fix For: 1.2


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to