Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Martijn Dashorst
I ran into this myself, and the only solution I came up with is not to repeat the test multiple times. It appears that the client thread is not destroyed between repeats, and the servlet container (or Wicket, haven't looked into it) keeps on numbering as if the previous session still runs. Martij

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Joni Freeman
On Fri, 2006-10-27 at 14:49 +0800, Carfield Yim wrote: > When I use the robot to record the flow, jmeter captured the form is post to > > /wicket?wicket:interface=:1:userForm:1:IFormSubmitListener > > But later when I rerun the test, and it just throws 404 not found > error. When I go to that URL

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Carfield Yim
On 10/27/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > I ran into this myself, and the only solution I came up with is not to > repeat the test multiple times. > so you mean I cannot have load test if I use wicket that is kind of bad really bad Actually can I set the client thread

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Carfield Yim
> This is one of the reasons I prefer Grinder for performance testing. > With Grinder it is possible to programmatically follow links. A similar > problem may be when using Selenium IDE for acceptance testing, the tests > can't be repeated. Here Selenium RC is your friend. > But my friend complaint

[Wicket-user] mountBookmarkablePage

2006-10-27 Thread Nino Wael
Hi I have a page that are set as mountBookmarkablePage, and it gets its parameters from the   url etc http://localhost:8080/application/page/paramA/valueA/paramB/valueB   When my page has picked up the parameters i wish to clear them so that my url becomes something like http://localho

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Frank Bille
Hmm thats not our experience. Our opperationals guy did some loadtesting of Wicket using JMeter and I don't recall him having any problems with it. I'll try to ask him what he did.Frank On 10/27/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: I ran into this myself, and the only solution I came up

Re: [Wicket-user] mountBookmarkablePage

2006-10-27 Thread Igor Vaynberg
use absolute paths for your images and you wont have this problemor mount with a querystringurlcodingstrategy so your url will be application/page?parama=value¶mb=value-Igor On 10/27/06, Nino Wael <[EMAIL PROTECTED]> wrote: Hi I have a page that are set as mountBookmarkablePage, and it

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Martijn Dashorst
On 10/27/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > so you mean I cannot have load test if I use wicket that is kind > of bad really bad No, that is not what I mean... I just said that you can't set the threads to repeat. That doesn't prevent you from writing longer running tests,

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Nino Wael
Create a HTTP Cookie Manager, and clear cookies after each iteration.. Works here for us. BTW I could send our template if you want to. Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carfield Yim Sent: 27. oktober 2006 08:50 To: wicket-us

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Nino Wael
Look at my mail, you really can set the threads to repeat:) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martijn Dashorst Sent: 27. oktober 2006 09:42 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] How to make wicket testable at jmeter

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Joni Freeman
On Fri, 2006-10-27 at 15:28 +0800, Carfield Yim wrote: > But my friend complaint that Grinder's is not as stable as jmeter, let > me take a look first. It is stable, but it doesn't have an easy to use GUI to record the tests. There is a recording proxy but I do not know how well that works. I alwa

[Wicket-user] OT: How to make wicket testable at jmeter?

2006-10-27 Thread Carfield Yim
> tests. There is a recording proxy but I do not know how well that works. The recording proxy is exactly the part that my friend complaint about. - Using Tomcat but need to do more? Need to support web services, security? Ge

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Carfield Yim
On 10/27/06, Nino Wael <[EMAIL PROTECTED]> wrote: > Create a HTTP Cookie Manager, and clear cookies after each iteration.. Works > here for us. > that work, cool!!! > > BTW I could send our template if you want to. > sure like to take a look ---

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Nino Wael
You can get it here: http://s1.upload.sc/request/5ae8f5148c890325d37ffc8ace1c8536 since its larger than 1meg so I could not send it to this list. Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carfield Yim Sent: 27. oktober 2006 10:18 To:

[Wicket-user] Why form validators are private?

2006-10-27 Thread Alberto Bueno
I'm trying to overwrite the validateRequired of the Form, but this method is private. My problem is that I have two submit buttons: the first button is to insert the data into the database, and this button need to check the required fields. The another button is a confirm button that need to do

Re: [Wicket-user] mountBookmarkablePage

