At my work, we enhanced display tag with a couple of new features. Here is the list:

  1. Ability to use _javascript_ for the column header links for sorting. So we added the following property:

<display:setProperty name=”anchor.customHref” value=”_javascript_:doSubmit(‘’{0}’’);”/>

The {0} is replaced with the actual URL. And ‘’ is required by MessageFormat.format() to produce a single ‘

  1. A column-collection tag that allows for programmatic creation of ColumnTags from within Java code. This allows the user to select which column they want to view dynamically.

<column-collection name=”requestScope.columns”/>

 

We would really like to contribute these features back to displaytag because it might be helpful to others, and also it’ll be easier for us as well because the features would remain in future versions. I welcome comments on these features.

 

toby

_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to