Hi Bill, I could be wrong but I don't believe the tr:selectOneRadio accepts children that produce DOM. Also, the trh:rowLayout must be inside of a trh:tableLayout.
Instead of using tr:selectOneRadio, you may want to use multiple tr:selectBooleanRadio components. The selectBooleanRadio is more flexible in that it allows you to place it scattered across your page layout, e.g. into a tableLayout structure. http://myfaces.apache.org/trinidad/trinidad-1_2/trinidad-api/tagdoc/tr_selectBooleanRadio.html Regards, Matt On Mon, Jun 16, 2008 at 12:10 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hello, > > try tr:forEach. But I doubt that the trh tags will work > > -Matthias > > On Mon, Jun 16, 2008 at 8:48 AM, Zigc Junk <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a tr:tableLayout. Since the number of rows changes, I use >> tr:iterator to enclose tr:rowLayout. One of the columns contains radio >> buttons. Therefore, the markup looks like >> >> <tr:selectOneRadio value="#{AccountBean.selectedCreditCard}" >> required="yes"> >> <tr:iterator value="#{AccountBean.creditCards}" var="item"> >> <trh:rowLayout> >> <trh:cellFormat> >> <f:selectItem itemValue="#{item.id}"/> >> </trh:cellFormat> >> </trh:rowLayout> >> .......... >> </tr:iterator> >> </tr:selectOneRadio> >> >> The problem is the radio buttons does not show up. In other words, >> tr:iterator does not work inside tr:selectOneRadio. Please help. >> >> thanks >> >> Bill >> > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > mail: matzew-at-apache-dot-org >