Package org.zkoss.stateless.ui.util
Class ActionHelper
java.lang.Object
org.zkoss.stateless.ui.util.ActionHelper
A helper class for
Action- Author:
- jumperchen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
ActionHelper
public ActionHelper()
-
-
Method Details
-
wireAction
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
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.
-