That method is in IEngineService.
However, Tapestry 4.0-beta13 introduced some API changes
(mostly removing IRequestCycle from several methods).
Tacos 4 alpha 5 was written before that time.
You'll need to update to a later alpha or simply to tacos4-beta-1
Peter Svensson wrote:
>Hmm. I just checked the source a bit, and it's probably just me somehow, but
>consider that the exception I get is this;
>
>java.lang.NoSuchMethodError net.sf.tacos.ajax.AjaxDirectService.getLink
>(Lorg/apache/tapestry/IRequestCycle;ZLjava/lang/Object;)Lorg/apache/tapestry/engine/ILink;
> Stack
>Trace:
>
> - net.sf.tacos.ajax.components.AjaxDirectLink.getLink(
> AjaxDirectLink.java:80)
>
>Then, in the method getLink in AjaxDirectLink we find;
>
>AjaxDirectServiceParameter dsp =
> new AjaxDirectServiceParameter(this, params, updateComponents,
>updateBlocks, isDirect());
> return getAjaxEngineService().getLink(false, dsp);
>
>OK, so what does the getAjaxEngineService(). return? Thankfully a nearby
>AjaxDirectService, which consists of the following method;
>
>public interface AjaxDirectService extends IEngineService {
> /**
> * Returns an instance of the AjaxWebRequest bound to the
> * current request thread.
> * @return The instance, if valid and available.
> */
> public AjaxWebRequest getAjaxRequest();
>}
>
>
>So of course there's no such method because .. there isn't :)
>I'll be happy to add one if someone can tell me what it should do.
>
>Cheers,
>PS
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]