Package com.google.code.lightssh.common.web.tag.table.model

Examples of com.google.code.lightssh.common.web.tag.table.model.CustomizeColumn


   * @param tableId 表标识符
   * @param username 操作用户名
   */
  public static List<IColumn> getDynamicCols(String tableId,String username){
    List<IColumn> cols = new ArrayList<IColumn>();
    cols.add( new CustomizeColumn("enabled","8") );
    cols.add( new CustomizeColumn("partyAffiliation","2") );
    cols.add( new CustomizeColumn("maritalStatus","1") );
    cols.add( new CustomizeColumn("credentialsType","3") );
    //cols.add( new CustomizeColumn("","") );
    return cols;
  }
View Full Code Here


                  for(String col:(String[])obj )
                    ids.add(col);
                 
                  int i=0;
                  for( String id:ids )
                    cols.add( new CustomizeColumn(id,String.valueOf(i++)) );
            }else if( obj instanceof Map ){ //参数为Map
              for(Object key:((Map<?,?>)obj).keySet() )
                cols.add( new CustomizeColumn(key.toString()
                    ,((Map<?,?>)obj).get(key).toString()) );
            }
           
            table.setDynamicCols(cols);
          }
View Full Code Here

TOP

Related Classes of com.google.code.lightssh.common.web.tag.table.model.CustomizeColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.