Don't want to beat a dead horse, but I wanted some advice now that I am
moving to T2.2 on what path to take..
I too get this error:
javac.compile:
    [javac] Compiling 4 source files to C:\kinaseprofiler\target\classes
    [javac]
C:\kinaseprofiler\src\java\com\upstate\kinaseprofiler\modules\action
s\ListWorkorders.java:99: incompatible types
    [javac] found   : org.apache.turbine.om.NumberKey
    [javac] required: org.apache.torque.om.NumberKey
    [javac]                             filterStatus =
data.getParameters().getN
umberKey( "filterStatus" );
    [javac]


Now,  I was thinking of doing a hack and writing
TurbineHack.translateNumberKey(o.a.turbine.om.NumberKey) and returning my
torque number key, but instead of doing the hack, I would like to help solve
the problem...

Obviously I could just change the value parser, however, would there be
interest in providing a TorqueParameterParser or Turbine22ParameterParser,
and changing the line in TR.props:

services.RunDataService.default.parameter.parser=org.apache.turbine.util.par
ser.DefaultParameterParser

This would be useful then for people who don't use the coupled version of
Torque...  I don't know what the implications on Intake and security are..
I don't use them because of the pain of two versions that I have heard
about!

I guess I'm basically looking for guidence, and the go ahead that work that
I do will get into CVS....

Eric Pugh





-----Original Message-----
From: Eric Dobbs [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 11:49 AM
To: Turbine Users List
Subject: Re: Using NumberKeys: Conflict between built-in and decoupled
Torque in Turbine 2.2b1


On Monday, June 3, 2002, at 07:14  AM, Marc-Antoine Parent wrote:

> it invokes a org.apache.turbine.util.parser.BaseValueParser (possibly
> actually a DefaultParameterParser) which only knows about
> org.apache.turbine.om.NumberKey...

The DefaultParameterParser is also the culprit for the
coupling with the old upload service that Scott
mentioned.

-Eric

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to