FileDocCategorySizeDatePackage
WebTableTag.javaAPI DocExample2363Mon Jul 23 13:26:48 BST 2007org.apache.struts2.views.jsp.ui.table

WebTableTag

public class WebTableTag extends org.apache.struts2.views.jsp.ui.ComponentTag
see
WebTable

Fields Summary
private static final long
serialVersionUID
protected String
sortOrder
protected String
modelName
protected boolean
sortable
protected int
sortColumn
Constructors Summary
Methods Summary
public org.apache.struts2.components.ComponentgetBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)


            
        return new WebTable(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();

        WebTable table = (WebTable) component;
        table.setSortOrder(sortOrder);
        table.setSortable(sortable);
        table.setModelName(modelName);
        table.setSortOrder(sortOrder);
    
public voidsetModelName(java.lang.String modelName)

        this.modelName = modelName;
    
public voidsetSortColumn(int sortColumn)

        this.sortColumn = sortColumn;
    
public voidsetSortOrder(java.lang.String sortOrder)

        this.sortOrder = sortOrder;
    
public voidsetSortable(boolean sortable)

        this.sortable = sortable;