Hi,
Try by mounting the login page to some path.
In YourApp#init() method add:
mountPage(/login, LoginPage.class);
On Thu, Dec 12, 2013 at 9:05 PM, Entropy blmulholl...@gmail.com wrote:
I just tried replacing the exception line with:
try {
throw new
Thanks Martin, that did it. It now works with the class instead of an
instantiated page. I guess now pages passed through that exception must be
mounted?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Converting-1-4-7-to-6-12-Login-Error-tp4662916p4663000.html
On Fri, Dec 13, 2013 at 4:55 PM, Entropy blmulholl...@gmail.com wrote:
Thanks Martin, that did it. It now works with the class instead of an
instantiated page. I guess now pages passed through that exception must be
mounted?
No. It should work without mounting too but for some reason it
So, the app worked before I made my 1.4.7 - 6.12 changes. The general flow
is that when I hit the URL for the app (with no parameters...that 404 URL is
not something I typed from the browser) it goes to the
Application.getHomePage(), which returns the home page (not the login page).
We have a
Hi,
java.io.FileNotFoundException: /gov.usdoj.afms.esp.modules.login.LoginPage
at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(
DefaultExtensionProcessor.java:572)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
is an exception
I know it is a web container page. I may not have been clear on this before.
The URL I hit is:
http://localhost:9080/EquitableSharing
Wicket the forwards me to:
http://localhost:9080/EquitableSharing/gov.usdoj.afms.esp.modules.login.LoginPage?1
But Wicket is involved because the WicketFilter is
I just tried replacing the exception line with:
try {
throw new RestartResponseAtInterceptPageException((Page)
getLoginPageClass().newInstance());
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InstantiationException
So I am past my compile errors and am now running my shiny new 6.12
application. But it breaks down before I can get it off the dealer's lot.
:(
The problem is that the error is kind of ambiguous. The console says:
[12/11/13 14:47:30:437 EST] 0026 servlet I
Hi,
/gov.usdoj.afms.esp.modules.login.LoginPage doesn't look like a Wicket
url. Are you mounting your pages with the full package path?
It seems your container is redirecting to a login, which it can't find.
Is your webapp running under a context path?
Sven
On 12/11/2013 08:58 PM,
Hi, it's me again. I'm still converting to 6.12 from 1.4.7. Thanks for your
help on previous questions. Here's the next item I didn't see in the
conversion docs. In one of our pages, someone did this:
setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage
Hello,
I think you can use getSession().getPageFactory().newPage();
Depending on your context you could use Session.get() or getSession()
Hope that helps
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Converting-1-4-7-to-6-12-tp4662892p4662893.html
Sent from
11 matches
Mail list logo