6 Replies Latest reply: Sep 4, 2013 7:26 AM by nitesh K RSS

    How to Call Refresh Method

    Nagaraju19

      Hello...

      This is my code. How to Call REFRESH method in this code

      Can anyone help me in this......?

       

       

      package sample.view;

       

       

      import javax.faces.event.ActionEvent;

       

       

      public class Student {

          public Student() {

              super();

          }

          private String name;

          private String id;

          private String course;

       

       

          public void setName(String name) {

              this.name = name;

          }

       

       

          public String getName() {

              return name;

          }

       

       

          public void setId(String id) {

              this.id = id;

          }

       

       

          public String getId() {

              return id;

          }

       

       

          public void setCourse(String course) {

              this.course = course;

          }

       

       

          public String getCourse() {

              return course;

          }

       

       

          public void dosubmittoActionisterner() {

              // Add event code here...

              System.out.println(getName() + " " + getId() + " " + getCourse());

       

       

          }

       

       

        

       

       

          public void dorefershActionlistener(ActionEvent actionEvent) {

              // Add event code here...

       

       

       

       

                            

          }

      }