Skip to Content
author's profile photo Former Member
Former Member

New sort order is not updated in view (HTMLB table)

Hi everybody,

I need a table which I can sort when clicking on the corresponding table header. To do so I use Max Vilen's code snippet (see functionality-to-dynamically-sort-tableview-column) which looks fine.

The problem now is that the new sort order is not displayed in the iView. When I dump the content of my table model into the log (during doProcessBeforeOutput()), it seems to be fine. The entries are sorted alphabetically (A, B, Z), but unfortunately the HTML output still reads A, Z, B.

It seems to me that the SortTableModel works fine but somehow the HTML output does not reflect that. Could it be that the JSP page still accesses old/stale data(bean) ? Any hint is appreciated.

Thnx / Cheers


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 02, 2005 at 03:41 PM

    Hi Heiko,

    seems that your bean is not updated with the updated / sorted model!?

    If this hint doesn't lead you to the solution, please provide the concerned JSP fragments as well as the fragments of the JSPDynPage.

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.