I'm experiencing the same problem using a Conversation scoped action bean.
Neither commandButton, nor commandLink will function in the datatable structure, and both return an empty table without appearing to invoke the method to which they are linked.
After further investigation, it appears this is a "JSF" specific problem and not particular to Seam.
Apparently the default scope set to the underlying DataModel is what's causing my particular issue. If I set the scope on my @Datamodel manually (using the @Out annotation) to Session, or Conversation, the command button fires the method as expected.
In the CVS version, @DataModel gets its scope from the component that owns it (unless the component is STATELESS). This would always be correct.
Btw, make sure you are using a current CVS build of Seam. There were many bugfixes in this area.
I've used the latest CVS version, and still no success with the commandButton in a datatable, also set the scopetype to UNSPECIFED and PAGE as well as the default CONVERSATION for my SFSB
This is what i've done...
I've created in the footer of the columns inputfields a link and a submitbutton none of this worked. The link is used retrieve an object, inputfields for my object values and submitbutton for adding the object to the datamodels list
I'm sure this is not a JSF problem because it works well only using myfaces
Are there any solutions for this problem.
I guess I don't really understand. There are lots of examples of clickable links in the example apps.
Why not just start from something in one of the example apps, and work from there?
It's just when your datatable is wrapped inside a form button and link won't work anymore, why I don't know
when a datatable is not wrapped in a table links works fine but button and everything else is useless.
Is there an example of using a dataTable inside a form available in the provided samples?
Sure there are examples of that.
the examples work very well and I am so glad about your frameworks (hibernate+seam).
But I don't know why the commandLink will not work sometimes in the datatable! First i thought thats my incapability, but i see that some developers have this problem, too.
That's so strange! I work with the latest CVS and i posted this feature/bug a few month ago http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72404.
Since there I hoped for a solution...
I tried to isolate that bug with no success.
Has anyone a workaround for that problem?
Has anyone an idea?
my webapp will work when i add
to my animal-testapp.
janbols did it at his webapp...
jan can you take an unequivocal stand on that?