[jboss-user] [JBoss Tools] - Initializing a Managed Bean's Property

Denis Golovin do-not-reply at jboss.com
Tue Apr 6 20:22:41 EDT 2010


Denis Golovin [http://community.jboss.org/people/dgolovin] replied to the discussion

"Initializing a Managed Bean's Property"

To view the discussion, visit: http://community.jboss.org/message/535966#535966

--------------------------------------------------------------
As it says here  http://www.oracle.com/technology/tech/java/newsletter/articles/jsf_pojo/index.html http://www.oracle.com/technology/tech/java/newsletter/articles/jsf_pojo/index.html, you need bean to be registered in faces config with default values. Then if you have a reference to it through EL expression somewhere on page it should just work.

But it is rather JSF runtime related question then JSF tooling support. JSF Tools could be helpful here if it would be able outguess problem you faced and warn you that your bean might be not initialized properly at some point for some reason. I'm not sure it is possible since there are no source snippets in your question.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/535966#535966]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100406/de5d7fec/attachment.html 


More information about the jboss-user mailing list