myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam R Rice <>
Subject [Trinidad] tr:commandbutton issue
Date Tue, 19 Oct 2010 21:34:05 GMT
I have been trying to use the Trinidad command button to call a method in 
a bean but it doesn't seem to recognise that the method is there.

        <meta http-equiv="Content-Type" content="text/html; 
        <meta content="no-cache" http-equiv="Cache-Control" />
        <meta content="no-cache" http-equiv="Pragma" />
        <body style="height: 100%">
                <tr:commandButton action="#{trackingBean.update}" />
public String update()
        // do something;
        return "";

If I type '<tr:commandButton action="#{trackingBean.' and press Ctrl+Space 
the list of available methods does not show the update() method.

What else do I need to do to allow this method to be selected? I believe 
that the method signature is correct and there is no need to make any 
modifications to faces-config.xml.

Any help would be much appreciated.

Adam Rice

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

View raw message