Not sure if I'm addressing your inquiry but here's
what I noticed about OMTool...

Look in TurbineResources.properties.

In the section for registering "pull tools" you should
find OMTools commented out.  I haven't tried it but, I
assume you can uncomment and use the tool within your
templates - see the javadoc for available methods.

Terry

--- Mooslechner Martin <[EMAIL PROTECTED]>
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]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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

Reply via email to