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
[
http://community.jboss.org/message/535968#535968]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]