Re: Drop
Am 22.06.2011 06:54, schrieb Hans Lesmeister 2: FeanorsCurse wrote: However, I still feel like that is an unnecessary step; I don't see any reason why the PropertyModel should not be enough on its own. Please correct me if I am wrong: The model passed in tells the dropdown which object from the list should be the active one shown. If you don't apply a renderer then some default is used to render the options and that is obviously toString() on each object in the list. Ergo: The result object from evaluating the model should be the same type as the objects in the list. - Correct. But if you don't use a renderer they have to be the same instance to. Otherwise equals used by list is not recognizing "same object". The renderer takes that part with the String getIdValue(T object, int index); method. Here you can implement the equals logic. Cheers Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Strange problem with DateTextField
Vitor, There are 2 DateTextField I know for wicket, org.apache.wicket.datetime.markup.html.form.DateTextFieldand org.apache.wicket.extensions.markup.html.form.DateTextField. I used many DateTextField from wicket extensions in my project. It works fine. The code is almost the same with the one you use, DateTextField dateTF = new DateTextField("finalDate", new PropertyModel(someObject.getFinalDate(), "dd/MM/yy"); You can get the extentions class from maven by add below code to your project dependencies. org.apache.wicket wicket-extensions ${wicket.version} If you haven't solved your problem, you can try this. I hope this will help you. Regards, Noven From: Vitor Granzinoli Vellozo To: users@wicket.apache.org Sent: Wednesday, June 22, 2011 4:16 AM Subject: Strange problem with DateTextField Wicketers, I found a problem with DateTextField, when a date comes like 11/10/2010 (dd/MM/) to be showed at a page, and it shows 10/10/2010, it shows a date decreased. The same ocurrs if the date is 12/10/2010. It ocurrs with dates near 10/10/2010. I also fixed dates manually and it doesn't change, it's very strange and I need you help. Below, the code: DateTextField dateTF = new DateTextField("finalDate", new PropertyModel(someObject.getFinalDate(), "finalDate"), new PatternDateConverter("dd/MM/", true)); dateTF.add(new DatePicker()); add(dateTF); Some idea about? Thanks a lot Vitor
Re: Drop
FeanorsCurse wrote: > > However, I still feel like that is an unnecessary step; I don't see any > reason why the PropertyModel should not be enough on its own. > Please correct me if I am wrong: The model passed in tells the dropdown which object from the list should be the active one shown. If you don't apply a renderer then some default is used to render the options and that is obviously toString() on each object in the list. Ergo: The result object from evaluating the model should be the same type as the objects in the list. - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Drop-tp3613805p3616016.html Sent from the Users forum 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: HybridUrlCodingStrategy SEO
Try adding rel="nofollow" to the ajax links. This should tell google not to follow the link. We have had pretty good results using this. Other spiders do not recognize this so some indexers may still hit those links. -Original Message- From: Phil Franken [mailto:phil.fran...@gmail.com] Sent: Tuesday, June 21, 2011 2:38 AM To: users@wicket.apache.org Subject: Re: HybridUrlCodingStrategy SEO I've considered stateless but I don't want google to follow any of my ajax links so I don't really need it (I think). I only want google to index my home page, but I can't provide a direct link with the HybridUrl strategy as far as I know. Also I've got a custom RequestCycle so I've got an integration with wicket-stateless. On 6/21/2011 2:28 AM, Martin Grigorov wrote: > Hi, > > To avoid the redirect the page should be stateless. You can use > Jolira's stateless Ajax behaviors/components instead. > > On Tue, Jun 21, 2011 at 9:16 AM, Phil Franken wrote: >> I've mapped my home page to "home" usingHybridUrlCodingStrategy. >> >> Testing with http://www.internetofficer.com/seo-tool/redirect-check/ shows a >> 302 redirect for; >> >> "domain.com" to "domain.com/home.0" >> "domain.com/home" to "domain.com/home.1" >> >> Google does not like the redirect and is reporting a redirect error in >> Webmaster Tools. Google will not follow the page with a redirect and wants >> a direct link in sitemap.xml. Well with HybridUrl I'm not sure this is >> possible because it will redirect to the numbered version, home.0, home.1, >> etc... >> >> I'm thinking of switching to a BookmarkablePage mount to solve this issue, >> but the home page has ajax controls and I'd prefer to support the browser >> back button without the cache control fix for ajax. Any other suggestions? >> > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: CSS Change not being picked up when using TextTemplateResourceReference
Well...is a little bit complicated but you should call ResourceReference's invalidate() after your pages have been rendered. But I don't know how you should put this method call. Sorry I did not clarify that we are on 1.4.17. While I would love to migrate our project to 1.5 I don't know how quickly we will be able to do that. Any other options that might be possible with 1.4? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3614514.html Sent from the Users forum 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: Strange problem with DateTextField
Hi Vitor, I could not reproduce your problem. Try the following things... - change the boolean in PatternDateConverter to 'false' to not respect the client time zone. does this change the faulty behavior? - what locale are you using in your application? try 'log.info("locale = " + Session.get().getLocale())' to see the current value used for date conversion - does the behavior depend on the browser? try firefox, chrome, ie, etc. to check this Am 21.06.2011 um 23:16 schrieb Vitor Granzinoli Vellozo: > > > Wicketers, > > > > I found a problem with DateTextField, when a date comes like 11/10/2010 > (dd/MM/) to be showed at > > a page, and it shows 10/10/2010, it shows a date decreased. The same > ocurrs if the date is 12/10/2010. > > > > It ocurrs with dates near 10/10/2010. I also fixed dates manually and it > doesn't change, it's very strange > > and I need you help. > > > > Below, the code: > > > > DateTextField dateTF = new DateTextField("finalDate", new > PropertyModel(someObject.getFinalDate(), "finalDate"), new > PatternDateConverter("dd/MM/", true)); > > dateTF.add(new DatePicker()); > > add(dateTF); > > > > > > Some idea about? > > > > Thanks a lot > > Vitor > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Strange problem with DateTextField
Wicketers, I found a problem with DateTextField, when a date comes like 11/10/2010 (dd/MM/) to be showed at a page, and it shows 10/10/2010, it shows a date decreased. The same ocurrs if the date is 12/10/2010. It ocurrs with dates near 10/10/2010. I also fixed dates manually and it doesn't change, it's very strange and I need you help. Below, the code: DateTextField dateTF = new DateTextField("finalDate", new PropertyModel(someObject.getFinalDate(), "finalDate"), new PatternDateConverter("dd/MM/", true)); dateTF.add(new DatePicker()); add(dateTF); Some idea about? Thanks a lot Vitor
Re: component rendering order
On Mon, Jun 20, 2011 at 9:59 AM, Igor Vaynberg wrote: > components are rendered in the same order they are in markup. how does > your component know now if the table is empty or not? > Igor, It does not. The way it works is that if the table detects thespecial data during rendering (onBeforeRender) , it informs the page about it (by calling a page method). Any component, either table or other, that detects that data informs the page about it. Then the page renders the header component, using the data it received from the rest of the components of the page). That is why I need to change the rendering order, because the rendering of that header component depends on the presence of that special data in the page (which could be in the table) -Nelson > -igor > > On Mon, Jun 20, 2011 at 9:37 AM, Nelson Segura wrote: >> On Thu, Jun 16, 2011 at 10:23 PM, Igor Vaynberg >> wrote: >>> give your component the dataprovider that the datatable has and use >>> that to calc visibility. >>> >>> -igor >> >> This does not work for me because: >> >> a) my pages might have multiple providers, and each one of them might >> change the state of the header component, depending on data on the >> list >> b) my header does not know what lists are on the page, as it is >> shared between different pages. I might be none, one, or multiple. >> c) providers are not the only elements that can cause the header >> component to change. >> >> It seems to me that I need to force the component to be rendered last, >> after all the providers/tables have had a change to analyze its data. >> >> I have worked around this by adding the header component after the >> page onBeforeRender(), and then calling the components >> onBeforeRender(), like this >> >> BasePage.java >> >> public void onBeforeRender() { >> super.onBeforeRender(); >> addOrReplace(new MyComponent()); >> component.onBeforeRender() >> } >> >> It is not pretty, but I dont know other way to force a change in the >> rendering sequence of the components. >> >> -Nelson >> >> >>> >>> On Thu, Jun 16, 2011 at 9:22 PM, Nelson Segura wrote: I might mention that I am still using a version of wicket where onConfigure is not available,and we are not due to upgrade until after I need to finish this component. -Nelson On Thu, Jun 16, 2011 at 9:21 PM, Nelson Segura wrote: > Is there a way to force components to be rendered in different order > than in which they were added? > I have the following dilemma: > > I have component on the header of my pages whose behavior > (visibility/content) depends on the results displayed in a data table. > Since the header of my pages is added in the base page, before the > tables are added, and the results are only known during the rendering > of the rows, I have no access to the information I need. > > Is there any pattern solutions you guys can suggest for solving these > type of problems? > > Help is greatly appreciated. > > -Nelson > - 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
Forward button null pointer
Am I correct there is a NPE on spring beans after browser forward issue? Does anyone know when the next version is due? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: callback versioning issue
I ended up figuring out the issue. It appears that the callback url needs to be updated on ever state change, otherwise it uses a old version of the model object. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/callback-versioning-issue-tp3606799p3614693.html Sent from the Users forum 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: CSS Change not being picked up when using TextTemplateResourceReference
Sorry I did not clarify that we are on 1.4.17. While I would love to migrate our project to 1.5 I don't know how quickly we will be able to do that. Any other options that might be possible with 1.4? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3614514.html Sent from the Users forum 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: CSS Change not being picked up when using TextTemplateResourceReference
Sorry, I was checking Wicket 1.5 source where getResource() is not final. Isn't there an issue with overriding the getResource() method in ResourceReference if it is marked as final? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3614468.html Sent from the Users forum 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: FW: Debugging page expired exception errors
Sort of related, but I was also looking at ensuring that ajax requests do not get cached. Or page requests. Something along the lines of this code: final WebResponse response = getWebRequestCycle().getWebResponse(); response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Tuesday, June 21, 2011 11:27 AM To: users@wicket.apache.org Subject: Re: FW: Debugging page expired exception errors For the TL;DR: check your cookies... Fun story follows... We just solved a strange bug in our own application where users were logged out after a certain, but random amount of time, and where other users reported being thrown out every 5 minutes. We couldn't discover what happened, and after logging everything sessionid related, we noticed two cookies being sent (that we added ourselves in the application). Looking at the client side of things, we finally saw that we were generating those 2 cookies for each path in the application-which was really increased since we introduced bookmarkable URLs... It appears that browsers have a limit for the amount of cookies per domain, and that each browser behaves differently when the limit is reached: - safari/chrome: no limit what soever - IE: 50 cookies, FIFO - FF: 50 cookies, random eviction Since we convinced many of our users to switch to firefox, they got thrown out at random times... Only the die hards with 'conservative' sys admins that are using IE were thrown out consistently. So long story short: check your cookies. Martijn On Tue, Jun 21, 2011 at 5:17 PM, Igor Vaynberg wrote: > if this was a load issue we would hear a ton of complaints on the list. > > -igor > > On Tue, Jun 21, 2011 at 5:37 AM, Brown, Berlin [GCG-PFS] > wrote: >> I posted this the other day, I think I have some more information. >> >> Is there a way to change the session secondlevel cache store and >> possibly the default disk store such that there aren't collissions >> between file writes/reads. >> >> I think in a high volume environment (lots of hits), I am getting >> this pageexpiredexception because wicket is trying to access to the >> diskpage store data the same time. >> >> E.g. Are multiple writes/reads allowed against the >> diskpagestore/DiskPageStoreIndex? >> >> >> - - >> >> I get two pageexpiredexception errors and I can't recreate the problem. >> With an error like this, what would cause this type of page expired >> exception error? >> >> Do you think that the page actually expired? Or is there something >> wrong with writing or reading from the page map file on disk. >> >> >> ERROR ONE: >> >> 2011-05-06 23:21:43,619 ERROR - >> Cannot find the rendered page in session >> [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:pane >> l:f >> ield,versionNumber=0] >> org.apache.wicket.protocol.http.PageExpiredException: Cannot find the >> rendered page in session >> [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:pane >> l:f >> ield,versionNumber=0] >> at >> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebR >> equ >> estCycleProcessor.java:197) >> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) >> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) >> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) >> at >> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java: >> 484 >> ) >> at >> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: >> 160) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) >> at >> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper >> .ja >> va:1146) >> at >> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletW >> rap >> per.java:592) >> at >> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(Servle >> tWr >> apper.java:525) >> at >> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) >> at >> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:2 >> 69) >> at >> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java: >> 831 >> ) >> at >> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.jav >> a:1 >> 478) >> at >> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.jav >> a:1 >> 33) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimina >> tio >> n(HttpInboundLink.java:458) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInforma >> tio >> n(HttpInboundLink.java:387) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(Htt >> pIC >> LReadCallback.java:102) >> at >> com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCal >> lba >> ck.complete(SSLReadServiceContext.java:1818)
Re: FW: Debugging page expired exception errors
For the TL;DR: check your cookies... Fun story follows... We just solved a strange bug in our own application where users were logged out after a certain, but random amount of time, and where other users reported being thrown out every 5 minutes. We couldn't discover what happened, and after logging everything sessionid related, we noticed two cookies being sent (that we added ourselves in the application). Looking at the client side of things, we finally saw that we were generating those 2 cookies for each path in the application—which was really increased since we introduced bookmarkable URLs... It appears that browsers have a limit for the amount of cookies per domain, and that each browser behaves differently when the limit is reached: - safari/chrome: no limit what soever - IE: 50 cookies, FIFO - FF: 50 cookies, random eviction Since we convinced many of our users to switch to firefox, they got thrown out at random times... Only the die hards with 'conservative' sys admins that are using IE were thrown out consistently. So long story short: check your cookies. Martijn On Tue, Jun 21, 2011 at 5:17 PM, Igor Vaynberg wrote: > if this was a load issue we would hear a ton of complaints on the list. > > -igor > > On Tue, Jun 21, 2011 at 5:37 AM, Brown, Berlin [GCG-PFS] > wrote: >> I posted this the other day, I think I have some more information. >> >> Is there a way to change the session secondlevel cache store and >> possibly the default disk store such that there aren't collissions >> between file writes/reads. >> >> I think in a high volume environment (lots of hits), I am getting this >> pageexpiredexception because wicket is trying to access to the diskpage >> store data the same time. >> >> E.g. Are multiple writes/reads allowed against the >> diskpagestore/DiskPageStoreIndex? >> >> >> - - >> >> I get two pageexpiredexception errors and I can't recreate the problem. >> With an error like this, what would cause this type of page expired >> exception error? >> >> Do you think that the page actually expired? Or is there something >> wrong with writing or reading from the page map file on disk. >> >> >> ERROR ONE: >> >> 2011-05-06 23:21:43,619 ERROR - >> Cannot find the rendered page in session >> [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f >> ield,versionNumber=0] >> org.apache.wicket.protocol.http.PageExpiredException: Cannot find the >> rendered page in session >> [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f >> ield,versionNumber=0] >> at >> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ >> estCycleProcessor.java:197) >> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) >> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) >> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) >> at >> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 >> ) >> at >> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: >> 160) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) >> at >> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja >> va:1146) >> at >> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap >> per.java:592) >> at >> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr >> apper.java:525) >> at >> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) >> at >> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269) >> at >> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831 >> ) >> at >> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 >> 478) >> at >> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 >> 33) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio >> n(HttpInboundLink.java:458) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio >> n(HttpInboundLink.java:387) >> at >> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC >> LReadCallback.java:102) >> at >> com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallba >> ck.complete(SSLReadServiceContext.java:1818) >> at >> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai >> oReadCompletionListener.java:165) >> at >> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. >> java:217) >> at >> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu >> ture.java:161) >> at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) >> at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) >> at >> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java >> :751) >> at com.ibm.io.async.ResultHandler$2.run(ResultHandl
Re: CSS Change not being picked up when using TextTemplateResourceReference
Andrea Del Bene-2 wrote: > > Hi rush66, > > you are right, method getResource in TextTemplateResourceReference > reads resource just the first time you call it. You can override this > method like this: > > @Override > public IResource getResource(){ > if(Application.get().getConfigurationType() == > RuntimeConfigurationType.DEVELOPMENT) > return new TextTemplateResourceReference(getScope(), > getName()).getResource() > else > return super.getResource(); > } > Isn't there an issue with overriding the getResource() method in ResourceReference if it is marked as final? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3614468.html Sent from the Users forum 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: FW: Debugging page expired exception errors
if this was a load issue we would hear a ton of complaints on the list. -igor On Tue, Jun 21, 2011 at 5:37 AM, Brown, Berlin [GCG-PFS] wrote: > I posted this the other day, I think I have some more information. > > Is there a way to change the session secondlevel cache store and > possibly the default disk store such that there aren't collissions > between file writes/reads. > > I think in a high volume environment (lots of hits), I am getting this > pageexpiredexception because wicket is trying to access to the diskpage > store data the same time. > > E.g. Are multiple writes/reads allowed against the > diskpagestore/DiskPageStoreIndex? > > > - - > > I get two pageexpiredexception errors and I can't recreate the problem. > With an error like this, what would cause this type of page expired > exception error? > > Do you think that the page actually expired? Or is there something > wrong with writing or reading from the page map file on disk. > > > ERROR ONE: > > 2011-05-06 23:21:43,619 ERROR - > Cannot find the rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f > ield,versionNumber=0] > org.apache.wicket.protocol.http.PageExpiredException: Cannot find the > rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f > ield,versionNumber=0] > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ > estCycleProcessor.java:197) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1146) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap > per.java:592) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr > apper.java:525) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831 > ) > at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 > 478) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 > 33) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio > n(HttpInboundLink.java:458) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio > n(HttpInboundLink.java:387) > at > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC > LReadCallback.java:102) > at > com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallba > ck.complete(SSLReadServiceContext.java:1818) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai > oReadCompletionListener.java:165) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. > java:217) > at > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu > ture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) > at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java > :751) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) > > > ERROR TWO: > > Request cannot be processed > org.apache.wicket.protocol.http.PageExpiredException: Request cannot be > processed > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ > estCycleProcessor.java:163) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1146) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap > per.java:592) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr > apper.java:525) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ
RE: FW: Debugging page expired exception errors
What do you think about older versions? 1.4 era. I will try the load tests. -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, June 21, 2011 8:40 AM To: users@wicket.apache.org Subject: Re: FW: Debugging page expired exception errors we have a unit test that starts 20 threads which read and write randomly and there is no problem. DiskDataStoreTest (Wicket 1.5) On Tue, Jun 21, 2011 at 3:37 PM, Brown, Berlin [GCG-PFS] wrote: > I posted this the other day, I think I have some more information. > > Is there a way to change the session secondlevel cache store and > possibly the default disk store such that there aren't collissions > between file writes/reads. > > I think in a high volume environment (lots of hits), I am getting this > pageexpiredexception because wicket is trying to access to the > diskpage store data the same time. > > E.g. Are multiple writes/reads allowed against the > diskpagestore/DiskPageStoreIndex? > > > - - > > I get two pageexpiredexception errors and I can't recreate the problem. > With an error like this, what would cause this type of page expired > exception error? > > Do you think that the page actually expired? Or is there something > wrong with writing or reading from the page map file on disk. > > > ERROR ONE: > > 2011-05-06 23:21:43,619 ERROR - > Cannot find the rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel > :f > ield,versionNumber=0] > org.apache.wicket.protocol.http.PageExpiredException: Cannot find the > rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel > :f > ield,versionNumber=0] > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRe > qu > estCycleProcessor.java:197) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:4 > 84 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper. > ja > va:1146) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWr > ap > per.java:592) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(Servlet > Wr > apper.java:525) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:26 > 9) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:8 > 31 > ) > at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java > :1 > 478) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java > :1 > 33) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat > io > n(HttpInboundLink.java:458) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformat > io > n(HttpInboundLink.java:387) > at > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(Http > IC > LReadCallback.java:102) > at > com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCall > ba > ck.complete(SSLReadServiceContext.java:1818) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( > Ai > oReadCompletionListener.java:165) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. > java:217) > at > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannel > Fu > ture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) > at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.ja > va > :751) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) > > > ERROR TWO: > > Request cannot be processed > org.apache.wicket.protocol.http.PageExpiredException: Request cannot > be processed > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRe > qu > estCycleProcessor.java:163) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:4 > 84 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.
Re: Drop
Hi, FeanorsCurse wrote: > > Instead of using the getName()-method it's using toString, despite of what > is set in the property model. As far as I understand, this is because > getName() returns a String and not a UserAccountEntity itself. > ... > Any advice? > You can use a IChoiceRenderer and pass that to the DropDownChoice along with your Model and the List. The renderer is used to get the String to be displayed. - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Drop-tp3613805p3614012.html Sent from the Users forum 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: FW: Debugging page expired exception errors
we have a unit test that starts 20 threads which read and write randomly and there is no problem. DiskDataStoreTest (Wicket 1.5) On Tue, Jun 21, 2011 at 3:37 PM, Brown, Berlin [GCG-PFS] wrote: > I posted this the other day, I think I have some more information. > > Is there a way to change the session secondlevel cache store and > possibly the default disk store such that there aren't collissions > between file writes/reads. > > I think in a high volume environment (lots of hits), I am getting this > pageexpiredexception because wicket is trying to access to the diskpage > store data the same time. > > E.g. Are multiple writes/reads allowed against the > diskpagestore/DiskPageStoreIndex? > > > - - > > I get two pageexpiredexception errors and I can't recreate the problem. > With an error like this, what would cause this type of page expired > exception error? > > Do you think that the page actually expired? Or is there something > wrong with writing or reading from the page map file on disk. > > > ERROR ONE: > > 2011-05-06 23:21:43,619 ERROR - > Cannot find the rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f > ield,versionNumber=0] > org.apache.wicket.protocol.http.PageExpiredException: Cannot find the > rendered page in session > [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f > ield,versionNumber=0] > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ > estCycleProcessor.java:197) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1146) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap > per.java:592) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr > apper.java:525) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831 > ) > at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 > 478) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 > 33) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio > n(HttpInboundLink.java:458) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio > n(HttpInboundLink.java:387) > at > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC > LReadCallback.java:102) > at > com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallba > ck.complete(SSLReadServiceContext.java:1818) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai > oReadCompletionListener.java:165) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. > java:217) > at > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu > ture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) > at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java > :751) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) > > > ERROR TWO: > > Request cannot be processed > org.apache.wicket.protocol.http.PageExpiredException: Request cannot be > processed > at > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ > estCycleProcessor.java:163) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 > ) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: > 160) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1146) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap > per.java:592) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr > apper.java:525) > at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) > at >
FW: Debugging page expired exception errors
I posted this the other day, I think I have some more information. Is there a way to change the session secondlevel cache store and possibly the default disk store such that there aren't collissions between file writes/reads. I think in a high volume environment (lots of hits), I am getting this pageexpiredexception because wicket is trying to access to the diskpage store data the same time. E.g. Are multiple writes/reads allowed against the diskpagestore/DiskPageStoreIndex? - - I get two pageexpiredexception errors and I can't recreate the problem. With an error like this, what would cause this type of page expired exception error? Do you think that the page actually expired? Or is there something wrong with writing or reading from the page map file on disk. ERROR ONE: 2011-05-06 23:21:43,619 ERROR - Cannot find the rendered page in session [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f ield,versionNumber=0] org.apache.wicket.protocol.http.PageExpiredException: Cannot find the rendered page in session [pagemap=null,componentPath=2:contentPanelContainer:contentPanel:panel:f ield,versionNumber=0] at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ estCycleProcessor.java:197) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 ) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: 160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja va:1146) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap per.java:592) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr apper.java:525) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831 ) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 478) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 33) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio n(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio n(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC LReadCallback.java:102) at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallba ck.complete(SSLReadServiceContext.java:1818) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai oReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu ture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java :751) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) ERROR TWO: Request cannot be processed org.apache.wicket.protocol.http.PageExpiredException: Request cannot be processed at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequ estCycleProcessor.java:163) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 ) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java: 160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja va:1146) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap per.java:592) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr apper.java:525) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831 ) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 478) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 33) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio n(HttpInboundLink.java:458) at com.ibm.ws.ht
Re: idiosyncratic interfaces such as IModel, IVisitor
An interface is a piece of code one writes when they are too lazy to think of the implementation. An abstract Class is one where you have no idea how the hell you will complete the rest! An idiosyncratic interface is 1 to 1 relation with your class because the programmer did not have the guts to stand by his class and use it as a type directly (Interface as a Type) :) - Software documentation is like sex: when it is good, it is very, very good; and when it is bad, it is still better than nothing! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613551.html Sent from the Users forum 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: CSS Change not being picked up when using TextTemplateResourceReference
Hi rush66, you are right, method getResource in TextTemplateResourceReference reads resource just the first time you call it. You can override this method like this: @Override public IResource getResource(){ if(Application.get().getConfigurationType() == RuntimeConfigurationType.DEVELOPMENT) return new TextTemplateResourceReference(getScope(), getName()).getResource() else return super.getResource(); } Hi I've been working on rebranding our application using the TextTemplateResourceReference which is very useful. Though one issue that I am experiencing some issues with is that it seems when adding a stylesheet in this manner that changes made to the stylesheet are not being picked up without restarting the app server. The issue seems very similar to this post from some time ago. http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html It seems that the resource is read once and the resource stream is cached and not updated so changes to the file are not recognized until app server restart. Any suggestions to overcome this to have the CSS file re-read so changes are reflected while the app is running in development mode? Thanks -- View this message in context:http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3613064.html Sent from the Users forum 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: idiosyncratic interfaces such as IModel, IVisitor
Ok thank you. That has answered my question. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613492.html Sent from the Users forum 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: idiosyncratic interfaces such as IModel, IVisitor
I have expressed myself wrong. In the interface-based programming, general interfaces are classified into family interfaces and idiosyncratic interfaces. I looked up again and noticed that the word idiosyncratic is used only in Germany. Can anyone else tell me what the I stands for the interfaces? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613488.html Sent from the Users forum 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: idiosyncratic interfaces such as IModel, IVisitor
Am 21.06.2011 10:08, schrieb IO: Hi, in Wicket there are many idiosyncratic interfaces, such as IModel. I often see that these interfaces are implemented several times in a project. An idiosyncratic interface should be implemented only once in a project. Can someone explain that to me? IO. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html Sent from the Users forum 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 What are interfaces for? Hiding implementation details and define a contract? What is idiosyncratic? Or do you mean generic? Cheers Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: idiosyncratic interfaces such as IModel, IVisitor
Not sure what you're getting at. IModel is sort of hungarian notation: Interface for Model. Not idiosyncratic. Read the definition of Idiosyncratic Interfaces: "If a general interface is implemented by only one class (whose implementation may be modified over time, but with no two alternatives occurring in the same project), we call this interface idiosyncratic." The corollary is when multiple implementations exist of one interface, it is a Family Interface or general interface according to [1]. Just because one article suggests that all things named IFoo are idiosyncratic, doesn't mean it is the truth... Martijn [1] http://www.jot.fm/issues/issue_2005_07/article1/ On Tue, Jun 21, 2011 at 10:08 AM, IO wrote: > Hi, in Wicket there are many idiosyncratic interfaces, such as IModel . I > often see that these interfaces are implemented several times in a project. > An idiosyncratic interface should be implemented only once in a project. Can > someone explain that to me? > > IO. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html > Sent from the Users forum 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 > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: idiosyncratic interfaces such as IModel, IVisitor
What is idiosyncratic interface ? P.S. Sorry, I don't want to google it... On Tue, Jun 21, 2011 at 11:08 AM, IO wrote: > Hi, in Wicket there are many idiosyncratic interfaces, such as IModel . I > often see that these interfaces are implemented several times in a project. > An idiosyncratic interface should be implemented only once in a project. Can > someone explain that to me? > > IO. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html > Sent from the Users forum 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 > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
idiosyncratic interfaces such as IModel, IVisitor
Hi, in Wicket there are many idiosyncratic interfaces, such as IModel . I often see that these interfaces are implemented several times in a project. An idiosyncratic interface should be implemented only once in a project. Can someone explain that to me? IO. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html Sent from the Users forum 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: CSS Change not being picked up when using TextTemplateResourceReference
Hi, I've also had this problem when working with CSS-files, but my solution to the problem was to clear the cache in firefox in between updates to the CSS. Best regards, Johan Evelönn -Original Message- From: rush66 [mailto:jrlangs...@gmail.com] Sent: den 21 juni 2011 05:06 To: users@wicket.apache.org Subject: CSS Change not being picked up when using TextTemplateResourceReference Hi I've been working on rebranding our application using the TextTemplateResourceReference which is very useful. Though one issue that I am experiencing some issues with is that it seems when adding a stylesheet in this manner that changes made to the stylesheet are not being picked up without restarting the app server. The issue seems very similar to this post from some time ago. http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html It seems that the resource is read once and the resource stream is cached and not updated so changes to the file are not recognized until app server restart. Any suggestions to overcome this to have the CSS file re-read so changes are reflected while the app is running in development mode? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3613064.html Sent from the Users forum 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
CSS Change not being picked up when using TextTemplateResourceReference
Hi I've been working on rebranding our application using the TextTemplateResourceReference which is very useful. Though one issue that I am experiencing some issues with is that it seems when adding a stylesheet in this manner that changes made to the stylesheet are not being picked up without restarting the app server. The issue seems very similar to this post from some time ago. http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-td1877334.html It seems that the resource is read once and the resource stream is cached and not updated so changes to the file are not recognized until app server restart. Any suggestions to overcome this to have the CSS file re-read so changes are reflected while the app is running in development mode? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3613064.html Sent from the Users forum 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