Package org.zkoss.stateless.ui.util
Class ActionHelper
- java.lang.Object
-
- org.zkoss.stateless.ui.util.ActionHelper
-
public class ActionHelper extends java.lang.ObjectA helper class forAction- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description ActionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwireAction(StatelessComposer composer, IStubComponent iStubComponent)Wires the method action handlers from the givencomposerinto each matched component, which is found by finding withAction.from().static voidwireAction(StatelessRichlet richlet, IStubComponent iStubComponent)Wires the method action handlers from the givenrichletinto each matched client widget.
-
-
-
Method Detail
-
wireAction
public static void wireAction(StatelessRichlet richlet, IStubComponent iStubComponent)
Wires the method action handlers from the givenrichletinto each matched client widget.- Parameters:
richlet- The lookup richletiStubComponent- The root component(s) that's built byrichlet'sRichletMapping.
-
wireAction
public static void wireAction(StatelessComposer composer, IStubComponent iStubComponent)
Wires the method action handlers from the givencomposerinto each matched component, which is found by finding withAction.from().- Parameters:
composer- The lookup composeriStubComponent- The root component that's built bycomposer.
-
-