Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.corelib.mixins
Class TriggerFragment

    java.lang.Object
      org.apache.tapestry5.corelib.mixins.TriggerFragment

    public class TriggerFragment

extends java.lang.Object

A mixin that can be applied to a `Checkbox` or `Radio` component that will link the input field and a `FormFragment`, making the field control the client-side visibility of the FormFragment. See a full example with `FormFragment`'s documentation.

Component Parameters
Name | Description | Type | Flags | Default | Default Prefix | Since
--- | --- | --- | --- | --- | --- | ---
fragment | The org.apache.tapestry5.corelib.components.FormFragment instance to make dynamically visible or hidden. | org.apache.tapestry5.ClientElement | Required, Not Null |  | component |
invert | 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). | boolean |  |  | prop | 5.2.0

Constructor Summary
`TriggerFragment()`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TriggerFragment

    public TriggerFragment()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.