In this case, I am not using decorators. The application is very simple,
display training events in a table with several columns sortable by
users (location and course subject being key). The catalog bean in
session scope has 5 fields to display, all strings. 

The jsp fragment is simple. Apologies for wrapping.

<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/display" prefix="display" %>

<%-- $Id: course_catalog_body.jsp,v 1.12 2003/10/14 03:16:25 bgsmith Exp
$--%>

<div id="main_content">
   <h1><bean:message key="button.course"/></h1>
   <p></p>
   <display:table name="courseCatalog" scope="session" class="training"
requestURI="/training/do/courses/course-catalog">
      <display:column property="courseName" title="Course Title"
sortable="true"/>
      <display:column property="audienceList"
title="Audience"sortable="true"/> 
      <display:column property="courseFormat" title="Format"/>
      <display:column property="prereqsList" title="Prerequisites"
sortable="true"/>
   </display:table>
</div>  
<p></p>
<html:link href="/training/jsp/main/filter.jsp"><strong><bean:message
key="button.filterLoc"/></strong></html:link>

Brad

On Tue, 2003-10-14 at 14:50, Fabrizio Giustina wrote:
> There is actually an open bug regarding sorting while using table
> decorators. An easy fix is proposed on sf, but I'd like to see if there
> is a more clean solution before applying that one. 
> Are you using table decorators?
> 

-- 
Brad Smith <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to