Class TriggerFragment
-
- org.apache.tapestry5.corelib.mixins.TriggerFragment
-
public class TriggerFragment extends
A mixin that can be applied to aCheckbox
orRadio
component that will link the input field and aFormFragment
, making the field control the client-side visibility of the FormFragment. See a full example withFormFragment
's documentation.Component Parameters Name Type Flags Default Default Prefix fragment org. apache. tapestry5. ClientElement Required, Not Null component The org.apache.tapestry5.corelib.components.FormFragment instance to make dynamically visible or hidden. invert boolean Since 5.2.0 prop If true then the client-side logic is inverted; the fragment is made visible when the checkbox is NOT checked. The default is false (the fragment is visible when the checkbox IS checked).
-
-
Constructor Summary
Constructors Constructor Description TriggerFragment()
-
-
-
Constructor Detail
-
TriggerFragment
public TriggerFragment()
-
-