Ok so in the example, it works. But my question then becomes, what is the defining factor that actually makes it work? I notice there is no use of the <h:form> tag in the dataTable.jsp. There is however a use of PanelLayout, but surely this couldn't make a difference?
It really seems like I'm missing something here, and maybe its something really obvious, or some sort of conflict, I don't know, but its driving me crazy! -----Original Message----- From: Adrian Merrall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 15 June 2005 3:48 PM To: MyFaces Discussion Subject: Re: Displaying and linking search results > This thought had actually occured to me, and as such I changed the scope, > however it had no effect. Is it possible theres some issue with having > commandlinks inside datatables? Yup. As a complete newbie to anything other than trivial servlets and JSP pages I struggled with this and found a lot of suggestions but none worked for me. Putting the backing bean into the session seemed to be the most common but that made no change. In the end I faithfully followed the list example webapp in the source package. Look at the examples web app and in particular the datatable.jsp and countryform.jsp files and their backing beans (IIRC the backing bean for datatable.jsp is SimpleCountryList.java). In the examples webapp, look under examples -> components -> master/detail example to see it in action. These examples used an x:datatable tag, and x:commandLink and an x:updateActionListener to ensure the request bean for the individual item you want to display is set for you. Once I pretty much made my code exactly the same as the example it worked very well. HTH Adrian

