i have an existing application built with struts, the wicket pages are (for 
now) embedded in other pages as tabs. so when the user first hits the 
application he gets a struts homepage.

Igor Vaynberg wrote:
what do you mean there is no homepage? it is a page that the user comes to the first time they hit an application.

-Igor


On 5/15/06, *Ittay Dror* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    if i have a page loaded in the browser and i relaunch the web
    server, and then submit the page, i get an exception:
    java.lang.IllegalArgumentException: Page class for bookmarkable link
    cannot be null
       at
    
wicket.markup.html.link.BookmarkablePageLink.<init>(BookmarkablePageLink.java:73)
       at wicket.markup.html.link.BookmarkablePageLink
    .<init>(BookmarkablePageLink.java:53)
       at wicket.markup.html.WebPage.homePageLink(WebPage.java:228)
       at
    
wicket.markup.html.pages.PageExpiredErrorPage.<init>(PageExpiredErrorPage.java:38)
       at java.lang.reflect.Constructor.newInstance (Constructor.java:494)
       at java.lang.Class.newInstance0(Class.java:350)
       at java.lang.Class.newInstance(Class.java:303)
       at
    wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
       at wicket.session.DefaultPageFactory.newPage
    (DefaultPageFactory.java:100)
       at
    com.qlusters.qrm.web.wicket.WebPageFactory.newPage(WebPageFactory.java:27)
       at
    com.qlusters.qrm.web.wicket.WebPageFactory.newPage(WebPageFactory.java:22)
       at
    wicket.request.target.component.BookmarkablePageRequestTarget.newPage
    (BookmarkablePageRequestTarget.java:265)
       at
    
wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:284)
       at
    wicket.request.target.component.BookmarkablePageRequestTarget.processEvents
    (BookmarkablePageRequestTarget.java:204)
       at
    
wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65)
       at
    wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents
    (AbstractCompoundRequestCycleProcessor.java:57)


    this is because there's no home page for the application. in my
    scenario, i can't use one.

    my question is, is there a way for a page not to be expired?

    thanks,
    ittay



    --
    ===================================
    Ittay Dror
    Chief architect, openQRM TL,
    R&D, Qlusters Inc.
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    +972-3-6081994 Fax: +972-3-6081841

    http://www.openQRM.org
    - Keeps your Data-Center Up and Running




    -------------------------------------------------------
    Using Tomcat but need to do more? Need to support web services,
    security?
    Get stuff done quickly with pre-integrated technology to make your
    job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache
    Geronimo
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user




--
===================================
Ittay Dror, Chief architect, openQRM TL, R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to