com.icesoft.faces.facelets.component.util

## Class SubmitStrategy

- java.lang.Object
- - com.icesoft.faces.facelets.component.util.SubmitStrategy

-     public class SubmitStrategy
      extends java.lang.Object

  This class is a utility class for determining if a Component is within a component hierarchy of components that has singleSubmit enabled. When the new ICEfaces 2.0 SingleSubmit component is present older ICEfaces compat components that enable partial submit will not longer work as expected.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.logging.Logger` | `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SubmitStrategy()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isPartialSubmit()` The submit mode of the calling component.
    `boolean` | `isSingleSubmit()` The submit mode of the calling component.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### logger

          protected final java.util.logging.Logger logger

  - ### Constructor Detail

    - #### SubmitStrategy

          public SubmitStrategy()

  - ### Method Detail

    - #### isSingleSubmit

          public boolean isSingleSubmit()

      The submit mode of the calling component.
      Returns:
        true if singleSubmit is enabled, false otherwise.

    - #### isPartialSubmit

          public boolean isPartialSubmit()

      The submit mode of the calling component.
      Returns:
        false if singleSubmit is enabled, true otherwise.

Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.