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

John Bailo do-not-reply at jboss.com
Tue Apr 6 20:39:57 EDT 2010

John Bailo [http://community.jboss.org/people/jabailo] replied to the discussion

"Initializing a Managed Bean's Property"

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

I do have a default value set.

The value is a connection to a server...that is used in a method when making a connection to the server.  (LDAP).

I was hoping that at the time my JSF page called the bean, it would have read in the default values and be able to use them in executing the method called by JSF.   But that doesn't appear to be the case.

I was looking for something like a properties file that is read on instantiation.  Again it seems like manged properties of the managed bean would do this -- but I am not sure at what point the bean is instantiated and what is required to get the default value read into the bean.  From what I read it seemed like it should just happen automatically once I established the managed property and added a default value. 


Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

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

More information about the jboss-user mailing list