cancel
Showing results for 
Search instead for 
Did you mean: 

add buttons to dialog?

targa2000
Champ in-the-making
Champ in-the-making
how can I add buttons to a jsp page or dialog and have the buttons execute different pieces of code?
1 REPLY 1

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
well you define method with parameter actionEvent in your bean

<h:commandButton actionListener="#{Bean.method}"></h:commandButton>