er.com/mtgrigorov
>
>
> On Thu, Jul 17, 2014 at 10:59 AM, rsi610
> wrote:
>
> > Any suggestions on the above issue ?
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Sessio
gestions on the above issue ?
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p434.html
> Sent from the Users forum mailing
Any suggestions on the above issue ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p434.html
Sent from the Users forum mailing list archive at Nabble.com
Session.unset();
}
}
The httpsession in the WicketSessionFilter is null.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-adde
Hi,
WicketSessionFilter#doFilter() code looks like:
@Override
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
throws IOException, ServletException
{
try
{
WebApplication application = bindApplication();
bindSession(request, application
WicketSessionFilter gets called..Also it has a session with it.
<http://apache-wicket.1842946.n4.nabble.com/file/n4666503/WicketSession.jpg>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been
Hi,
Put a breakpoint in WicketSessionFilter#doFilter() and see what happens.
Is it called at all ? Is there Session thread local ? Etc.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Jul 8, 2014 at 1:46 PM, rsi610 wrote:
> I have also added Session.
I have also added Session.get().bind() on page 1.. that also doesnt help
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p4666476.html
Sent from the Users forum mailing list
*.do
loadablePdf
/abc/def/ghi
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469.html
Sent from the Users forum mailing list archive at Na
that posts to the servlet. I think I'm supposed
to have HttpSession at the time.
Best,
Martin
- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
in the stack
there is the following code in WSF#bindSession():
ervlet. I think I'm supposed
> to have HttpSession at the time.
>
>
> Best,
> Martin
>
>
> - Цитат от Martin Grigorov (mgrigo...@apache.org), на
> 20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
> in the stack
>
>
> there is the following code i
session.
Afterwards I hit a button that posts to the servlet. I think I'm supposed
to have HttpSession at the time.
Best,
Martin
- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
in the stack
there is the following
Sorry, my mistake...
Session is not null at servlet. There I have:
session is: org.apache.catalina.session.StandardSessionFacade@412f4b
while the statement in logs from wicketsessionfilter is:
20-08-2011 13:25:57,753 DEBUG
yes, really session is null :O
at servlet:
req.getSession() returns null
and wicketsessionfilter in debug mode prints
20-08-2011 13:25:57,753 DEBUG
org.apache.wicket.protocol.http.servlet.WicketSessionFilter.bindSession:180
- could not set Wicket session: key null not found in
context and obtain a session.
> Afterwards I hit a button that posts to the servlet. I think I'm supposed
> to have HttpSession at the time.
>
>
> Best,
> Martin
>
>
> - Цитат от Martin Grigorov (mgrigo...@apache.org), на
> 20.08.2011 в 12:44 - the mapping i
ng is OK. we see WicketSessionFilter
in the stack
there is the following code in WSF#bindSession():
if (session == null)
{
if (logger.isDebugEnabled())
{
logger.debug("could not set Wicket session: key " + sessionKey +
" not found in http session for " +
((H
the mapping is OK. we see WicketSessionFilter in the stack
there is the following code in WSF#bindSession():
if (session == null)
{
if (logger.isDebugEnabled())
{
logger.debug("
my web.xml conf:
wicketFilter
org.apache.wicket.protocol.http.WicketFilter
applicationClassName
com.company.apps.appname.WebApp
filterPath
/
wicketFilter
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
th
> the wicket session.
>
>
> Here is my web.xml conf:
>
>
> wicketFilter
> org.apache.wicket.protocol.http.WicketFilter
>
>
> applicationClassName
> com.company.apps.appname.WebApp
>
>
> filterPath
> /
>
>
> wicketFilter
> /*
>
>
> wicketSessionFilter
&g
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
wicketSessionFilter
/friends
REQUEST
INCLUDE
friendsManager
com.company.apps.appname.servlet.FriendsManagerServlet
friendsManager
/friends
The exception "java.lang.IllegalStateException
;
> wicketFilter
>
> org.apache.wicket.protocol.http.WicketFilter
>
> applicationClassName
> com.company.apps.appname.WebApp
>
>
> filterPath
> /
>
>
>
>
com.company.apps.appname.WebApp
filterPath
/
wicketFilter
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
wicketSessionFilter
/friends
REQUEST
INCLUDE
Yes, it's wicket 1.5
https://issues.apache.org/jira/browse/WICKET-3769
https://issues.apache.org/jira/browse/WICKET-3769
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-ignorePaths-in-WicketFilter-tp3570291p3570704.html
Sent from the
equest)
> returns "wicket:WICKET_FILTER:"
> As a result of all this the wicket session is stored in HttpSession with
> attribute named
> "wicket:WICKET_FILTER:sessionWICKET_FILTER"
>
> On the other hand when the WicketSessionFilter is asked for the ses
ionWICKET_FILTER"
On the other hand when the WicketSessionFilter is asked for the session, it
forms it's own attribute value of the stored session:
Inside WicketSessionFilter.getSession() (line 208):
sessionKey = application.getSessionAttributePrefix(null, filterName) +
Session.SESSION_ATTRIBUTE_
Didn't work for me :(
-
nothing is impossible
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-empty-HttpSession-tp1888171p2136548.html
Sent from the Wicket - User mailing list archive at Nabbl
t;> Regards,
>> Erik.
>>
>>
>> Op 17-03-10 08:20, Jonas schreef:
>>>
>>> Thanks, Erik, that code would do the trick, too. I've implemented
>>> a different workaround, though. In the next release of wicket (1.4.8),
>>>
Wicket 1.4.8?
>
> Regards,
> Erik.
>
>
> Op 17-03-10 08:20, Jonas schreef:
>>
>> Thanks, Erik, that code would do the trick, too. I've implemented
>> a different workaround, though. In the next release of wicket (1.4.8),
>> WicketSessionFilter will '
1.4.8),
WicketSessionFilter will 'expose' both the session and the application, Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for picking that
up so quickly!
cheers,
Jonas
[1] https://issues.apache.org/jira/browse/WICKET-2778
On Tue, Mar 16, 2010 at 9:05 PM, Erik van Oosten wrote
Thanks, Erik, that code would do the trick, too. I've implemented
a different workaround, though. In the next release of wicket (1.4.8),
WicketSessionFilter will 'expose' both the session and the application, Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for pic
Hi Jonas,
Perhaps this is what you need:
http://cwiki.apache.org/WICKET/springbean-outside-wicket.html
Regards,
Erik.
Jonas wrote:
Hi all,
we're using WicketSessionFilter in our product to access
our custom WebSession, which works fine. Now we've tried
to also
I create a JIRA issue for this:
https://issues.apache.org/jira/browse/WICKET-2778
cheers,
Jonas
On Thu, Mar 11, 2010 at 1:10 PM, Jonas wrote:
> Hi all,
>
> we're using WicketSessionFilter in our product to access
> our custom WebSession, which works fine. Now we've trie
Hi all,
we're using WicketSessionFilter in our product to access
our custom WebSession, which works fine. Now we've tried
to also access the org.apache.wicket.Application (e.g. using
Session#getApplication or Application#get), which doesn't seem
to work, because the application isn
> >> > Thanks. I havent checked this behavior with other browsers. I
> will.
> >> > What
> >> > do you think is the best solution or approach to this problem?
> >> >
> >> > Fernando
> >>
> >> --
> >> View this
s. I will.
>> > What
>> > do you think is the best solution or approach to this problem?
>> >
>> > Fernando
>>
>> --
>> View this message in context:
>> http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26543760.html
>>
> Thanks. I havent checked this behavior with other browsers. I will.
> > What
> > do you think is the best solution or approach to this problem?
> >
> > Fernando
>
> --
> View this message in context:
> http://old.nabble.com/WicketSessionFilter-and-several-do
omain names anyway?
Bas
Fernando Wermus-2 wrote:
>
> Bas,
> Thanks. I havent checked this behavior with other browsers. I will.
> What
> do you think is the best solution or approach to this problem?
>
> Fernando
--
View this message in context:
http://old.nabble.c
other hand, I have set up the server with two dns manager, one
> > for
> > each domain.
> >
> > ---
> > | a page (from .com.ar) |
> > | |
> > | -- |
> > || a flex component
;
> ---
> | a page (from .com.ar) |
> | |
> | -- |
> || a flex component | |
> || (connects .com) | |
> ---
>
> Messag
.com) | |
---
MessageBrokerServlet, flex component back end, which needs
wicketSessionFilter to verify user authentication.
WicketSessionServletFilter which "injects" the session into
MessageBrokerServlet.
WicketFilter.
flex client ---> MessageBrokerServle
a debugger for finding out what's happening inside the
WicketSessionFilter.
Fernando Wermus-2 wrote:
>
> Bas,
> What I actually did was to login in .com and test the servlet I
> mentioned you. Then I logged out and logged in the site using .com.ar
> again.
> This seco
he domain from which it was set. Simply put: if a
> cookie gets set from the .com, it is not available on the .com.ar
>
> Bas
>
>
> Fernando Wermus-2 wrote:
> >
> > Hi all,
> > I have several domain for a site: .com and a .com.ar. I got to get
> the
> &
or a site: .com and a .com.ar. I got to get the
> session in a servlet using WicketSessionFilter for .com domain, but I
> failed
> in the another case. How come?
>
> thanks in advance.
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>
&
;> >I am using wicket and blazeds. The users logs in through wicket and
> >> they
> >> > use blazeds services as well. I need to verify in MessageBrokerServlet
> >> > (blazeds servlet) that the user has logged in. Then I added the
> >> > WicketS
; On Mon, Aug 3, 2009 at 9:59 AM, Fernando
>> Wermus wrote:
>> > Hi all,
>> > I am using wicket and blazeds. The users logs in through wicket and
>> they
>> > use blazeds services as well. I need to verify in MessageBrokerServlet
>> > (blazeds s
On Mon, Aug 3, 2009 at 9:59 AM, Fernando
> Wermus wrote:
> > Hi all,
> >I am using wicket and blazeds. The users logs in through wicket and
> they
> > use blazeds services as well. I need to verify in MessageBrokerServlet
> > (blazeds servlet) that the user has log
rServlet
> (blazeds servlet) that the user has logged in. Then I added the
> WicketSessionFilter to get the session. But I got a null pointer exception:
>
> java.lang.NullPointerException
> at
> org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(
Hi all,
I am using wicket and blazeds. The users logs in through wicket and they
use blazeds services as well. I need to verify in MessageBrokerServlet
(blazeds servlet) that the user has logged in. Then I added the
WicketSessionFilter to get the session. But I got a null pointer exception
ists() to check first, and only call
> >> Session.get() if Session.exists() returned true.
> >>
> >> -igor
> >>
> >> On Mon, Jul 27, 2009 at 9:45 AM, Altuğ B. Altıntaş
> >> wrote:
> >> > It is impossible, I can g
ş
>> wrote:
>> > It is impossible, I can get Session Id but then when I call servlet ' s
>> > doPost() method , WicketSessionFilter can not find the HttpSession.
>> >
>> > I mean :
>> >
>> > HttpSession httpSession = httpServletRequest.ge
> > It is impossible, I can get Session Id but then when I call servlet ' s
> > doPost() method , WicketSessionFilter can not find the HttpSession.
> >
> > I mean :
> >
> > HttpSession httpSession = httpServletRequest.getSession(false); //
> > WicketS
thats why i said use Session.exists() to check first, and only call
Session.get() if Session.exists() returned true.
-igor
On Mon, Jul 27, 2009 at 9:45 AM, Altuğ B. Altıntaş wrote:
> It is impossible, I can get Session Id but then when I call servlet ' s
> doPost() method , WicketSe
It is impossible, I can get Session Id but then when I call servlet ' s
doPost() method , WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket.1.3.6.jar
returns NULL.
so that my se
that means session has not yet been created. you should use
Session.exists() to test for this.
-igor
On Mon, Jul 27, 2009 at 7:38 AM, Altuğ B. Altıntaş wrote:
> Hi all ;
>
>
> I am working on WicketSessionFilter for a while and i have problem about
> accessing Wicket Sessio
Hi all ;
I am working on WicketSessionFilter for a while and i have problem about
accessing Wicket Session in my Servlet.
My question is :
In WicketSessionFilter.java (core class in wicket.1.3.6.jar) at doFilter()
method
HttpSession httpSession = httpServletRequest.getSession(false);
above
Thanks,
I figured it out. It was an example in the wicket-examples and the
HelloWorldServlet
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24343057.html
Sent from the Wicket - User mailing list archive at Nabble.com
Mathias,
This sounds similar to what I wrote on
http://cwiki.apache.org/WICKET/springbean-outside-wicket.html. Its not clear
from the javadoc, but I suspect that WicketSessionFilter also requires
access to a surrounding normal Wicket filter. If I had access to the code of
WicketSessionFilter
And right now I'll get an error if I call Session.get() in the servlet.
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24337449.html
Sent from the Wicket - User mailing list archive at Nabbl
Yes, sorry.
I want to access Wicket Session in my FileUploadServlet.
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24337445.html
Sent from the Wicket - User mailing list archive at Nabble.com
Any hints on why you're asking?
Mathias Nilsson wrote:
Whats wrong with this setup
http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLoc
-
To unsubscribe, e-
Whats wrong with this setup
http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4"
pplication
attached to current thread btpool0-1
at org.apache.wicket.Application.get(Application.java:177)
...
Any pointers on how to get around this? Is it possible to have the
WicketSessionFilter also bind the Application?
Thanks in advance! You guys are great.
ryan
org.apache.wicket.Application.get(Application.java:177)
...
Any pointers on how to get around this? Is it possible to have the
WicketSessionFilter also bind the Application?
Thanks in advance! You guys are great.
ryan
38 PM, Zappaterrini, Larry
<[EMAIL PROTECTED]> wrote:
> One more suggestion is to declare the filter so that it is invoked when
> request dispatcher methods are called:
>
>
> WicketSessionFilter
> *.do
> REQUEST
> INCLUDE
>
>
> I'm not sure if th
One more suggestion is to declare the filter so that it is invoked when
request dispatcher methods are called:
WicketSessionFilter
*.do
REQUEST
INCLUDE
I'm not sure if that is what is happening in this situation, but it
might be worth a shot.
-Original Message-
From:
> > On Wed, Jul 30, 2008 at 10:42 AM, Martijn Dashorst
>> > <[EMAIL PROTECTED]> wrote:
>> >> I think you have to wrap the wicket session filter around your *.do
>> >> mapping, not your new/* mapping.
>> >>
>> >> Martijn
>> >&
2008 at 11:35 AM, James Perry
> >> <[EMAIL PROTECTED]> wrote:
> >>> Hello!
> >>>
> >>> I would be grateful for any advice with the below problem I am
> >>> encountering with the WicketSessionFilter.
> >>>
> >>>
; I think you have to wrap the wicket session filter around your *.do
>> mapping, not your new/* mapping.
>>
>> Martijn
>>
>> On Wed, Jul 30, 2008 at 11:35 AM, James Perry
>> <[EMAIL PROTECTED]> wrote:
>>> Hello!
>>>
>>> I would be gratefu
I think you have to wrap the wicket session filter around your *.do
> mapping, not your new/* mapping.
>
> Martijn
>
> On Wed, Jul 30, 2008 at 11:35 AM, James Perry
> <[EMAIL PROTECTED]> wrote:
>> Hello!
>>
>> I would be grateful for any advice with t
ountering with the WicketSessionFilter.
>
> I managed to convince my colleagues to migrate our www.mypharmisis.com
> (a drug ordering system for the Pharmaceutical industry) from Struts
> to Wicket after the success of a greenfield project using Wicket. I
> don't have the resources to migrate a
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince my colleagues to migrate our www.mypharmisis.com
(a drug ordering system for the Pharmaceutical industry) from Struts
to Wicket after the success of a greenfield
nd while doing filter
> debug says that: 'could not set Wicket session: key
> wicket:/servlet:session not found in http session for /projectname,
> localhost. I don't have any idea what's wrong. Plz. help
>
> Pzdr. Legol
>
--
View this message in context:
http://
key wicket:/servlet:session not found
in http session for /projectname, localhost. I don't have any idea what's
wrong. Plz. help
Pzdr. Legol
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-problem-tp15225207p15225207.html
Sent from the Wicket - User mailing list a
stream. I was thinking about using a
WicketSessionFilter to help me do this. I am using wicket as a filter, and
it seems to save the wicket session as wicket:MyWicketApplication:session.
There is an init-param to the WicketSessionFilter to specify the middle part
of that key, however, it prepends a
On 8/25/07, Nick Ward <[EMAIL PROTECTED]> wrote:
> I want to have a separate servlet to go along with my wicket application
> that can serve streaming files. However, it needs to have access to the
> wicket session to know what to stream. I was thinking about using a
> WicketSes
I want to have a separate servlet to go along with my wicket application
that can serve streaming files. However, it needs to have access to the
wicket session to know what to stream. I was thinking about using a
WicketSessionFilter to help me do this. I am using wicket as a filter, and
it seems
76 matches
Mail list logo