> > AuthorMapBuilder.java:15: no interface expected here
> > public class AuthorMapBuilder extends MapBuilder
>
> This should definitely be:
>
> public class AuthorMapBuilder implements MapBuilder
Are you sure about this? If I do that, I get the following
error messages:
public class AuthorMapBuilder implements MapBuilder
^
AuthorMapBuilder.java:51: cannot resolve symbol
symbol : variable dbMap
location: class com.sonda.bancos.om.library.map.AuthorMapBuilder
dbMap = DBBroker.getInstance().getDatabaseMap(DBBroker.DEFAULT);
^
AuthorMapBuilder.java:52: cannot resolve symbol
symbol : variable dbMap
location: class com.sonda.bancos.om.library.map.AuthorMapBuilder
dbMap.addTable(getTable());
^
AuthorMapBuilder.java:53: cannot resolve symbol
symbol : variable dbMap
location: class com.sonda.bancos.om.library.map.AuthorMapBuilder
TableMap tMap = dbMap.getTable(getTable());
^
4 errors
Basically, the dbMap symbol is not defined anywhere. That's
why I tried extending TurbineMapBuilder instead of
implementing MapBuilder (and that's why I had to change
dbMap in TurbineMapBuilder from private to protected).
Maybe I should add a dbMap to my own MapBuilder classes?
Now, my REAL problem is: my code just doesn't work (when
extending TurbineMapBuilder, that is)... I added the
following lines to one of my screens:
Criteria crit = new Criteria();
crit.add(BookPeer.id, 0, " > ");
Vector books = BookPeer.doSelect(crit);
but the minute I try to add the BookPeer.id to the criteria,
the whole thing hangs. I have a Log() on entering and exiting
this screen, and I see TWO logs for entering and NONE for
exiting... The browser screen just remains blank, and the little
world stops rotating, indicating that the server answered the
browser.
Any suggestions?
> By the way - I should probably have
> mentioned this earlier - you can check out
> NewGenerateMapBuilderTask.txt in the
> docs directory. This was the doc for the utility that gave
> birth *OMGenerator.
> It's a bit outdated but a lot of stuff is still valid. I
> need to redo the whole
> thing soon....
I would REALLY appreciate some hand holding here...
Thanks,
> ~ Leon
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]