Two things:

1. TurbineUser doesn't really use OM, so OMTool would not be of any use.
2. A long time ago I asked about OMTool and someone replied that it was
broken and was not going to be fixed.  Check the mail archive or await a
more positive response.

I think I looked at TemplateLink when I started writing pull tools.  Again,
the mail archive has some lengthy discussions of pull tools that contain
some good advice.

HTH,

Scott

> From: "Lang, Cliff" <[EMAIL PROTECTED]>
> Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
> Date: Tue, 5 Mar 2002 06:55:30 -0500
> To: "Turbine Users List" <[EMAIL PROTECTED]>
> Subject: Using OMTool  -- more information on creating my own PullTools
> 
> Is there any examples of the OMTool actually being used?  I haven't
> found any, and I can't seem to make it work.   I am trying to use this
> to gain knowledge on writing Tools correctly.  The ones I've done seem
> to force to much and don't use Factories.
> 
> Back to OMTool --  using TDK 2.1
> From the JavaDoc, it looks like you can call - or get a reference from
> any object in my "om" package in your velocity template.
> So I do :  
> #set ($user = $om.TurbineUser)
> 
> and $user is set to a reference of:
> OMTool$PullHelper@xxxxx
> 
> so I see I got a object - but of what value?  I have tried using the
> $user object to call methods of TurbineUser like - $user.getEmail() but
> generate a template error.
> How do you set the $om.Whatever()?  I was guessing it would be set to
> the current user (if logged in), but not sure how this would happen.
> 
> As you can see I am a bit confused on how to create PullTools properly,
> so any help / examples anyone can provide is much appreciated.
> 
> Thanks,  Cliff
> 
> 
> --
> 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