Hi Tapestry users,

Does anyone have any good use cases for the "any" component?

  
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Any.html

So far I have only come up with two:

1) When you want to dynamically output a different HTML element
depending on a property. This seems to be how the AjaxFormLoop
component uses it.

        <t:any t:id="addRowWrapper" element="prop:element" ... >

2) When you want to use a mixin on an ordinary HTML element. This
seems to be how the BeanDIsplay, GridRows and Palette components use
it.

        <td t:id="column" t:type="any" t:mixins="NotEmpty,renderNotification">

Anything else, anybody?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to