Announcement Announcement Module
Collapse
No announcement yet.
Jsf integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jsf integration

    hi
    I'm integrating JSF(richfaces), Spring & Hibernate.
    I got stuck with the scenario like i need to pass parameters from JSF to Spring.
    the scenario is like i hav a property called 'username'
    where i defined a POJO for it as
    'LoginPojo.java'
    public class LoginPojo{
    private String userName;
    public String getUserName() {
    return userName;
    }

    public void setUserName(String userName) {
    this.userName = userName;
    }
    }
    and the implementation in other class 'LoginBean.java'
    i'm sending the parameter from 'login.jsp' to #(LoginBean.validuser) via action atrribute of submit button
    and specifying the variable as #(LoginPojo.userName)
    How to access the variable in 'LoginBean.java' class?
Working...
X