maven - Converter class in sub-project not found in main project -
i'm working on large project consists of 10 sub-projects.
we're using eclipse development, jboss 7 app. server. our projects use jsf 2.1, spring 3.2, hibernate 4.2 , primefaces 3.3 jsf implementation.
there 2 "core" projects other projects references, , these projects referenced other 8 projects, , 1 project -let's project a- (of 8) references 1 -let's project b-.
now, problem is; project uses entities of "core" projects , project b includes jsf converters.
when try use entity in selectonemenu, "converter" not found error. (note: converters working!)
i added converter definition project b's faces-config.xml, still same error.
how can use converters other project?
thanks.
here "getasobject" method :
@override public object getasobject(facescontext facescontext, uicomponent uicomponent, string value) { if (value == null || value.trim().equalsignorecase("")) { return null; } return managedbeanlocator.locatesessioncontroller().findbyrid("akademikbirim", value); }
Comments
Post a Comment