Package org.richfaces.model.entity

Examples of org.richfaces.model.entity.File


          data = new LinkedHashMap();
          Project projectA = new Project("projectA", 10);

          Directory adir1 = new Directory("ADir1", 50);

          adir1.addFile(new File("AFile1", 60));
          adir1.addFile(new File("AFile2", 61));

          Directory adir2 = new Directory("ADir2", 101);

          projectA.addDirectory(adir1);
          projectA.addDirectory(adir2);
View Full Code Here


    }) {
      protected boolean isActiveData() {
        Map requestMap = externalContext.getRequestMap();
        Object object = requestMap.get("file");
        assertNotNull(object);
        File file = (File) object;
        if (file.getTag() == 61) {
          return false;
        }
       
        return super.isActiveData();
      }
View Full Code Here

TOP

Related Classes of org.richfaces.model.entity.File

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.