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

2006-10-15 Thread Erik van Oosten
This is the same problem I reported a few days ago for Wicket 1.2.2. Igor wrote that it was already solved in th 1.x trunk. So maybe this is also the case for the 2.x trunk. Regards, Erik. Caleb Land schreef: When I add a component via ajax that contributes javascript to be executed

[Wicket-user] timeout event

2006-10-15 Thread Ayodeji Aladejebi
please in a situation where my application needs to trigger an event just before a session timeout, what can i do. thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with

[Wicket-user] weightlifter also

2006-10-15 Thread Christiana Logan
I don't watch golf at any other time and hardly ever play - maybe two rounds in as many years. Enter now and you could win. A powerful French conscience and a great friend of Africa, he will be sorely missed by all who love justice and freedom. I would highly recommend giving it a go.

Re: [Wicket-user] timeout event

2006-10-15 Thread Eelco Hillenius
Probably the easiest way to do this is to provide a session listener. That object implements http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html and has to be registered in web.xml. Eelco On 10/15/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: please in a

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

2006-10-15 Thread Caleb Land
I'm using the 2.0 trunk. I think he was referring to the header contribution working when added via ajax. That does appear to work (the correct script reference is made to the autocomplete _javascript_ library), however the code that actually calls the library to create the field in the browser is

Re: [Wicket-user] proof of concept app

2006-10-15 Thread Scott Swank
One weekend later and I'm working on this again. Here's my situation: page - browse panel - cart panel - modal window - - edit item form (inside the modal window) I have an ajax submit button in the EditItemForm. I need to call public void onSubmit(AjaxRequestTarget target, Form f) {

Re: [Wicket-user] timeout event

2006-10-15 Thread Johan Compagner
just before is not possible (as far as i know)it is always after..you can't touch the session then anymore (by using a httpsession listener)so what do you want to do?johan On 10/15/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: please in a situation where my application needs to trigger an

Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-15 Thread Johan Compagner
its very strange that you get loading class things differences with the use of a browser?What could sent IE do different that FF that could result in that kind of behaviour?johan On 10/14/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi,Anyone seen this sort of thing?If I use Firefox, there's nothingin

Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-15 Thread Gwyn Evans
That stumped me, too! I checked with Lynx that was OK too. Unfortunately, (or not, as I need to install this next week) it hasn't repeated itself since I had to reboot my laptop thus restart the (local) appserver (as WinXP wanted to update itself). As a result, there's not much I can do to add

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

2006-10-15 Thread Caleb Land
I've created the same testcase using wicket 1.2.2 and it works correctly in Firefox:http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip I'm looking into the cause of it...On 10/15/06, Caleb Land [EMAIL PROTECTED] wrote: I'm using the 2.0 trunk. I think he was referring to the header

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

2006-10-15 Thread Matej Knopp
Well, I'll try to look at it later today (or tomorrow). The problem is that firefox executes the script automatically, while in other browsers we need to call the scripts in the fragment manually. So I can't affect the order in which the scripts are bing called. I'll see what I can do about 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-15 Thread Caleb Land
Okay. I'm making this up as I go along, so this could be the worst idea ever, but what about scanning a component's response for script tag, putting the contents in the AjaxRequestTarget as _javascript_s, and removing the script tag from the normal component output? From my reading of the source

Re: [Wicket-user] Ajax form and feedback panel

2006-10-15 Thread Scott Swank
I'm not seeing a (target) panel updated as a result of an AjaxSubmitButton. The onSubmit() method delagates to an IVisitor that uses getPage().visitChildren() to find the panel in question. Does that sound like the same bug? public EditItemPanel(String id, Model whsItemModel) { super(id,

Re: [Wicket-user] proof of concept app

2006-10-15 Thread Dirk Markert
Scott,do you really have to get access to the panel from the form? Or can your panel respond to a model change you do in the form?Dirk2006/10/15, Scott Swank [EMAIL PROTECTED]:One weekend later and I'm working on this again.Here's my situation: page- browse panel- cart panel- modal window- - edit