change dropdown to populate textfield in jsf

sourabhi Source

I have two variables in my bean-id and name.On my JSF page I have two fields id and name.ID will be a dropdown.When I change the value in id it should automatically display value in name field. Both these values should be set in my object when I click on save. Any pointers to how this could be achieved?



comments powered by Disqus