Re: Problem with using wicket as a filter

2008-10-27 Thread Roberto Fasciolo
As expected, the name that is looked up is the part of the page URL that is after the context root (for example for a page located at http://localhost:8080/wickettest/page/Page1k it's /page/Page1k). Serkan Camurcuoglu wrote: > > can you put a breakpoint in ProxyDirContext and check what name is

Re: Problem with using wicket as a filter

2008-10-27 Thread Roberto Fasciolo
Well, I think I could but that's a tomcat internal class, so I should recompile the entire tomcat source tree and then run those tests against that. I'd rather try configuring wicket as a servlet and see if the problem is still there, but I'd like to know that are the drawbacks of doing it in tha

Re: Problem with using wicket as a filter

2008-10-27 Thread Roberto Fasciolo
Hi again, in addition to what I've already said I want to point out what I've found out by profiling two really simply applications serving just a page without any dynamic content, one using a wicket page and one using a JSP. The test was about having a small http client invoking that page with

Problem with using wicket as a filter

2008-10-26 Thread Roberto Fasciolo
Hi, I was profiling my application running on tomcat and I've found out that a lot of CPU time is spent in ProxyDirContext.lookup(String). After investigating the tomcat source code I've found that that method is invoked when tomcat is trying to figure out what it should invoke basing on the rece

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Roberto Fasciolo
1) Generifying* Wicket [X] Can best be done like currently in the 1.4 branch, where models and components are both generified. I care most about the improved static type checking generified models and components give Wicket. 2) How strongly do you feel about your choice above? [X] Whatever

Re: Strange thing in Application constructor

2008-03-12 Thread Roberto Fasciolo
I'm talking about acceptance tests executed using selenium against the real application (we don't use WicketTester at all). What kind of patch do you have? -Roberto Mr Mean wrote: > > Are you talking about test behavior or real life app behavior? > > Maurice > -- View this message in cont

Re: Strange thing in Application constructor

2008-03-11 Thread Roberto Fasciolo
after your tests...do your test cases > always cleanup/invalidate the session? if not then servlet container > will keep the session around until it times out... > > -igor > > On Mon, Mar 3, 2008 at 9:29 AM, Roberto Fasciolo > <[EMAIL PROTECTED]> wrote: >> >> I

Re: Strange thing in Application constructor

2008-03-03 Thread Roberto Fasciolo
I think Session has also the responsibility of verifying if a component can be instantiated. But anyway, I'm asking all these questions because I'm hunting a memory leak in my application and I've found that after running a 120+ tests selenium test suite I've 20+ sessions still in memory retained

Re: Strange thing in Application constructor

2008-03-02 Thread Roberto Fasciolo
.vaynberg wrote: > > it is that way so you can have a different auth strategy per session > by overriding sesssion.getauthstrat() > > -igor > > > On Sun, Mar 2, 2008 at 1:57 AM, Roberto Fasciolo > <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >&g

Strange thing in Application constructor

2008-03-02 Thread Roberto Fasciolo
Hi, while trying profiling and debugging our application (which seems to have some memory leak problems) I've found a strange thing in the constructor of org.apache.wicket.Application. When the object is constructed a new component instantiation listener is created with this code:

Re: Wicket creating a session for authorization even if no user signed in

2008-02-27 Thread Roberto Fasciolo
ated > an attacker cannot grow the session infinitely > > -igor > > > On Wed, Feb 27, 2008 at 11:10 AM, Roberto Fasciolo > <[EMAIL PROTECTED]> wrote: >> >> Our application is totally hidden behind authentication, so in our case >> the >&g

Re: Wicket creating a session for authorization even if no user signed in

2008-02-27 Thread Roberto Fasciolo
ull (= user not in any role) if the user never signed in before. igor.vaynberg wrote: > > wicket uses session to store pages, so creating a session is > orthogonal to authorizing/authenticating a user > > -igor > > On Wed, Feb 27, 2008 at 9:04 AM, Roberto Fasciolo &g

Wicket creating a session for authorization even if no user signed in

2008-02-27 Thread Roberto Fasciolo
Hi, I noticed some strange behavior on my webapplication that has authorization in place (by using Roles). It seems that Wicket creates a session for checking the role of the user even the user has not logged in. I'd guess the preferred behavior would be that wicket would in this occasion first

Testing ModalWindows with Selenium

2008-01-29 Thread Roberto Fasciolo
Hi all, I'm trying testing an application using modal windows with selenium but it seems I can't find a good way. Has someone ever done something like that? Basically, my problem is that I can access the ModalWindow using: selenium.selectWindow("modal-dialog-pagemap"); but I can't verify if the

Re: Changing content of a page from a modal window

2008-01-12 Thread Roberto Fasciolo
atej > > On Jan 12, 2008 5:26 PM, Roberto Fasciolo <[EMAIL PROTECTED]> > wrote: >> >> Hello, >> >> I'm trying to find a way for doing this: >> - in page A there's a table with many elements, all having a link >> - that link opens a mod

Changing content of a page from a modal window

2008-01-12 Thread Roberto Fasciolo
Hello, I'm trying to find a way for doing this: - in page A there's a table with many elements, all having a link - that link opens a modal window with details of the selected element - in the modal window there's a link that should close the window itself and make the browser showing page B. Th