Re: [Wicket-user] Page processed twice

2006-08-02 Thread Johan Compagner
does the bookmarkable url change? is it still exactly where you first go too?johanOn 8/1/06, Justin Lee [EMAIL PROTECTED] wrote:-BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160 I'm up to date onhttps://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2I *am* using a bookmarkable link to get

Re: [Wicket-user] wicket:message

2006-08-02 Thread Igor Vaynberg
personallyinput type=submit value=wicket:i18n:my_key/looks better to mei was also just thinking aboutimg src=""> which would autocreate image component with a packaged ref. not sure about resolution rules yet but this would def be helpful to inline images/css quickly-IgorOn 8/1/06, Jean-Baptiste

[Wicket-user] automatic testing

2006-08-02 Thread Ittay Dror
Hi, What frameworks are suitable for automatic testing of wicket applications? I'm interested in functional, regression and performance tests. Is it tricky because of wicket's on-the-fly id generation? Thanks Ittay -- === Ittay Dror, Chief architect, openQRM

Re: [Wicket-user] automatic testing

2006-08-02 Thread Frank Bille
WicketTester (http://woogle.billen.dk/search/q/wickettester) is good for functional tests. FrankOn 8/2/06, Ittay Dror [EMAIL PROTECTED] wrote: Hi,What frameworks are suitable for automatic testing of wicket applications? I'm interested in functional, regression and performance tests.Is it tricky

Re: [Wicket-user] wicket:message

2006-08-02 Thread Martijn Dashorst
On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i was also just thinking about img src=wicket:packaged:foo.gif which would autocreate image component with a packaged ref. not sure about resolution rules yet but this would def be helpful to inline images/css quickly Would this also do

Re: [Wicket-user] automatic testing

2006-08-02 Thread Juergen Donnerstag
and we are using jWebUnit in wicket-examples for in-container tests. Though the tests are quite simple. Wicket-Bench (eclipse IDE) support Selenium (http://www.openqa.org/selenium/) Performance tests: we deliver a servlet filter (either in the core or extension project) which provides response

Re: [Wicket-user] wicket:message

2006-08-02 Thread Juergen Donnerstag
yes it should. the same way packaged refs would. You provide foo.gif only to the packaged ref as well, right? Juergen On 8/2/06, Martijn Dashorst [EMAIL PROTECTED] wrote: On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i was also just thinking about img src=wicket:packaged:foo.gif

Re: [Wicket-user] automatic testing

2006-08-02 Thread Ittay Dror
thanx, reply inline Juergen Donnerstag wrote: and we are using jWebUnit in wicket-examples for in-container tests. Though the tests are quite simple. Wicket-Bench (eclipse IDE) support Selenium (http://www.openqa.org/selenium/) Performance tests: we deliver a servlet filter (either in the

Re: [Wicket-user] automatic testing

2006-08-02 Thread Frank Bille
On 8/2/06, Ittay Dror [EMAIL PROTECTED] wrote: in performance tests, i meant running test scenarios simultaneously. this is also for discovering threading issues.Well JMeter has proven quite useful when we (@work) tested AJAX functionality in Wicket. Frank

Re: [Wicket-user] automatic testing

2006-08-02 Thread Martijn Dashorst
jmeter, microsoft ACT (studio 2003). Google for 'an overview of load test tools'. Martijn On 8/2/06, Frank Bille [EMAIL PROTECTED] wrote: On 8/2/06, Ittay Dror [EMAIL PROTECTED] wrote: in performance tests, i meant running test scenarios simultaneously. this is also for discovering

Re: [Wicket-user] automatic testing

2006-08-02 Thread Joni Freeman
On Wed, 2006-08-02 at 10:30 +0300, Ittay Dror wrote: Hi, What frameworks are suitable for automatic testing of wicket applications? I'm interested in functional, regression and performance tests. We use wickettester (or something similar) for unit testing the models and listener methods.

[Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Nili Adoram
Hi all, I want to use a DateTextField but the model object is a Timestamp. However, the looking at the converters registry for a suitable converter is done with Date.class. Even though Timestamp extends java.util.Date it will never find a suitable converter and use a StringConverter. Please

Re: [Wicket-user] automatic testing

2006-08-02 Thread Martijn Dashorst
I tried grinder, but found that jmeter recording was more to my liking as it enables you to see the responses generated by Wicket. Martijn On 8/2/06, Joni Freeman [EMAIL PROTECTED] wrote: On Wed, 2006-08-02 at 10:30 +0300, Ittay Dror wrote: Hi, What frameworks are suitable for automatic

Re: [Wicket-user] wicket:message

2006-08-02 Thread Johan Compagner
+1 for this. i don't like that other extra approachExcept when we say we wat that page to be displayed ok with default values:input type=submit value=Default Value wicket:message=value:i18n:my_key/ that could be a possibility for me.johanOn 8/2/06, Igor Vaynberg [EMAIL PROTECTED]

[Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Dipu
Hi All,We are trying setup a suitable switch to SSL method for our Wicket application. I have read the wiki page regarding SSL switching:http://www.wicket-wiki.org.uk/wiki/index.php/Switch_to_SSL_modebut this does not solve our problem. We have apache and mod_proxy in front of Tomcat. Our

Re: [Wicket-user] Behavior cannot change 'enabled' property inonComponentTag

2006-08-02 Thread Johan Compagner
override isEnabled() for that or disable versioning for that component i think that should also work.You just can't alter properties of a component when in rendering because that would up the version number of the page. And then everything that was rendered before was rendered with the wrong

Re: [Wicket-user] HTML tools

2006-08-02 Thread Johan Compagner
aptna? url?i still don't get it why you all use such a bloated toolsEclispe WTP/Netbeand/Visual StudioWhat is wrong with notepad??johanOn 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yay, fight! i suggest eclipse wtp, also has great autocomplete in html and css! long live eclipse! if you dont

[Wicket-user] Schizophrenic Components (that suddenly change their Variation)

2006-08-02 Thread Stefan Arentz
I have a simple Panel that we call the QuickLogInPanel. This is a panel located in a 'side bar'. When the user is not logged in the panel shows a simple username/password form. After logging in I want to show just some text and a log out button. So I did this: public class QuickLogInPanel

Re: [Wicket-user] HTML tools

2006-08-02 Thread Martijn Dashorst
pss... you use notepad? I switch wires to edit a markup file... Martijn On 8/2/06, Johan Compagner [EMAIL PROTECTED] wrote: aptna? url? i still don't get it why you all use such a bloated tools Eclispe WTP/Netbeand/Visual Studio What is wrong with notepad?? johan On 8/2/06, Igor

Re: [Wicket-user] Schizophrenic Components (that suddenly change their Variation)

2006-08-02 Thread Juergen Donnerstag
I guess it is because Wicket caches the Markup associated with a Component. Wicket assumes that the associated Markup does not change once loaded, except if you change the markup file content itself, because the cache will be cleared than. I guess I would create two separate Panels for LoggedIn

Re: [Wicket-user] wicket.markup.html.tree.Tree is not suitable forvery big tree

2006-08-02 Thread Eelco Hillenius
Matej's tree (in extensions in 1.2 and the main project in 2.0) is such a tree too. It doesn't have the popups you are talking about, so you'd have to investigate how much work that would be. Probably quiet doable. Adopting a tree from e.g. DOJO is something you can do too. We don't have such a

Re: [Wicket-user] automatic testing

2006-08-02 Thread Eelco Hillenius
Second that. I had the best experiences with JMeter. It can be a bit weird when you start out, but if you follow this tutorial: http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-jmeter-p2.html you'll be up and running in no time. Eelco On 8/2/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I

Re: [Wicket-user] Issue with reusing a form/page

2006-08-02 Thread Igor Vaynberg
is it because you useString username = user[0] ; instead of user[i]?-IgorOn 8/1/06, Levy, Jeremy [EMAIL PROTECTED] wrote: The following code is used to display the results using a table/repeating view. The last column is used to add a link to do another lookup. I am having two

Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Igor Vaynberg
decorate the model to do the conversion or override getconver() onthe textfield-IgorOn 8/2/06, Nili Adoram [EMAIL PROTECTED] wrote:Hi all,I want to use a DateTextField but the model object is a Timestamp. However, the looking at the converters registry for a suitable converteris done with

Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Eelco Hillenius
Yeah. See for example wicket-examples/FormInput Eelco On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: decorate the model to do the conversion or override getconver() onthe textfield -Igor On 8/2/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I want to use a DateTextField but the

Re: [Wicket-user] wicket:message

2006-08-02 Thread Eelco Hillenius
Yeah, that's the nice thing about Cocoons approach: it doesn't screw up previewability. Eelco On 8/2/06, Johan Compagner [EMAIL PROTECTED] wrote: +1 for this. i don't like that other extra approach Except when we say we wat that page to be displayed ok with default values: input

Re: [Wicket-user] wicket:message

2006-08-02 Thread Igor Vaynberg
i dont know, the default value is worth it sure, but i really like wicket:message and wicket:packaged, etc. its a consistent way to modify tags attributes.so maybe even value=wicket:message:key:default, you lose the ability to use : for defalt but i think thats ok. the preview is not the greatest

Re: [Wicket-user] SSL Handoff in Wicket

2006-08-02 Thread Eelco Hillenius
I haven't read you whole message, but did you search through the mailing lists as well? I think there was a thread on this just last week. http://woogle.billen.dk/search/q/SSL Eelco On 8/2/06, Dipu [EMAIL PROTECTED] wrote: Hi All, We are trying setup a suitable switch to SSL method for

Re: [Wicket-user] HTML tools

2006-08-02 Thread Igor Vaynberg
its actually aptAna - not the easiest thing to remember unless you try tohttp://www.aptana.com/-IgorOn 8/2/06, Johan Compagner [EMAIL PROTECTED] wrote: aptna? url?i still don't get it why you all use such a bloated toolsEclispe WTP/Netbeand/Visual StudioWhat is wrong with notepad??johan On

Re: [Wicket-user] Schizophrenic Components (that suddenly change their Variation)

2006-08-02 Thread Igor Vaynberg
either switch panels or add both and override isvisible() on each one-IgorOn 8/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote:I haven't read it in detail, but variation is not meant for doing that kind of stuff (though it should work). Rather, use panels andreplacement (switch the panels).EelcoOn

[Wicket-user] url mounting and weird url:s

2006-08-02 Thread Mats Norén
I've noticed something weird that I can't explain. I've created my own RequestCycle by extending WebRequestCycle: public class DIFRequestCycle extends WebRequestCycle { transient Person user; public DIFRequestCycle(WebSession webSession, WebRequest webRequest, WebResponse response) {

Re: [Wicket-user] HTML tools

2006-08-02 Thread Scott Swank
vim -- Scott Swank reformed mathematician - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief

[Wicket-user] setEnable on filter component of FilteredPropertyColumn

2006-08-02 Thread Wilko Hische
Hi, I am using the ChoiceFilteredPropertyColumn from the wicket-extensions package and I would like to be able to freeze the selection for certain users. Would it be possible to setEnable( false ) for the filter component? I fiddled with overriding the getFilter method but without succes so

Re: [Wicket-user] automatic testing

2006-08-02 Thread Frank Bille
And remember to use the latest version. We had problems with jmeter slaves crashing too soon (couldn't even get them to overload the server ;))On 8/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Second that. I had the best experiences with JMeter. It can be a bitweird when you start out, but if

Re: [Wicket-user] Problem handling Double values

2006-08-02 Thread Johan Compagner
it is just a matter of rounding.. What to do ..On 8/2/06, Tom van Zummeren [EMAIL PROTECTED] wrote: Isn't this a problem out of our reach? Doubles are known to be not that accurate. Try to use a BigDecimal instead Tom From: [EMAIL PROTECTED] [mailto:[EMAIL

[Wicket-user] 1 form, 1 pojo + an additional field

2006-08-02 Thread Wilko Hische
Hi, I have a form to edit a pojo and an additional field that is not related to one of the pojo's properties. As far as I understand the form components are updating the form's compound model. My question is, do I have create a sort of adaptor containing this pojo reflecting all its properties

Re: [Wicket-user] 1 form, 1 pojo + an additional field

2006-08-02 Thread Igor Vaynberg
My question is, do I have create a sort of adaptor containing this pojoreflecting all its properties and this additional property or is their a smarter way? Is it possible for instance to give the FormComponent for thisadditional field its own PropertyModel (ie the page itself)?sure, why not? just

Re: [Wicket-user] 1 form, 1 pojo + an additional field

2006-08-02 Thread Wilko Hische
TX once more. I guess posing the question is answering it (almost in my case :-) Cheers, Wilko -- View this message in context: http://www.nabble.com/1-form%2C-1-pojo-%2B-an-additional-field-tf2042539.html#a5623223 Sent from the Wicket - User forum at Nabble.com.

Re: [Wicket-user] 1 form, 1 pojo + an additional field

2006-08-02 Thread Eelco Hillenius
Yeah. Check out the NewUserWizard example in wicket-examples/wizard. That is similar to what you want. Eelco On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: My question is, do I have create a sort of adaptor containing this pojo reflecting all its properties and this additional

[Wicket-user] How to change theme/skin/style on the fly by using ajax?

2006-08-02 Thread itsliang
Hi there, I can use the example code below to change the skin (a.k.a theme, style) of my web pages. I, however, wonder to know if it is possible to change my skin by using ajax link. Any idea would be appreciated. Link link = new Link(example) { public void onClick() {

Re: [Wicket-user] How to change theme/skin/style on the fly by using ajax?

2006-08-02 Thread Eelco Hillenius
What is the part that changes and why does it have to be ajax in this case? Also, Session#setStyle is a default Wicket way of 'skinning'; just like Wicket will pick up i18n files (e.g. FormInput_nl), it will pick up a style too. If you really want to do it the ajax way you probably have to remove