Package org.richfaces.demo.tree

Examples of org.richfaces.demo.tree.Library


    ValueExpression beanExpression = expressionFactory
    .createValueExpression(facesContext.getELContext(),
        "#{library}", Library.class);   
   
    Library library =  (Library)beanExpression.getValue(facesContext.getELContext());
    for (Song song : library.getSongsList()) {
      if (song.getId() == id){
        return song;       
      }
     
    }
View Full Code Here


import junit.framework.TestCase;

public class LibraryTest extends TestCase {
 
  public void testLibrary() {
    Library library = new Library();
    Iterator it = library.getChildren();
    assertTrue(it.hasNext());
  }
View Full Code Here

TOP

Related Classes of org.richfaces.demo.tree.Library

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.