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

2006-10-16 Thread Erik van Oosten
Have you tried something like the following? new AjaxFallBackLink(id) { public void onClick(AjaxTargetRequest target) { page.replace(changedComponent); if (target != null) { target.addComponent(changedComponent); } } } Regards, Erik. De Soca schreef: > Hello

[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 ibibl

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"

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.

[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 the

Re: [Wicket-user] Open Popup via Ajax

2006-10-16 Thread Igor Vaynberg
you are kinda abusing popup settings class, its not meant to generate _javascript_ for that usecase. the problem is that "return false;" in the js it generates which is mean to abort he current click event. you def dont need ajax to do this, try whats belowprivate static class DoubleClickEditorBeha

[Wicket-user] Open Popup via Ajax

2006-10-16 Thread Karl M. Davis
Hello all,   What I'm trying to do is have a Label that I can double click to open a popup window.  I don't really care if it's Ajax or static _javascript_, I just need it to work.  However, Ajax seemed easiest so I've added the following Ajax behavior to a Label:   <<  private static class

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 thoug

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() f

[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
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: >> >>

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 t

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'

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 t

[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 AjaxRequestTarget#respondCompo

[Wicket-user] Netscape 8.1.2 problems

2006-10-16 Thread Allen James
Has anyone run into issues using AJAX behaviour with Netscape 8.1.2 using the Firefox rendering mode? I am currently using wicket 1.2.2. At first I thought it was maybe just my app, but I tried to run the ajax examples off of http://www.wicket-library.com/wicket-examples/, and I can't get the

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] > > wrote: > > This question is currently not so very imnportant but, for XHTML

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 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

[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. setResponse

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] 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 <>- Using Tomcat but need to do more? Need to suppor

[Wicket-user] Role authorization per page

2006-10-16 Thread ChuckDeal
I am using the RoleAuthorizationStrategy (which uses MetaDataRoleAuthorizationStrategyinternally) in my app and it works fine. I have a user object that has a list of valid roles in the application. What I want to do now is make my pages role-based. For example, if you are an originator, you wo

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 re

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: > > ((MyP

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 woul

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 a

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? Nee

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 > http://svn.apache.org/repos/asf/incubator/

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, > >

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

2006-10-16 Thread Gwyn Evans
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 http://svn.apache.org/repos/asf/incubator/wicket/trunk"; and had no problems (although http://svn.apache.or

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] 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:

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 Wic

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 a

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': Co

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

[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 t

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: > > T

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 Apach

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 g

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 only