Hi there, 

I'm trying to create a ServiceLink, but I don't know how to reference it from 
my pages.

I have my class - MyService which implements IEngineService, now how do I link 
that to my pages?  So far I have:

<a class="userLink" jwcid="@ServiceLink" service="ognl:MyService" 
parameter="ognl:user.id">

This causes an exception because I does not know where to find MyService.  I 
have also tried the full name including package names.

If i put an abstract method in my page class:

public abstract MyService getMyService();

an exception is thrown saying "No engine service named 'null' is available." is 
thrown.

Im hoping this is just something simple that I'm doing wrong.

All help is highly appreciated.

Cheers.


-------------------- m2f --------------------

Sent from www.TapestryForums.com

Read this topic online here: <<topic_link>>

http://www.tapestryforums.com/viewtopic.php?p=11465#11465

-------------------- m2f --------------------


Reply via email to