Hello all!
I'm using jfreechart and cewold to plot some data on screen. The problem is
that cewolf expects a producer class for the data, so I'm not using
actionbeans.
My solution, after peeking on my log file, was to do something like this:
try{
Stripersist.requestInit();
PlotDao plotdao = new PlotDaoImpl();
List<Plot> plot = plotdao.findByName("descricao",
(String)params.get("type"));
log.debug(plot);
} finally {
Stripersist.requestComplete();
}
haven't checked throughly, but the code seems to work.
My question is what should I catch? There is no catch statement in this try
and I think it would be better if I catched the errors..
cheers!
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users