myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [trinidad] tr:iterator
Date Mon, 16 Jun 2008 21:10:32 GMT
On Mon, Jun 16, 2008 at 11:44 AM, Zigc Junk <zigcjunk@gmail.com> wrote:
> 1. It looks to me that tr:forEach is not available anymore. Whenever I
> use it, I got an exception.

what type of an exception are you getting ?
It is available in trunk:
-http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/tr-base.tld?revision=620427&view=markup
-http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ForEachTag.java?revision=605856&view=markup

-Matthias

>
> 2. tr:selecteBooleanRadio works fine.
>
> Thanks for the help.
>
> Bill
>
> On Mon, Jun 16, 2008 at 1:10 PM, Matthias Wessendorf <matzew@apache.org> 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 <zigcjunk@gmail.com> 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
>>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Mime
View raw message