Hello,
I'm converting Tapestry 3 application to Tapestry 4. I'm using 4.1.1.
I'm getting the following errors:
1. The method getRequestContext() is undefined for the type IRequestCycle
a. String remoteUsername = event.getRequestCycle().getRequestContext().
getRequest().getRemoteUser();
b.PathMaker.setContextInfo(event.getRequestCycle().getRequestContext()
.getServlet().getServletConfig());
c. remoteUsername = AuthorisationUtil.getNormalisedUserName
(event.getRequestCycle().getRequestContext()
.getServlet().getInitParameter("default-auth-user"));
2. The method getServiceParameters() is undefined for the type IRequestCycle
a. Integer page = (Integer) cycle.getServiceParameters()[0];
b. Object[] parameters = cycle.getServiceParameters();
3. The method getObject(Class) in the type IBinding is not applicable
for the arguments (String, Class<Browser>)
Browser browser = (Browser) browserBinding.getObject("browser",
Browser.class);
Shall I just pass the Browser class as below?
Browser browser = (Browser)browserBinding.getObject(Browser.class);
5. org.apache.tapestry.event.PageRenderListener; is not used in TP4
what should I use here?
Thanks
Naz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]