~~~~~~~~~~~~~~~~~~~~ Description The <<>> component renders the first child component by order or by index. ~~~~~~~~~~~~~~~~~~~~ Screen Shot Component does not render HTML, see example for more information. ~~~~~~~~~~~~~~~~~~~~ API *--+--+ component-family | javax.faces.Data *--+--+ component-type | org.apache.myfaces.UIRenderOne *--+--+ component-class | org.apache.myfaces.custom.renderOne.UIRenderOne *--+--+ tag-class | org.apache.myfaces.custom.limitrendered.UIRenderOneTag *--+--+ ~~~~~~~~~~~~~~~~~~~~ Usage +--------+ ... +--------+ ~~~~~~~~~~~~~~~~~~~~ Syntax * \ <<>> [first|index] - How the child should be shown. If first, the first rendered child will be shown. If index, the child with the given index will be rendered. Default: 'first'. <<>> - is used only if the type if 'index' to determine the child index to display. It is zero-based. ~~~~~~~~~~~~~~~~~~~~ Examples * type == first Because the defaults are 'first', if no attributes are specified, only the first child that is rendered will be rendered. "A" will be rendered: +----+ +----+ Only "A" will be rendered. +----+ +----+ Only "B" will be rendered. +----+ * type == index If the value is null, the first component will be shown. +----+ +----+ Only "A" will be rendered. +----+ +----+ Only "B" will be rendered. ~~~~~~~~~~~~~~~~~~~~ See the example code for more information.