You need to use tr:document or trh:body in all of your pages. Not sure if that is your problem, but Trinidad pages will not work without one of those components.
On Tue, Oct 19, 2010 at 3:34 PM, Adam R Rice <[email protected]> wrote: > 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. > > index.jsp > <f:view> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1"> > <meta content="no-cache" http-equiv="Cache-Control" /> > <meta content="no-cache" http-equiv="Pragma" /> > <title>Tracking</title> > </head> > <body style="height: 100%"> > <tr:form> > <tr:commandButton action="#{trackingBean.update}" /> > </tr:form> > ........ > > > TrackingBean.java > 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. > > > Regards, > Adam Rice > > > ________________________________ > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > >
