Should be able to specifiy behaviur of nested subforms.
-------------------------------------------------------

                 Key: TOMAHAWK-1202
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1202
             Project: MyFaces Tomahawk
          Issue Type: Improvement
          Components: SubForm
    Affects Versions: 1.1.6
            Reporter: David Waters


I would like the ability to specify that all enclosed subforms are also 
submitted.
so
...
<s:subform submitChildren="true" id="allSubForms">
        <s:subform id="a"> ... </s:subform>
        <s:subform id="b"> ... </s:subform>
        <s:subform id="c"> ... </s:subform>
        <s:subform id="d"> ... </s:subform>
</s:subform> <!-- close of allSubForms-->
<t:commandButton actionFor="allSubForms" />

This will be especially useful when you have subforms in a some form of 
iterator t:datatable or tr:iterator

e.g.

<s:subform submitChildren="true" id="allSubForms">
        <tr:iterator ...>
                <s:subform id="formForItem">... </s:subform>
        </tr:iterator>
</ssubform> <!-- close of allSubForms-->
<t:commandButton actionFor="allSubForms" />

Potentialy achived by adding SubForm.isParentSubbmitted which would be called 
in processValidators & processUpdates




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to