All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.archive.simple.table.vm Maven / Gradle / Ivy

Go to download

WebWork is a Java web-application development framework. It is built specifically with developer productivity and code simplicity in mind, providing robust support for building reusable UI templates, such as form controls, UI themes, internationalization, dynamic form parameter mapping to JavaBeans, robust client and server side validation, and much more.

The newest version!
#set($webTable=$tag)
#set($tableModel=$webTable.Model)


#if($tableModel)
		

#* Show the visible column names. Use the display name that can be set in the jsp. *# #foreach($curColumn in $webTable.Columns) #if($curColumn.isVisible()) #end #end #foreach($curRow in $webTable.RowIterator) #foreach($curColumn in $curRow) #end #end
#if($webTable.isSortable())
$curColumn.DisplayName
#if(($webTable.sortColumn == $curColumn.offset) && ($webTable.sortOrder == 'ASC')) #else #end
#if(($webTable.sortColumn == $curColumn.offset) && ($webTable.sortOrder == 'DESC')) #else #end
#else $curColumn.DisplayName #end
$curColumn

#end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy