Hi,
We're running Wicket 1.4.9 on GlassFish 2.1 behind an Apache server running on
port 80.
In several Apache virtual hosts we use JkMount to mount the GlassFish
applications.
I just found out this raises a problem: Wicket sets the session cookie path to
the servlet contextpath "/MyProject" by
Found a (non-Wicket) solution using sun-web.xml:
http://markmail.org/message/hi6ecymqdh7gyi4y
On 29 jul 2010, at 14:02, Pepijn de Geus wrote:
> Hi,
>
> We're running Wicket 1.4.9 on GlassFish 2.1 behind an Apache server running
> on port 80.
> In several Apache virtual hos
Hi all,
I'm working on a website were the customer can enable a splash page that will
be displayed once per session to every visitor entering the site.
To achieve this, I've added a small session check with a to my BasePage, which
is the parent of all webpages:
if (!getSession().isSplashShown()
Cookie itself can handle that: Cookie#setDomain(String).
For session cookies, you can use the sun-web.xml, at least in GlassFish:
http://download.oracle.com/docs/cd/E19776-01/820-4502/6nfvbc8id/index.html
On 2 feb 2011, at 04:38, Paolo wrote:
> Hi,
> I want add a cookie, and I saw on this site,
Construct the FeedbackPanel with a filter, either a
ComponentFeedbackMessageFilter or ContainerFeedbackMessageFilter.
On 2 feb 2011, at 13:27, Duro wrote:
> Hello,
> in my FeedbackPanel, which is created inside PropertyListView I experience
> this behaviour. Each item , which is created in the
Hi all,
I'm working on a mobile website to be accessed by all kinds of devices,
including the Nokia N95.
While testing we found out certain links were not working on the N95, while
other devices and desktop browsers worked fine. I started a tcpdump and
narrowed the problem to a redirect Wicket
running your application in different web container. I remember some
> version of Tomcat to had that problem.
> Per JEE spec it is container's responsibility to make the redirect url
> absolute.
>
> On Tue, Feb 22, 2011 at 8:13 PM, Pepijn de Geus wrote:
>
>> Hi all,
&g
Storing the User in a static field doesn't seem wise: the static field is
shared between all session instances, so this will break.
Besides that, I'd advise not to store the User instance itself in the session,
but only the user ID (or username, or email). The User instance can be cached
in a tr
The Wicket websession has a static .get(), which will always return the
ThreadLocal session instance for the current user.
So you can use that and cast the result to your session, or add your own get()
to your session:
public static MySession get() {
return (MySession) WebSession.get();
If you use WiQuery (which we do too, it's great), you can just let your
component (Panel, WebMarkupContainer, Page) implement IWiQueryPlugin and
implement statement().
On 13 jul 2011, at 20:01, Martin Grigorov wrote:
> Browse the sources at
> https://github.com/wicketstuff/core/tree/master/jdk
10 matches
Mail list logo