Bruno, Thanks for your response. I did as you suggested and changed the return type to void but that didn't work. Any other ideas? I have had it. It seems like the button is not listening for the event? I converted the code to use a tomahawk button instead and the event fires no problem???
Pat ============================================= Patrick Breen Web Software Developer, Corporate Systems Johnson Inc. Phone..: (709) 737-1173 Email....: [email protected] ============================================= Quote of the month... I have often repented speaking, but never of holding my tongue. Xenocrates Bruno Aranda <[email protected]> 08/10/2009 01:31 PM Please respond to "MyFaces Discussion" <[email protected]> To MyFaces Discussion <[email protected]> cc Subject Re: no events firing - trinidad??? public String putOneBack(ActionEvent e){ should be public void putOneBack(ActionEvent e){ Cheers! Bruno 2009/10/8 <[email protected]> I have the most primitive program here and I cannot for the life of me understand why a commandbutton in trinidad won't work. Am I missing some congiguration? Here is the code??? <f:view> <tr:form id="a222b"> <tr:commandButton text="Put One Back" actionListener="#{quantityBean.putOneBack}"> </tr:commandButton> </tr:form> </f:view> public class QuantityBean { private int quantity=-1; public int getQuantity() { return quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } public String putOneBack(ActionEvent e){ System.out.println("QuantityBean.putOneBack()"); quantity--; return "success"; } } ============================================= Patrick Breen Web Software Developer, Corporate Systems Johnson Inc. Phone..: (709) 737-1173 Email....: [email protected] ============================================= Quote of the month... I have often repented speaking, but never of holding my tongue. Xenocrates

