ICEfaces
  1. ICEfaces
  2. ICE-5021

Create terse single-submit and full-submit functions

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Alpha1, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      supported browsers

      Description

      Create terse single-submit and full-submit functions to be used by ICEfaces components.
      Single-submit should serialize only the event together with the triggering element.
      Full-submit should serialize the entire form.

        Activity

        Hide
        Mircea Toma added a comment -

        Created full submit and single-submit functions.

        Full submit function
        ----------------------------------------------------------------
        ice.submit(event, element);
        ...or the alias
        ice.s(event, element)

        event - the event captured by the event handler
        element - the element owning the event handler
        ----------------------------------------------------------------

        Single submit function
        ----------------------------------------------------------------
        ice.singleSubmit(event, element);
        ...or the alias
        ice.ss(event, element)

        event - the event captured by the event handler
        element - the element owning the event handler
        ----------------------------------------------------------------

        Show
        Mircea Toma added a comment - Created full submit and single-submit functions. Full submit function ---------------------------------------------------------------- ice.submit(event, element); ...or the alias ice.s(event, element) event - the event captured by the event handler element - the element owning the event handler ---------------------------------------------------------------- Single submit function ---------------------------------------------------------------- ice.singleSubmit(event, element); ...or the alias ice.ss(event, element) event - the event captured by the event handler element - the element owning the event handler ----------------------------------------------------------------
        Hide
        Ted Goddard added a comment -

        This looks good – it's much shorter without the "form".

        What is the return value? Do we need false typically in the event handlers to stop event propagation?

        Show
        Ted Goddard added a comment - This looks good – it's much shorter without the "form". What is the return value? Do we need false typically in the event handlers to stop event propagation?

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: