Class ActionHelper

java.lang.Object
org.zkoss.stateless.ui.util.ActionHelper

public class ActionHelper extends Object
A helper class for Action
Author:
jumperchen
  • Constructor Details

    • ActionHelper

      public ActionHelper()
  • Method Details

    • wireAction

      public static void wireAction(StatelessRichlet richlet, IStubComponent iStubComponent)
      Wires the method action handlers from the given richlet into each matched client widget.
      Parameters:
      richlet - The lookup richlet
      iStubComponent - The root component(s) that's built by richlet's RichletMapping.
    • wireAction

      public static void wireAction(StatelessComposer composer, IStubComponent iStubComponent)
      Wires the method action handlers from the given composer into each matched component, which is found by finding with Action.from().
      Parameters:
      composer - The lookup composer
      iStubComponent - The root component that's built by composer.