HybridUrlCodingStrategy SEO

2011-06-21 Thread Phil Franken
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

Re: HybridUrlCodingStrategy SEO

2011-06-21 Thread Martin Grigorov
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 phil.fran...@gmail.com wrote: I've mapped my home page to home usingHybridUrlCodingStrategy. Testing with

Re: HybridUrlCodingStrategy SEO

2011-06-21 Thread Phil Franken
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

CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread rush66
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

RE: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread Johan.Evelonn
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:

idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread IO
Hi, in Wicket there are many idiosyncratic interfaces, such as IModel T. 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:

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread Martin Grigorov
What is idiosyncratic interface ? P.S. Sorry, I don't want to google it... On Tue, Jun 21, 2011 at 11:08 AM, IO niezus...@googlemail.com wrote: Hi, in Wicket there are many idiosyncratic interfaces, such as IModel T. I often see that these interfaces are implemented several times in a project.

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread Martijn Dashorst
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

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread Mike Mander
Am 21.06.2011 10:08, schrieb IO: Hi, in Wicket there are many idiosyncratic interfaces, such as IModelT. 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. --

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread IO
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?

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread IO
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.

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread Andrea Del Bene
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() ==

Re: idiosyncratic interfaces such as IModel, IVisitor

2011-06-21 Thread Arjun Dhar
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

FW: Debugging page expired exception errors

2011-06-21 Thread Brown, Berlin [GCG-PFS]
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

Re: FW: Debugging page expired exception errors

2011-06-21 Thread Martin Grigorov
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] berlin.br...@primerica.com wrote: I posted this the other day, I think I have some more information. Is

Re: Drop

2011-06-21 Thread Hans Lesmeister 2
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

RE: FW: Debugging page expired exception errors

2011-06-21 Thread Brown, Berlin [GCG-PFS]
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

Re: FW: Debugging page expired exception errors

2011-06-21 Thread Igor Vaynberg
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] berlin.br...@primerica.com wrote: I posted this the other day, I think I have some more information. Is there a way to change the session secondlevel cache

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread rush66
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(){

Re: FW: Debugging page expired exception errors

2011-06-21 Thread Martijn Dashorst
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

RE: FW: Debugging page expired exception errors

2011-06-21 Thread Brown, Berlin [GCG-PFS]
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,

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread Andrea Del Bene
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:

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread rush66
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:

Re: callback versioning issue

2011-06-21 Thread bglynn
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

Forward button null pointer

2011-06-21 Thread Phil Franken
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:

Re: component rendering order

2011-06-21 Thread Nelson Segura
On Mon, Jun 20, 2011 at 9:59 AM, Igor Vaynberg igor.vaynb...@gmail.com 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

Strange problem with DateTextField

2011-06-21 Thread 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

Re: Strange problem with DateTextField

2011-06-21 Thread Peter Ertl
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 = +

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-21 Thread Andrea Del Bene
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

RE: HybridUrlCodingStrategy SEO

2011-06-21 Thread Jeffrey Schneller
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

Re: Drop

2011-06-21 Thread 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

Re: Strange problem with DateTextField

2011-06-21 Thread Noven
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