JSF的问题

05-02-02 lvf20
JSF的EA4版本与1.1版本差别很大,小弟按照EA4的教科书写了一个例子

private static Application getApplication() {

ApplicationFactory appFactory = (ApplicationFactory)FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);

return appFactory.getApplication();

}

private static ValueBinding getValueBinding(String valueRef){

return getApplication().getValueBinding(valueRef) ;

}

}

就是要取出javabean的属性,可是application的getValueBinding()方法在1.1中没了,替代方法是什么?有哪位大大会请帮忙

猜你喜欢