Re: Back button
Hmmm, does that imply that one of the member variables may be Serializable? On 25 Apr 2010, at 05:18, Igor Vaynberg wrote: the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you clicked the ajax link. The headers should be changed to force firefox to request the page from the server (wicket). There are other threads on this subject, and frankly I do not understand why the headers are not changed in wicket core. On Fri, 23 Apr 2010 21:45 -0700, Igor Vaynberg igor.vaynb...@gmail.com wrote: the back button should roll the page back to the state that contained the item -igor On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Could this possibly happen if the following occurred. 1) Load a page with a repeater on it 2) Click on an ajax link that would remove an item from the repeater 3) Click the back button. Click on the link for the item you removed. D/ On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote: Would someone assist me on this? Thank you in advance! -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 23, 2010 9:38 AM To: users@wicket.apache.org Subject: Back button Hello, everyone! I've got a page with a repeater with cells - every single cell has a link in it. However, when you go to another page and afterwards press the Back button and click one of the links, the following exc is thrown: WicketMessage: org.apache.wicket.WicketRuntimeException: component view_holder:view:25:cols:30:trigger_ref not found on page com.company.project.ui.calendar.Calendar[id = 46], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] Wicket was supposed to support the Back button, wasn't it? Or maybe I'm missing something. Please advice... Thank you, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:
Re: Back button
That means one of your fields might *not* be Serializable. The error message usually tells you the exact field that caused the problem (in development mode). On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba ng...@mac.com wrote: Hmmm, does that imply that one of the member variables may be Serializable? On 25 Apr 2010, at 05:18, Igor Vaynberg wrote: the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you clicked the ajax link. The headers should be changed to force firefox to request the page from the server (wicket). There are other threads on this subject, and frankly I do not understand why the headers are not changed in wicket core. On Fri, 23 Apr 2010 21:45 -0700, Igor Vaynberg igor.vaynb...@gmail.com wrote: the back button should roll the page back to the state that contained the item -igor On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Could this possibly happen if the following occurred. 1) Load a page with a repeater on it 2) Click on an ajax link that would remove an item from the repeater 3) Click the back button. Click on the link for the item you removed. D/ On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote: Would someone assist me on this? Thank you in advance! -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 23, 2010 9:38 AM To: users@wicket.apache.org Subject: Back button Hello, everyone! I've got a page with a repeater with cells - every single cell has a link in it. However, when you go to another page and afterwards press the Back button and click one of the links, the following exc is thrown: WicketMessage: org.apache.wicket.WicketRuntimeException: component view_holder:view:25:cols:30:trigger_ref not found on page com.company.project.ui.calendar.Calendar[id = 46], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] Wicket was supposed to support the Back button, wasn't it? Or maybe I'm missing something. Please advice... Thank you, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
pagination both bottom and top ajaxfallbackdatatable
we use ajaxfallbackdefaultdatatable ,it provides pagination on top,can I pagination both on top as well as bottom ?, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pagination-both-bottom-and-top-ajaxfallbackdatatable-tp2064202p2064202.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Persistence.xml problem
Try clean and build, you might break your application. Sent from my Nokia phone -Original Message- From: Igor Vaynberg Sent: 24/04/2010 23:10:15 Subject: Re: Persistence.xml problem wicket has nothing to do with it. maybe your IDE is not updating your persistence.xml in the target directory. -igor On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote: Hi , i'm developing an app under netbeans + wicket + tomcat + wicket-contrib-javaee +eclipselink . The problem is that i run the app the first time and everything works fine , but i change the data source in persistence.xml and the app stop working , i change again to the original source and nothing , not working , there is no error ,exception , nothing , the app runs on tomcat like everything is ok , but there's no connection to the database , any data is persisted .I just delete persistence.xml and app stil working! ... clean tomcat install and still working without persistence.xml! , i deployed the app war file within netbeans and manually on tomcat's web manager without any persistence and the same result.So i want to know if maybe wicket has something to do with this problem because i try almost everything else , even running the app locally and in the server but nothing happens , i apreciate any help on this. _ Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el Calendario agendar la fecha. Descubrí más. http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: pagination both bottom and top ajaxfallbackdatatable
add the navigation toolbar to the bottom, see addbottomtoolbar -igor On Sun, Apr 25, 2010 at 6:03 AM, fachhoch fachh...@gmail.com wrote: we use ajaxfallbackdefaultdatatable ,it provides pagination on top,can I pagination both on top as well as bottom ?, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pagination-both-bottom-and-top-ajaxfallbackdatatable-tp2064202p2064202.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Persistence.xml problem
No , is ant . Subject: Re: Persistence.xml problem From: ng...@mac.com Date: Sun, 25 Apr 2010 15:41:07 +0100 To: users@wicket.apache.org Is maven your build system? On 25 Apr 2010, at 14:46, Matias Pansa wrote: I try clean and build many times with the same result , i try deleting all files manually to , a clean tomcat install and manually deploy the app.Thanks. Date: Sun, 25 Apr 2010 13:34:28 + From: andre.prase...@gmail.com Subject: RE: Persistence.xml problem To: users@wicket.apache.org Try clean and build, you might break your application. Sent from my Nokia phone -Original Message- From: Igor Vaynberg Sent: 24/04/2010 23:10:15 Subject: Re: Persistence.xml problem wicket has nothing to do with it. maybe your IDE is not updating your persistence.xml in the target directory. -igor On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote: Hi , i'm developing an app under netbeans + wicket + tomcat + wicket-contrib-javaee +eclipselink . The problem is that i run the app the first time and everything works fine , but i change the data source in persistence.xml and the app stop working , i change again to the original source and nothing , not working , there is no error ,exception , nothing , the app runs on tomcat like everything is ok , but there's no connection to the database , any data is persisted .I just delete persistence.xml and app stil working! ... clean tomcat install and still working without persistence.xml! , i deployed the app war file within netbeans and manually on tomcat's web manager without any persistence and the same result.So i want to know if maybe wicket has something to do with this problem because i try almost everything else , even running the app locally and in the server but nothing happens , i apreciate any help on this. _ Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el Calendario agendar la fecha. Descubrí más. http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y recibí confirmaciones de asistencia. http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx -- npg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y recibí confirmaciones de asistencia. http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
Re: Back button
No.. this is not a serialization issue, unless Igor is correct in that fact that the exception prevents serialization. But how would that effect the back button, should the page on the back button have already been serialized? Say if I get a hibernate failed to lazy load exception, then I hit the back button, the links on the page all throw a component not found on page D/ On Apr 25, 2010, at 7:45 AM, James Carman wrote: That means one of your fields might *not* be Serializable. The error message usually tells you the exact field that caused the problem (in development mode). On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba ng...@mac.com wrote: Hmmm, does that imply that one of the member variables may be Serializable? On 25 Apr 2010, at 05:18, Igor Vaynberg wrote: the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you clicked the ajax link. The headers should be changed to force firefox to request the page from the server (wicket). There are other threads on this subject, and frankly I do not understand why the headers are not changed in wicket core. On Fri, 23 Apr 2010 21:45 -0700, Igor Vaynberg igor.vaynb...@gmail.com wrote: the back button should roll the page back to the state that contained the item -igor On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Could this possibly happen if the following occurred. 1) Load a page with a repeater on it 2) Click on an ajax link that would remove an item from the repeater 3) Click the back button. Click on the link for the item you removed. D/ On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote: Would someone assist me on this? Thank you in advance! -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 23, 2010 9:38 AM To: users@wicket.apache.org Subject: Back button Hello, everyone! I've got a page with a repeater with cells - every single cell has a link in it. However, when you go to another page and afterwards press the Back button and click one of the links, the following exc is thrown: WicketMessage: org.apache.wicket.WicketRuntimeException: component view_holder:view:25:cols:30:trigger_ref not found on page com.company.project.ui.calendar.Calendar[id = 46], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] Wicket was supposed to support the Back button, wasn't it? Or maybe I'm missing something. Please advice... Thank you, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail:
Re: Wicket and Guice / legup / warp persist?
Anybody have tips on the correct way to do this? On Apr 24, 2010, at 5:42 PM, Douglas Ferguson wrote: I'm curious about how this would work with serialization/deserialization. For instance, with a data provider where would you actually put this: InjectorHolder.getInjector().inject(this) To make sure it gets called at the appropriate times? Is it ok to put it in the constructor of the data provider? Sounds like this won't be available until 1.4.8, any idea when that might surface? D/ On Apr 24, 2010, at 5:33 PM, Douglas Ferguson wrote: Interesting... I've been curious about how to properly use injection in data provider as this does not subclass component. Any tips on how to get this to work? D/ On Apr 24, 2010, at 12:32 PM, nino martinez wael wrote: BTW if anyone has trouble with this until 1.4.8 comes out then just write your own injectorholder class and in your guice module call requeststatic injection on that.. Works like a charm.. 2010/4/8 nino martinez wael nino.martinez.w...@gmail.com: Ahh typical :) And thanks for the update. 2010/4/8 Martin Grigorov mcgreg...@e-card.bg: The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761 The fix is applied to 1.4.x at 13/03 by Juergen. 1.4.7 was released at 03/03. So, it will be included in next release - probably 1.4.8. On Thu, 2010-04-08 at 11:08 +0200, nino martinez wael wrote: Hi I revived my old wicket talk yesterday and since we are using guice at the company where Im at now the people attending the talk wanted to see my examples in guice / wicket instead of spring / wicket. So I used the legup archetype. Which worked nicely until I did a ldm which I had to inject a dao into. With spring I would add the ldm to the component instantiation listener, but if I do it the spring way (InjectorHolder.getInjector().inject(this);) I get this error: WicketMessage: Can't instantiate page using constructor public com.netdesign.blog.ViewPostPage(org.apache.wicket.PageParameters) and argument postid = [3] Root cause: java.lang.IllegalStateException: InjectorHolder has not been assigned an injector. Use InjectorHolder.setInjector() to assign an injector. In most cases this should be done once inside SpringWebApplication subclass's init() method. at org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:70) Now there are several things I wonder about, first of all, why are spring mentioned at all? Does wicket package DI specific classes in a common distribution, and if so should'nt it be called something specific towards the targetet DI framework. And second and more important how can I achieve the same thing with guice? Or this could also be a bug with legup or something. But I actually checked the init method and InjectorHolder.setInjector does not take the guice component injector as argument. regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Back button
It would affect the back button because when Wicket tries to go get the specific version of the page back from the session store (only the current version is kept in the session and the earlier ones are in the store), it won't be able to find it. On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson doug...@douglasferguson.us wrote: No.. this is not a serialization issue, unless Igor is correct in that fact that the exception prevents serialization. But how would that effect the back button, should the page on the back button have already been serialized? Say if I get a hibernate failed to lazy load exception, then I hit the back button, the links on the page all throw a component not found on page D/ On Apr 25, 2010, at 7:45 AM, James Carman wrote: That means one of your fields might *not* be Serializable. The error message usually tells you the exact field that caused the problem (in development mode). On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba ng...@mac.com wrote: Hmmm, does that imply that one of the member variables may be Serializable? On 25 Apr 2010, at 05:18, Igor Vaynberg wrote: the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you clicked the ajax link. The headers should be changed to force firefox to request the page from the server (wicket). There are other threads on this subject, and frankly I do not understand why the headers are not changed in wicket core. On Fri, 23 Apr 2010 21:45 -0700, Igor Vaynberg igor.vaynb...@gmail.com wrote: the back button should roll the page back to the state that contained the item -igor On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Could this possibly happen if the following occurred. 1) Load a page with a repeater on it 2) Click on an ajax link that would remove an item from the repeater 3) Click the back button. Click on the link for the item you removed. D/ On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote: Would someone assist me on this? Thank you in advance! -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 23, 2010 9:38 AM To: users@wicket.apache.org Subject: Back button Hello, everyone! I've got a page with a repeater with cells - every single cell has a link in it. However, when you go to another page and afterwards press the Back button and click one of the links, the following exc is thrown: WicketMessage: org.apache.wicket.WicketRuntimeException: component view_holder:view:25:cols:30:trigger_ref not found on page com.company.project.ui.calendar.Calendar[id = 46], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] Wicket was supposed to support the Back button, wasn't it? Or maybe I'm missing something. Please advice... Thank you, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Back button
I meant page store, not session store. On Sun, Apr 25, 2010 at 12:26 PM, James Carman jcar...@carmanconsulting.com wrote: It would affect the back button because when Wicket tries to go get the specific version of the page back from the session store (only the current version is kept in the session and the earlier ones are in the store), it won't be able to find it. On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson doug...@douglasferguson.us wrote: No.. this is not a serialization issue, unless Igor is correct in that fact that the exception prevents serialization. But how would that effect the back button, should the page on the back button have already been serialized? Say if I get a hibernate failed to lazy load exception, then I hit the back button, the links on the page all throw a component not found on page D/ On Apr 25, 2010, at 7:45 AM, James Carman wrote: That means one of your fields might *not* be Serializable. The error message usually tells you the exact field that caused the problem (in development mode). On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba ng...@mac.com wrote: Hmmm, does that imply that one of the member variables may be Serializable? On 25 Apr 2010, at 05:18, Igor Vaynberg wrote: the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you clicked the ajax link. The headers should be changed to force firefox to request the page from the server (wicket). There are other threads on this subject, and frankly I do not understand why the headers are not changed in wicket core. On Fri, 23 Apr 2010 21:45 -0700, Igor Vaynberg igor.vaynb...@gmail.com wrote: the back button should roll the page back to the state that contained the item -igor On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Could this possibly happen if the following occurred. 1) Load a page with a repeater on it 2) Click on an ajax link that would remove an item from the repeater 3) Click the back button. Click on the link for the item you removed. D/ On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote: Would someone assist me on this? Thank you in advance! -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 23, 2010 9:38 AM To: users@wicket.apache.org Subject: Back button Hello, everyone! I've got a page with a repeater with cells - every single cell has a link in it. However, when you go to another page and afterwards press the Back button and click one of the links, the following exc is thrown: WicketMessage: org.apache.wicket.WicketRuntimeException: component view_holder:view:25:cols:30:trigger_ref not found on page com.company.project.ui.calendar.Calendar[id = 46], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] Wicket was supposed to support the Back button, wasn't it? Or maybe I'm missing something. Please advice... Thank you, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe,
Re: Wicket and Guice / legup / warp persist?
I also updated the exception message in commit 937854. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 8, 2010 at 7:26 AM, Martin Grigorov mcgreg...@e-card.bg wrote: The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761 The fix is applied to 1.4.x at 13/03 by Juergen. 1.4.7 was released at 03/03. So, it will be included in next release - probably 1.4.8. On Thu, 2010-04-08 at 11:08 +0200, nino martinez wael wrote: Hi I revived my old wicket talk yesterday and since we are using guice at the company where Im at now the people attending the talk wanted to see my examples in guice / wicket instead of spring / wicket. So I used the legup archetype. Which worked nicely until I did a ldm which I had to inject a dao into. With spring I would add the ldm to the component instantiation listener, but if I do it the spring way (InjectorHolder.getInjector().inject(this);) I get this error: WicketMessage: Can't instantiate page using constructor public com.netdesign.blog.ViewPostPage(org.apache.wicket.PageParameters) and argument postid = [3] Root cause: java.lang.IllegalStateException: InjectorHolder has not been assigned an injector. Use InjectorHolder.setInjector() to assign an injector. In most cases this should be done once inside SpringWebApplication subclass's init() method. at org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:70) Now there are several things I wonder about, first of all, why are spring mentioned at all? Does wicket package DI specific classes in a common distribution, and if so should'nt it be called something specific towards the targetet DI framework. And second and more important how can I achieve the same thing with guice? Or this could also be a bug with legup or something. But I actually checked the init method and InjectorHolder.setInjector does not take the guice component injector as argument. regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: SignInPage as panel in an AuthenticatedWebApplication?
ModalPanel is unsecure - as you can hide it using JavaScript But if you still want to do that - then you can add the modal panel to your ScurePage - which all your other pages extend - display it every time if the user is not logged in. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Sat, Apr 24, 2010 at 2:43 PM, Thomas Götz t...@richmountain.de wrote: Is there an easy way to use a panel for signing in when using an application class that extends AuthenticatedWebApplication? The normal Wicket behaviour is that the user gets forwarded to a dedicated signin-page. I'd prefer to use a modal window (displaying a login panel), but AuthenticatedWebApplication.getSignInPageClass() needs to return a class that extends Webpage ... Anyone can give me a hint on this? -Tom - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org