That tool does not work. 

john mcnally

Mooslechner Martin wrote:
> 
> Hi,
> 
> i implemented an ApplicationTool for retrieving data from the database the
> other day.
> However today I saw that there is already a class in the TDK,
> org.apache.turbine.om.OMTool,  which should do a similiar job. However I'm
> not sure how to use this class.
> 
> At the CVS Repo I found:
> 
>         omMap = new HashMap();
>       String className = TurbineResources.getString("tool.om.factory");
>       //        RetrieverFactory omFactory =
>       //
> (RetrieverFactory)Class.forName(className).newInstance();
> 
> Questions:
> does it make sense to have these 2 lines commented? I will never have an
> omFactory class then, thus never be able to retrieve the om classes.
> 
> or did I get something wrong here?
> 
> --
> 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