Question: Please help me out.I am battling since three days.

How to fetch value of a custom field to display it in post content area?

Answer: 
You should fix your bean name in jsf EL.I think you didn't give a name to your bean.Therefore in jsf EL, your bean name must start with lower case.It is jsf default.

Change `value="#{LoginBean.username}"` to `value="#{loginBean.username}"`
Make sure your bean has

1. The annotation `@ManagedBean` (make sure to use `import javax.faces.bean.ManagedBean;`)!
2. A public no-arg constructor
3. Getters and setters for `username` and `password`