2006-10-27 Thread Nino Wael
Hmm, im not sure if I can have absolute urls and changing our mount method is too late now, I guess.   I did not tell the whole story in my mail some of the image urls are actually kept correct.   We have a component that are called helpLink, when attached to our page url comes our cor

Re: [Wicket-user] Why form validators are private?

2006-10-27 Thread Martijn Dashorst
button.setDefaultFormProcessing(false) public class Button extends FormComponent { /** * Sets the defaultFormProcessing property. When false (default is true), * all validation and formupdating is bypassed and the onSubmit method of * that button is called dir

Re: [Wicket-user] Why form validators are private?

2006-10-27 Thread Alberto Bueno
My problem is that the only validation that I don't want to do is the requiredValidation. I want to to the rest of the process. > button.setDefaultFormProcessing(false) > > public class Button extends FormComponent { > > /** >* Sets the defaultFormProcessing property. When false (de

[Wicket-user] Wicket changes relative urls to static ones - and messes up my deployment.

2006-10-27 Thread Christian Hvid
Hi there. Thanks for a great framework. Is it possible to control this behaviour or work around it? When I have this in my html template: And I deploy it in my servlet container (which is tomcat 5.5) it is changed to: That is: Wicket changes my relative URL into an absolute URL based on th

Re: [Wicket-user] Why form validators are private?

2006-10-27 Thread Johan Compagner
we could make the protected final so that you can add your own method that calls the validation methods you do want.On 10/27/06, Alberto Bueno < [EMAIL PROTECTED]> wrote:My problem is that the only validation that I don't want to do is the requiredValidation. I want to to the rest of the process.>

Re: [Wicket-user] Why form validators are private?

2006-10-27 Thread Alberto Bueno
It would be a very good idea. ;) > we could make the protected final so that you can add your own method > that calls the validation methods you do want. > > > On 10/27/06, *Alberto Bueno* < [EMAIL PROTECTED] > > wrote: > > My problem is that the only validation th

[Wicket-user] Wicket changes relative urls to static ones - and messes up my deployment

2006-10-27 Thread Christian Hvid
I am resending this one as there seem to be some problems with sourceforge's mailing lists and gmail: Hi there. Thanks for a great framework. Is it possible to control this behaviour or work around it? When I have this in my html template: And I deploy it in my servlet container (which is to

Re: [Wicket-user] Wicket changes relative urls to static ones - and messes up my deployment.

2006-10-27 Thread Frank Bille
HeyTake a look at:http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-HowtofixWicketgeneratedlinks FrankOn 10/27/06, Christian Hvid <[EMAIL PROTECTED]> wrote: Hi there.Thanks for a great framework.Is it possible to control this behaviour or work around it

Re: [Wicket-user] Wicket changes relative urls to static ones - and messes up my deployment

2006-10-27 Thread Frank Bille
http://www.nabble.com/Wicket-changes-relative-urls-to-static-ones---and-messes-up-my-deployment.-tf2519507.html :)On 10/27/06, Christian Hvid <[EMAIL PROTECTED]> wrote: I am resending this one as there seem to be some problems withsourceforge's mailing lists and gmail:Hi there.Thanks for a great fr

[Wicket-user] How to remove a behavior

2006-10-27 Thread Alberto Bueno
I'm trying to remove a behavior from a component, but the method getBehaviors returns an unmodifiableList and I cannot remove the behavior. My problem if that the rendering of a component depends of a mode, and if the mode is "view" then the component have a AbstractTransformerBehavior (to change

Re: [Wicket-user] How to remove a behavior

2006-10-27 Thread Martijn Dashorst
Disable the modifier by overriding the isEnabled() method of the behavior. Martijn On 10/27/06, Alberto Bueno <[EMAIL PROTECTED]> wrote: > I'm trying to remove a behavior from a component, but the method > getBehaviors returns an unmodifiableList and I cannot remove the behavior. > My problem if

Re: [Wicket-user] Wicket changes relative urls to static ones - and messes up my deployment.

2006-10-27 Thread Christian Hvid
Thank you. That did it. I only noticed the new wiki now; it is beautiful. On 10/27/06, Frank Bille <[EMAIL PROTECTED]> wrote: > Hey > > Take a look at: > > http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-HowtofixWicketgeneratedlinks > > Frank > > >

Re: [Wicket-user] Why form validators are private?

2006-10-27 Thread Eelco Hillenius
Please add a feature request in JIRA so that we don't forget about it. Eelco On 10/27/06, Alberto Bueno <[EMAIL PROTECTED]> wrote: > It would be a very good idea. ;) > - Using Tomcat but need to do more? Need to support web

Re: [Wicket-user] TextTemplate For CSS Generation?

2006-10-27 Thread Eelco Hillenius
You could take a look at wicket.extensions.util.resource.TextTemplateSharedResourceFactory method resourceReference. Eelco On 10/25/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote: > I'm new to wicket so bear with me... > > I want our base page to generate a tag back to the Wicket object > which wi

Re: [Wicket-user] location.href not working on button

2006-10-27 Thread Eelco Hillenius
Never encountered this. If you have it reproducable and think it is something Wicket could fix, please share. Eelco On 10/23/06, Steve Knight <[EMAIL PROTECTED]> wrote: > Hello, > > I have a Cancel button in my forms that, when clicked, should redirect the > user back to the previous page. This

Re: [Wicket-user] TextTemplate For CSS Generation?

2006-10-27 Thread Jonathan Sharp
Thanks for all of the responses, here's what I ended up doing. (If there's a better wicket way please feel free to correct me)public class StyleSheet extends WebPage {    public StyleSheet() {        String css = "#antiFooter{ border: 5px solid green; }";                 StringResourceStream stream

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-27 Thread Otan
is it the issue described in the entry "best practices and gotchas" in the wiki? This is horrible if it can still happen in 1.2.2. Maybe, this is a feature and not a bug.*PEACE OUT*  :-) On 27/10/06, Flavius <[EMAIL PROTECTED]> wrote: I found the issue.I'm putting the images in for the home page.On

Re: [Wicket-user] mountBookmarkablePage

2006-10-27 Thread Igor Vaynberg
I got it working J I must say that sometimes I wish I had a parrot as most of my problems seems to be solved when trying to explain what Im trying to doJ :)-igor - Using Tomcat but need to do more? Need to support web services

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-27 Thread Igor Vaynberg
yes it is the issue.this is nothing we can really fix - it is the browser's fault. i think only firefox does this but i dont remember for sure. i dont see why when it encounters src="" on an img it sends another request to the url that generated the page. seems silly. they prob dont check for the e

Re: [Wicket-user] TextTemplate For CSS Generation?

2006-10-27 Thread Eelco Hillenius
I wouldn't make it a page. I think TextTemplateSharedResourceFactory or other using one of the other classes in that package is better. If you don't want to use that, you would still be better off creating a resource for it and serving that through a component (see ResourceLink for how you could do

Re: [Wicket-user] AjaxTabbedPanel is broken (wicket-1.2.2)

2006-10-27 Thread Matej Knopp
I remember making AjaxTabbedPAnel not versioned couple of days ago, which solved this problem. Still should be done for AjaxFallbackDefaultDataTable. It doesn't make sense to use versioning with ajax components. -Matej Ingram Chen wrote: > I found that this issue: > > http://www.nabble.com/--

[Wicket-user] submit through Enter will ignore AjaxSubmitButton

2006-10-27 Thread deafwolf
hello, I have wrote a form on the page, it only have one TextField and one IndicatingAjaxSubmitButton, I input some text in the TextField and click Enter, the page will refresh but not submit, the button work well. I'm using wicket1.2.2, this problem happen in IE6. In FireFox, click Enter will su

Re: [Wicket-user] AjaxTabbedPanel is broken (wicket-1.2.2)

2006-10-27 Thread Igor Vaynberg
i dont see why this has to be done on a component level - i thought our ajax request target disabled versioning while it was executing???-igorOn 10/27/06, Matej Knopp <[EMAIL PROTECTED]> wrote:I remember making AjaxTabbedPAnel not versioned couple of days ago, which solved this problem. Still shou

Re: [Wicket-user] submit through Enter will ignore AjaxSubmitButton

2006-10-27 Thread Igor Vaynberg
this is a browser "feature"what you can do is add the behavior below to all textfields in the form/** * Behavior that traps the enter key press *  * @author ivaynberg */public class EnterKeyTrap extends AbstractBehavior implements IHeaderContributor {     @Override    public void onComponentTag(Com

[Wicket-user] getting pageParameters in a panel

2006-10-27 Thread Korbinian Bachl
Hi,   ive got a small problem, in wich im not sure how to solve it:   Ive got a own IRequestStrategy that uses requestParameters and have a form-panel in the masterlayout that uses this submit:   @Override    public void onSubmit()     {    String suchFeld = getSuchfeld();

Re: [Wicket-user] getting pageParameters in a panel

2006-10-27 Thread Igor Vaynberg
String querystring=((WebRequest)getRequest()).getHttpServletRequest().getQueryString();PageParameters p=new PageParameters(querystring,"&");try that-igor On 10/27/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: Hi,   ive got a small problem, in wich im not sure how to solve it:   Ive got a own

Re: [Wicket-user] getting pageParameters in a panel

2006-10-27 Thread Korbinian Bachl
Thank you very much igor,   you saved my day ! :)   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Freitag, 27. Oktober 2006 18:50An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] getting pageParameters in a panel Stri

Re: [Wicket-user] AjaxTabbedPanel is broken (wicket-1.2.2)

2006-10-27 Thread Matej Knopp
Yes, but reloading of page means removing / creating children, thus increasing page version. Though the url didn't change. -Matej Igor Vaynberg wrote: > i dont see why this has to be done on a component level - i thought our > ajax request target disabled versioning while it was executing??? >

Re: [Wicket-user] AjaxTabbedPanel is broken (wicket-1.2.2)

2006-10-27 Thread Igor Vaynberg
but when you reload the page it is not an ajax request - so it should be versioned!the ajax urls should not be targetted at a specific page version so it should all work no?-igor On 10/27/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Yes, but reloading of page means removing / creating children, thusi

[Wicket-user] mainland respect

2006-10-27 Thread Elinor Nolan
Product offers quiet operation under extreme conditions. Product offers quiet operation under extreme conditions. beating them out of the gate is new-kid on the . Including automation features such as SCPI and C-library, multi-port product enables traffic generation, filtering, and analysis. R

Re: [Wicket-user] Gwyn, Igor...any comments?

2006-10-27 Thread Igor Vaynberg
had time to take a peek. looks neat. curious, why do you need to clear databasesession? like in count the first thing you do is dbSess.clear(); ? or why are you using it as a singleton? why not session-per-request? or a threadlocal? if you are going to use this to sell shades to noobs i would chang

[Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-10-27 Thread Andrew Berman
Hello,Here is my setup:1.  I have an AuthorizationStrategy which checks a page to see if the SIgnIn is required.  If it is, it throws a RestartResponseAtInterceptPageException to my SignInPage.2.  I have a page which has a form which does some validation and when you click submit it goes to a page

Re: [Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-10-27 Thread Igor Vaynberg
original destination is the url - the page that the form is onthe exception does not remember params submitted via post - this does pop up now and then, any reason why you dont do the auth check before the form submit? thats the easy way out the hard way out is to submit an rfe to our jira, and eve

Re: [Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-10-27 Thread Andrew Berman
Igor,For the onSubmit of the form's button, though, I do a setResponsePage(MyPageThatRequiresSignIn.class);So shouldn't the original destination be the page I'm trying to go to?--Andrew On 10/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: original destination is the url - the page that the form is

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-27 Thread Dummy Email Address
Someone has already reported this issue to mozilla. The bug id is  357103 The status of the bug is UNCONFIRMED and is assigned to [EMAIL PROTECTED].  Let's vote for this issue to get it fixed.On 27/10/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:yes it is the issue.this is nothing we can really fi

[Wicket-user] shades feedback

2006-10-27 Thread Geoff hendrey
-- Message: 1 Date: Fri, 27 Oct 2006 16:58:24 -0400 From: Elinor Nolan <[EMAIL PROTECTED]> Subject: [Wicket-user] mainland respect To: wicket-user@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain;

[Wicket-user] how to get as string the page's rendered markup

2006-10-27 Thread Otan
I want to save into a file the wicket page's renderded markup before it respond to the user's request. Can someone give me a hint how to do this? Thanks. - Using Tomcat but need to do more? Need to support web services, securit