> 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

Reply via email to