You can add a customizerBean to the Dynamic View Panel. A customizerBean is a Java bean that extends DominoViewCustomizer which makes it possible to control the rendering of the view.
See http://frostillic.us/?p=274 for more inspiration and links to an actual example of a customizerBean.