myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: [Trinidad] tr:selectManyShuttle
Date Tue, 11 Sep 2007 05:37:18 GMT
Do you see any Javascript errors?

(Also, you generally want a tr:document around the form, inside of the
<f:view>).

-- Adam


On 9/10/07, Reza Samoody <rsamoody@gmail.com> wrote:
>
> I'm trying to use a simple selectManyShuttle. It does not transfer the
> items between the lists.
> Do I need to define any backing bean or component for selectManyShuttle.
> here is the code:
>
>
> <html xmlns=" http://www.w3.org/1999/xhtml"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:h=" http://java.sun.com/jsf/html"
>       xmlns:tr="http://myfaces.apache.org/trinidad">
>
> <f:view>
> <tr:form>
>
>              <tr:selectManyShuttle id="shuttle1"
>                                  leadingHeader="l-header Available
> values:"
>                                  trailingHeader="t-header Selected
> values:"
>                                  label="label-Selected Values"
>                                  >
>                <tr:selectItem shortDesc="short desc The First Item"
> label="label First" value="value foo"/>
>                <tr:selectItem label="Second" value="bar"/>
>                <tr:selectItem label="Third" value="baz"/>
>                </tr:selectManyShuttle>
> </tr:form>
> </f:view>
> </html>
>

Mime
View raw message