action components acting strangely
I have a commandLink and commandButton that are acting very strangely and I need some help. I have a page which is set up as follows:
html table
--
|| h:dataTable1 |
|html table |column:|
|-|commandLink|
|| bunch of inputs ||_|
||_|| h:dataTable2|
||_|
commandButton
As for the behavior of the page, clicking the commandLink in dataTable1 should populate dataTable2. It uses an action that returns null. The commandButton is supposed to save the changes to the inputs in the left of the outer table and also in dataTable2 (because it uses inputText for some of its columns). If i put each part of the outer table in its own form, the commandLink in the dataTable works properly but then i cant use one button to save the two parts because they are in seperate forms and both cannot be submitted by one button. Therefore, I tried putting the entire page in an h:form but when I do that, neither of the buttons call their action methods unless I set immediate="true". However this is an issue because then any input fields that have been changed are not updated. Besides adding immediate to all the input fields, is there anyway to fix this or does anyone know why this even happened in the first place?
Thanks a lot

