Hi,
this ist my first post here :) and I need some advice:
I try to create a form with fieldset sections (not SectionItems) on it by stacking Dynamicforms using a vStack. I use the smartGWT library. Pseudocode looks like this:
	First thing I found out, is that the stacked forms get rendered as normal <form> Tags. So gracefully, we have about four separate forms here. Isn't this false behaviour? Shouldn't a form _insode_ a form be rendered without the <form> tag (items only)?
Now, if i try to submit the surrounding form, all items on forms "inside" are ignored. Secondly I tried the ValueManager pattern, which involves a quite complicated code structure to just avoid the false rendering of forms (beside its a cool feature though).
So, in conclusion:
- Is there any way of stacking forms without multiple <form> elements?
- Is there any _easy_ way of submitting stacked forms?
- Is there any _easy_ way of sectioning a form with fieldsets?
Possible Solutions:
- Tried to add "Canvas" items: No success, because FormItems cannot be added to canvases...
- FormItems cannot be added to FormItems...
- There is no "empty" Form (as an abstract class)...
BTW: I throughoutly searched the forum and discovered various threads handling this question. The only thread adressing this question directly was never answered...
					this ist my first post here :) and I need some advice:
I try to create a form with fieldset sections (not SectionItems) on it by stacking Dynamicforms using a vStack. I use the smartGWT library. Pseudocode looks like this:
Code:
	
	vStack stack = new vStack();
Dynamicform surroundingForm = new DynamicForm();
Dynamicform form01 = new DynamicForm();
form01.setIsGroup(true);
form01.setGroupTitle("foo");
Dynamicform form02 = new DynamicForm();
form02.setIsGroup(true);
form02.setGroupTitle("bar");
Dynamicform form03 = new DynamicForm();
form03.setIsGroup(true);
form03.setGroupTitle("fupp");
stack.addMember(form01);
stack.addMember(form02);
stack.addMember(form03);
surroundingForm.setFields(
  new FormItem[] {stack}
);
Now, if i try to submit the surrounding form, all items on forms "inside" are ignored. Secondly I tried the ValueManager pattern, which involves a quite complicated code structure to just avoid the false rendering of forms (beside its a cool feature though).
So, in conclusion:
- Is there any way of stacking forms without multiple <form> elements?
- Is there any _easy_ way of submitting stacked forms?
- Is there any _easy_ way of sectioning a form with fieldsets?
Possible Solutions:
- Tried to add "Canvas" items: No success, because FormItems cannot be added to canvases...
- FormItems cannot be added to FormItems...
- There is no "empty" Form (as an abstract class)...
BTW: I throughoutly searched the forum and discovered various threads handling this question. The only thread adressing this question directly was never answered...