Johan Compagner wrote:
did you aks that same question 2 days ago and i also replied on it:
sorry, there was probably something wrong with the lists, as i didn't see my
post nor your reply
"
if a http session gets expired then pages are expired there is no way
around that.
Or you have to use your own cookies to build the wicket session and
store pages somewhere else.
If you don't specify a homepage in youre application then you must
override the expired page
else you will get the underlying error. Because by default the expired
page will try to make a alink
to the homepage.
for 2.0 we are planning to have BookmarkableForms (or how it is called
implemented) for now you can
cool!
do that by making forms do the submit to a Bookmarkable url. Then if
they submit the page will be created again.
hmm, can you explain more? the class Form uses some encoding of a listener when
it renders the action part. should i just override that?
"
johan
On 5/16/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