Andrew,

I don't know the subform sandbox component specifically
(just the Trinidad component that partly inspired it);  but I
suspect that components that are outside of any subform
will always process.  Components that are in a subform
other than the one that was submitted will not.

-- Adam


On 6/13/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
I attempted to use the subForm sandbox component with absolutely no luck.

I had a page like:

<f:form>
  <t:panelGrid>
    <t:panelGroup>
      <t:inputText required="true"><f:validateLength minimum="15"
maximum="30"/></t:inputText>
    </t:panelGroup>
    <t:panelGroup>
      <s:subForm id="clickMeForm">
        <t:commandLink value="clickMe" />
      </s:subForm>
    </t:panelGroup>
  </t:panelGrid>
</f:form>

When I click the command link, I get validation errors from the input
text outside of the subform. Correct me if I am wrong, but I thought
the whole point of the subform was to stop validation and updating
outside of that component.

What am I doing wrong?

Tomahawk 1.1.2
Sandbox snapshot 2006-05-13

Thanks,
Andrew

Reply via email to