Hello everybody. First of all i would like to say that i got so much help in java in last few days, and would like to thanks everybody for their help.
Now to my question. I am very new to JSF...
I would like to know how can i read a value of input text from the managed bean. I know it is possible to read this way and it is very stright forward.
<h:inputText id="username" value="#{mylogin.username}" required="true" />
But what if lets say i have a value like
<h:inputText id="username" value="some_value" required="true" />
And i want to read this "some_value" in my managed bean. Is it possible ?
Another question is it possible to access to the session variables in managed bean or should i somehow pass them to there ?
Some basics code examples will be really great.
Thanks in advance.