difference between getSession().getLocale() and getRequest().getLocale()

2010-06-30 Thread David Meulemans
Hi

I've noticed a difference in getting the locale from the request and from
the session.
getSession().getLocale() shows "en"
but getRequest().getLocale() shows "en_GB". thus not only the language but
also the country.

Why is this, or what am I doing wrong perhaps?
Are there maybe other drawbacks related to the use of one of these?

I'm using wicket 1.4.1

grtz


@SpringBean not working for IModel implementations?

2010-06-29 Thread David Meulemans
Hi

I've got an implementation of the IModel interface and I want to inject a
Spring bean in it.

In the method public String getObject(); this object is null.

Is it impossible to inject Spring beans with @SpringBean?

thx in advance!

David


wicketstuff-push causing WicketRuntimeException component not found on Page

2010-06-23 Thread David Meulemans
Hi

I have a Listener object with a Map in it containing
org.apache.wicket.Component objects that need to be updated every time the
onChange(); method is called. For example caused by another user's actions.
This works perfectly with wicketstuff-push.

The org.apache.wicket.Component objects that need to be updated, have
org.apache.wicket.ajax.markup.html.AjaxLink objects.
Sometimes if I click on the one of the links, I get a WicketRuntimeException
telling me that the Link is not found on the Page.

Any suggestions?


ModalWindow SLL connection

2010-06-03 Thread David Meulemans
Hello

if you redirect from a ModalWindow to an external URL that uses SSL
connection, the browser doesn't recognizes this and the security lock-icon
is not shown.
Is their a workaround for this?

David


wicket clustering wicket-security

2010-06-01 Thread David Meulemans
I want to have multiple wicket applications to be clustered. Because I'm
using ehcache it is necessary to merge the applications into one .war file
because ehcache needs to be initiated in the same scope as the other
applications.Now the session is shared among all applications.
Is there a way to avoid this?