Ok, finally I got it. Uh, very embarrassing, because I already use this method 
of injecting the PageService on another page in my app.

So 

    @InjectObject("engine-service:page") 
    public abstract IEngineService getPageService();

did it - hopefully for all cases that could appear.

So thank you all for having patience with me :)

Bye,
Gerald

>
>:-)=)
>
>Hi Howard,
>
>thank you for pointing this out ;)
>
>I did not expect this exception because I expect getService() to return a 
>PageService - not a DirectService.
>
>In my understanding (which seems to be wrong :) ) the DirectService was 
>'consumed' on the Login-page to do the submit. 
>
>After this, a callback is fired leading to the page where the exception occurs 
>- so I expected to be in 'page mode' again :(
>
>But actually this seems to be very wrong. 
>
>What I need in this pageValidate is the absolute url of the PAGE with all its 
>parameters, states and so on. My method was working fine - as long as there 
>were only PageServices involved :(
>
>Maybe someone could give me a hint how to obtain this complete page path 
>without using getService() ?
>
>Thanks again !
>
>Gerald
>

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

Reply via email to