This content has been marked as final.
Show 4 replies
-
1. Re: Value found for In attribute has the wrong type
gavin.king Apr 19, 2006 12:44 PM (in response to kunaalv)What are you injecting UserFacadeBean *into* ?
-
2. Re: Value found for In attribute has the wrong type
kunaalv Apr 19, 2006 12:55 PM (in response to kunaalv)We are trying to inject UserFacadeBean into a JSF. i.e. Using it as a BackingBean for the JSF.
Below is the JSF code: -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <html> <head> <title>Release 4 Home</title> </head> <BODY bgColor="#94aade"> <f:view> <h:form> <h:outputText value="Hello Everybody"/> <h:commandButton type="submit" id="cmdbut" value="Create a user " action="#{UserFacadeBean.getResultCode}"/> <p>Should see a value below</p> <h:outputText value="#{UserFacadeBean.resultCode}"/> <p>Did u see something</p> </h:form> </f:view> </BODY> </html>
-
3. Re: Value found for In attribute has the wrong type
gavin.king Apr 19, 2006 1:06 PM (in response to kunaalv)I think you have some kind of classloading problem, or something. Have you *exactly* followed the dir stucture / build scripts of the example apps?
-
4. Re: Value found for In attribute has the wrong type
kunaalv Apr 21, 2006 7:54 AM (in response to kunaalv)You were right, it was the structure of the WAR file which was causing the problem. Once i corrected it so it was the same as your examples, it sorted itself out.
Thank you