It return a Number so try something like: ((Number) getTranslatedFieldSupport().parse(this, value)).intValue());
On 16/01/06, spm <[EMAIL PROTECTED]> wrote: > > Seeing that Numeric Field is deprecated...what do people use for an entry > field that can contain numerics only (such as customer number of length 10). > > I tried a translator but its trying to convert to Long...which is not what > I want. > Here is what I would like: > > > > > > > > > Like I said I tried the translator without success...should I write my own > validator? Someone must have done something similar already... > > Thanks! > > > -------------------- m2f -------------------- > > Sent from www.TapestryForums.com > > Read this topic online here: <<topic_link>> > > http://www.tapestryforums.com/viewtopic.php?p=13263#13263 > > -------------------- m2f -------------------- > > > > -- d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o)