Re: [Wicket-user] proof of concept app

2006-10-16 Thread Scott Swank
I had thought that I indicated the panel needed to respond to the Ajax onSubmit() via target.addComponent() -- but then I'm still figuring out how some of these pieces fit together. I do update the model underlying the cart panel in the onSubmit() method of the form, however I'm not sure how to

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Eelco Hillenius
I haven't worked with modal windows yet (though I like em!) but did you try to create one with a panel? That panel could just be a private class, and could reference theCartPanel or you could pass theCartPanel to it's constructor, and adding it to the ajax request target should work fine. The

Re: [Wicket-user] timeout event

2006-10-16 Thread Ayodeji Aladejebi
well i am working on a tiny wicket ajax chat component and i need a way for the other forum members to know when a participant of the chat forum leaves either by logging off (easy) or by leaving his web page idle until his session times out , which is where i am not sure where to start but let me

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Anders Peterson
Why? Martijn Dashorst wrote: The Wicket team is proud to announce that we are starting the process of joining the Apache Software Foundation. When projects first move to Apache, they are housed at the Apache Incubator. The Incubator helps incoming projects migrate to the vibrant Apache

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Gwyn Evans
On 16/10/06, Anders Peterson [EMAIL PROTECTED] wrote: Why? Discussed on the mailing list (e.g. http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but http://wiki.apache.org/incubator/WicketProposal covers what we felt were the main reasons. /Gwyn Martijn Dashorst wrote: The

[Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Has anybody used htmlunit (or jwebunit) with success to create a functional test for a wicket application that contains ajax code? In a few words: I have a html page with a select element inside. When I select an option from this, an ajax request is made on the server and an input text appears on

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Martijn Dashorst
No, The problem is that dom and javascript are not completely implemented in both frameworks. For functional tests I advise to use Selenium instead. Martijn On 10/16/06, Decebal Suiu [EMAIL PROTECTED] wrote: Has anybody used htmlunit (or jwebunit) with success to create a functional test

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Pierre-Yves Saumont
Until now, it has been impossible for me to do a clean checkout from Apache. The connexion is closed by the server well before the checkout is complete. :-( Here is the error I get : Error: REPORT request failed on '/repos/asf/!svn/vcc/default' Error: REPORT of '/repos/asf/!svn/vcc/default':

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Ok, Selenium Remote Control with junit works in this case? Any example, advice or success story? Thanks, Decebal --- Martijn Dashorst [EMAIL PROTECTED] wrote: No, The problem is that dom and javascript are not completely implemented in both frameworks. For functional tests I advise to

Re: [Wicket-user] timeout event

2006-10-16 Thread Eelco Hillenius
Alternatively, you could provide your own IHttpSessionStore. If you extend from HttpSessionStore or AbstractHttpSessionStore, you'll get a callback on onUnbind. You can't depend on the httpsession at that time, as it is being cleaned up, maybe already half way, but if you keep references to the

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Upayavira
Pierre-Yves Saumont wrote: Until now, it has been impossible for me to do a clean checkout from Apache. The connexion is closed by the server well before the checkout is complete. :-( Here is the error I get : Error: REPORT request failed on '/repos/asf/!svn/vcc/default' Error: REPORT

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Martijn Dashorst
I haven't used RC yet. I just know and have experienced that a manual start of the tests works perfectly together with ajax testing. Martijn On 10/16/06, Decebal Suiu [EMAIL PROTECTED] wrote: Ok, Selenium Remote Control with junit works in this case? Any example, advice or success story?

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Thanks Martijn, Decebal --- Martijn Dashorst [EMAIL PROTECTED] wrote: I haven't used RC yet. I just know and have experienced that a manual start of the tests works perfectly together with ajax testing. Martijn On 10/16/06, Decebal Suiu [EMAIL PROTECTED] wrote: Ok, Selenium

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Pierre-Yves Saumont
It works much better with http ;-) Gwyn Evans a écrit : As Upayavira says, try with http see if that makes a difference? If not, I'm not sure - What client is that? Maybe try from a command-line client, if not already? I checked it with svn co

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Upayavira
Pierre-Yves Saumont wrote: It works much better with http ;-) Great. https (while it may sometimes work) is really only intended for use when you are committing. Regards, Upayavira - Using Tomcat but need to do more?

Re: [Wicket-user] timeout event

2006-10-16 Thread Ayodeji Aladejebi
thank you eelco. that is more like it On 10/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Alternatively, you could provide your own IHttpSessionStore. If you extend from HttpSessionStore or AbstractHttpSessionStore, you'll get a callback on onUnbind. You can't depend on the httpsession at

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Scott Swank
Are there any reasons not to add an additional reference to the cart panel on the page, so that I could then do something simple like: ((MyPage)getPage()).getCartPanel() Does Wicket have any sort of assumptions about it only it maintaining references between components, such that the above

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Eelco Hillenius
Nope, that would be fine. Just be careful no to keep references to stale pages and stuff. Eelco On 10/16/06, Scott Swank [EMAIL PROTECTED] wrote: Are there any reasons not to add an additional reference to the cart panel on the page, so that I could then do something simple like:

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Scott Swank
Gotcha. Much appreciated. On 10/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, that would be fine. Just be careful no to keep references to stale pages and stuff. Eelco On 10/16/06, Scott Swank [EMAIL PROTECTED] wrote: Are there any reasons not to add an additional reference to

[Wicket-user] Move to Apache: Namespace?

2006-10-16 Thread Stefan Lindner
This question is currently not so very imnportant but, for XHTML users, will the xmlns:wicket=http://wicket.sourceforge.net/ wicket namespace change too? Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need

Re: [Wicket-user] Move to Apache: Namespace?

2006-10-16 Thread Frank Bille
I normally use xmlns:wicket=http://www.wicketframework.org and IMHO it will stay the same.FrankOn 10/16/06, Stefan Lindner [EMAIL PROTECTED] wrote: This question is currently not so very imnportant but, for XHTML users, will thexmlns:wicket=http://wicket.sourceforge.net/wicket namespace change

[Wicket-user] How to reload page from within ajax call

2006-10-16 Thread De Soca
Hello all, I may be missing something basic, however I have a dirty flag within a page so that if the data has changed, on the next request the page is refreshed. The link clicked is an Ajax link within the AjaxTabbedPanel. Everything else works fine. I have tried the following: 1.

Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread Igor Vaynberg
what version of wicket are you using? i thought we added support for setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it will be in 1.2.3-IgorOn 10/16/06, De Soca [EMAIL PROTECTED] wrote: Hello all,I may be missing something basic, however I have a dirty flag within a pageso

Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread Frank Bille
We did add support for it in 1.2.2. Is that the version you use, De Soca?FrankOn 10/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:what version of wicket are you using? i thought we added support for setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it will be in 1.2.3-IgorOn

Re: [Wicket-user] Move to Apache: Namespace?

2006-10-16 Thread Upayavira
Frank Bille wrote: I normally use xmlns:wicket=http://www.wicketframework.org; and IMHO it will stay the same. Frank On 10/16/06, * Stefan Lindner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This question is currently not so very imnportant but, for XHTML users,

[Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Caleb Land
I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX. When rendering the component though the normal process (not ajax) it is only called once. Here are the two places it's getting called:The

Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-16 Thread Caleb Land
For some reason if the _javascript_ is rendered in the component's onRender(MarkupStream) method (as opposed to rendering the _javascript_ through a behavior) the _javascript_ is executed correctly. This is strange because when I look at the ajax debug window and compare the ajax responses of the

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Caleb Land
On 10/16/06, Caleb Land [EMAIL PROTECTED] wrote: I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX. When rendering the component though the normal process (not ajax) it is only called once. Here are the two places it's

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Igor Vaynberg
yes its a bug, please file it-igorOn 10/16/06, Caleb Land [EMAIL PROTECTED] wrote: On 10/16/06, Caleb Land [EMAIL PROTECTED] wrote: I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX. When rendering the component

Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread De Soca
Sorry, I am using version 1.2.2 igor.vaynberg wrote: what version of wicket are you using? i thought we added support for setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it will be in 1.2.3 -Igor On 10/16/06, De Soca [EMAIL PROTECTED] wrote: Hello all, I

[Wicket-user] wicket-contrib-data-ejb3

2006-10-16 Thread cowwoc
Hi, There exists a module called wicket-contrib-data-hibernate-3.0. Are there plans for releasing wicket-contrib-data-ejb3 in the near future? I know Cheeser was working on one but I don't know how far along it is. Thanks, Gili signature.asc Description: OpenPGP digital signature

Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread De Soca
When approx. is 1.2.3 due out? Frank Bille wrote: We did add support for it in 1.2.2. Is that the version you use, De Soca? Frank On 10/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? i thought we added support for setResponsePage() from an ajax

Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread Igor Vaynberg
soon :)-IgorOn 10/16/06, De Soca [EMAIL PROTECTED] wrote: When approx. is 1.2.3 due out?Frank Bille wrote: We did add support for it in 1.2.2. Is that the version you use, De Soca? Frank On 10/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? i thought we added

[Wicket-user] wicket-stuff commit rights

2006-10-16 Thread cowwoc
Hi Martijn, I wanted to commit some updated to the wicket-contrib-auth-class-roles module which I am the author of but SVN won't accept my sourceforge username/password. Is it possible my commit rights went away again? Please verify what the problem is and let me know when I can commit

Re: [Wicket-user] wicket-stuff commit rights

2006-10-16 Thread cowwoc
Sorry for mistakenly posting this to the entire list :( Serves me right for clicking Reply all :) On a sidenote, this turned out to be due to sf.net weirdness. I needed to explicitly logout, change my password and log back in to my sf.net account and that seemed to resolve it.

Re: [Wicket-user] wicket-stuff commit rights

2006-10-16 Thread Martijn Dashorst
Due to a security breach a couple of months ago, sf.net had to reset all passwords. Probably this is what caused your problems. Martijn On 10/17/06, cowwoc [EMAIL PROTECTED] wrote: Sorry for mistakenly posting this to the entire list :( Serves me right for clicking Reply all :)

[Wicket-user] shades ibiblio

2006-10-16 Thread Geoff hendrey
Man, getting my maven project up on ibiblio is like applying for a mortgage or something! Well, hopefully it will be uploaded soon by the great gatekeepers. Anyway, as soon as it is on ibiblio, I can checkin the phonebook with shades support. I don't want to check it in before shades is on