Indeed.
The error I got related to a Null-value, which gave me the
NumberConversionError (instead of a NPE - which is why I first thought
Longs were not supported)
Thanks Mathias,
-Wolf

On Jan 30, 2008 11:36 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> should work;
> it works like the <f:convertNumber type="number" />
> all clzzes that extend java.lang.Number are supported
>
> Please note, that Trinidad decorates the "default" converters
> for javax.faces.Long,.... in order to support client-side conversion
>
> -M
>
>
> On Jan 30, 2008 11:27 AM, Wolf Benz <[EMAIL PROTECTED]> wrote:
> > Hi List,
> >
> > Does anyone know whether <tr:convertNumber type='number'> works well
> > with java.lang.Long?
> > (of should I stick to <f:convertor convertorId="javax.faces.Long" />?)
> >
> > I'm asking as the Trinidad doc of the tag is not stated whether or not
> > longs are covered.
> > It says there's a 'type' attribute you can set to 'number', yet not
> > what types of numbers are covered.
> >
> > -Wolf
> >
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>

Reply via email to