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] SelectManyShuttle NullPointerException and Understanding
Date Wed, 15 Aug 2007 16:04:26 GMT
filed issue:

https://issues.apache.org/jira/browse/TRINIDAD-627

will address tomorrow, if someone is not faster

-M

On 8/15/07, Matthias Wessendorf <matzew@apache.org> wrote:
> jup,
>
> will fix it.
>
> On 8/15/07, Adam Winer <awiner@gmail.com> wrote:
> > On 8/15/07, Matthias Wessendorf <matzew@apache.org> wrote:
> > > your shuttle isn't included in a
> > > form
> > >
> > > <tr:form>
> > > <tr:selectManyShuttle leadingHeader="Not Selected"
> > > trailingHeader="Selected" value="#{detailsBean.selected}">
> > > <f:selectItems value="#{detailsBean.all}" />
> > > </tr:selectManyShuttle>
> > > </tr:form>
> > >
> > > that's the NPE.
> >
> > Nothing should NPE like that when you're not in a form.
> > If a component absolutely requires a form, it should log a warning
> > at the start of its encoding and return without rendering anything.
> >
> > --- Adam
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message