Package com.sun.faces

Examples of com.sun.faces.CustomerBean


        assertTrue("passed".equals(valueExpression.getValue(getFacesContext().getELContext())));

        request.removeAttribute("testBean2");
        request.removeAttribute("customerBean");
        valueExpression = this.create("testBean2.customerBean");
        CustomerBean cb = new CustomerBean();
        cb.setName("bill");
        valueExpression.setValue(getFacesContext().getELContext(), cb);
        testBean = (TestBean) request.getAttribute("testBean2");
        assertNull(request.getAttribute("customerBean"));
        assertNotNull(testBean);
        cb = testBean.getCustomerBean();
        assertEquals("bill", cb.getName());
    }
View Full Code Here

TOP

Related Classes of com.sun.faces.CustomerBean

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.