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]>

Reply via email to