You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Colin Chalmers <co...@maxware.nl> on 2001/03/31 14:48:51 UTC

Velocity + Torque generated classes

Hi guys,

I used Torque to generate a load of classes to access my Database. When I
use Kawa I can access the DB updating records etc as expected :-))

We now want to present information from the DB on screen using the same
generated classes, unfortunately things are not working 100% :-(

I do get the correct number of objects in the template engine but instead of
presenting the data I get

$foo.getName()

on the screen. I thought it may have something to do with the fact that the
template engine can't find the specific (foo) class I'm looking for, as in

foreache ($foo in $foolist)

I therefore tried to add

com.foo.om

to the TurbineResources by the module.packages but as of yet still the same
response.

Any tips?

/Colin


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org