0 Replies Latest reply on Jun 20, 2009 5:33 PM by aj910martin

    Event Listener

    aj910martin

      Hi,
      As I am new to this seam development, I am not able to implement a web page in which a click of a button reports a particular user. It should be like this...



      user1  -  button1
      user2  -  button2
      user3  -  button3
      ..
      ..


      The list of users is being made available from a normal java Bean whose instance in stored in a HashMap.Its like,


      class MapInstance - JavaBean (has a function getUserName())
      class MapInstanceHandler - has a private HashMap to store the various instances of MapInstance


      Therefore on the click of the button I should be able to retrieve the username which was clicked.


      Let me know how to dynamically generate this page and corresponding Java class that will handle the event when the user clicks. Also let me know about online tutorials.


      Thanks.