ICEfaces
  1. ICEfaces
  2. ICE-5720

New singleSubmit feature for ACE components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Sparkle components / JSF 2.0
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      For ICEfaces 2.0 Sparkle components we require a successor to the ICEfaces 1.8 components "partialSubmit" feature to allow ease of validation and processing of form elements as they are entered by the user.

      Current thinking is to have a "partialSubmit/singleSubmit/autoSubmit" boolean attribute on each input component. When set to 'true', a value change on that component would submit the form that the component resides in with the equivalent of an f:ajax "execute=this, render=all".

      The intention is to have validation and processing be performed on that input component alone, while rendering the whole component tree so that any other components who's state's may change as a result of the value change on the component (e.g. message component) are rendered.

      It is not clear at this time of this alone will be sufficient, as there is a concern that any validation error messages from previous autoSubmits may be lost when a subsequent autoSubmit occurs on a different component, as even though the original component may remain in an invalid state, without being executed no events would fire to populate the messages components, etc. It may be necessary to also provide an enhanced version of the messages components that would cache previous messages and remove them if the source component was either no longer in the component tree, there but not rendered, or no longer invalid.

        Issue Links

          Activity

            People

            • Assignee:
              Mark Collette
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: