[Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
when using a SubmitLink, double click on the submit button results in submitting the form twice. submitting the form twice results in in unwanted behavior (in some cases, when markup hierarchy changes between submits, it results in a RuntimeException). however, there is no way to update onclick

Re: [Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
that link/ ignore the second request e.g. by setting a variable on your form). Eelco On 11/5/06, Tomer Mevorach [EMAIL PROTECTED] wrote: when using a SubmitLink, double click on the submit button results in submitting the form twice. submitting the form twice results in in unwanted behavior

Re: [Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
On 11/5/06, *Tomer Mevorach* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I prefer not to synchronize it on the server side. The thing that bothers me is that there is no way to add JS code to the onclick event of the submit button, therefore i am using forms

Re: [Wicket-user] inconsistent exception

2006-09-14 Thread Tomer Mevorach
, Nili Nili Adoram wrote: Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi

Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Tomer Mevorach
/06, Tomer Mevorach [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, wicket-ajax.js generates the following error on firefox 1.06: Error: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getResponseHeader

Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Tomer Mevorach
reason why you are not keeping your ffox up to date? -Igor On 9/6/06, * Tomer Mevorach* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I get it consistently in ff 1.06. It never happened to me in ff 1.5. Igor Vaynberg wrote: heh, i have never seen this error before

[Wicket-user] wicket-ajax and firefox 1.06

2006-09-06 Thread Tomer Mevorach
Hi all, wicket-ajax.js generates the following error on firefox 1.06: Error: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getResponseHeader] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame ::

[Wicket-user] inconsistent exception

2006-09-03 Thread Tomer Mevorach
Hi, My application works fine most of the time, however, sometimes an exception indicating a mismatch between java and html component's hierarchy is thrown. I can't think of a test case that generates this exception as it is thrown inconsistently. can anyone please help figure out the problem.

[Wicket-user] wickets versioning

2006-08-30 Thread Tomer Mevorach
hi, I have a versioned page that contains an unvesioned ajax behavior. sometimes after clicking F5 for refresh I get java.lang.IllegalStateException error. disabling pages versioning solves this problem. Is it possible to have a versioned page with an unvesioned ajax behavior?

Re: [Wicket-user] wickets versioning

2006-08-30 Thread Tomer Mevorach
that we can look at please add a bug report with that case. johan On 8/30/06, *Tomer Mevorach* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi, I have a versioned page that contains an unvesioned ajax behavior. sometimes after clicking F5 for refresh I get

[Wicket-user] trying to initialize wickets date picker with server time

2006-08-28 Thread Tomer Mevorach
? Regards, Tomer Johan Compagner wrote: why don't you give the model object that the datepicker component has an inital value? (which is new Date()) johan On 8/23/06, *Tomer Mevorach* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi, I have a DatePicker in my application

Re: [Wicket-user] trying to initialize wickets date picker with server time

2006-08-28 Thread Tomer Mevorach
in calendar-setup.js (wicket-extensions-1.2.2): replace line 158 (if (dateEl)) with if (dateEl (dateEl.value || dateEl.innerHTML)). Regards, Tomer Johan Compagner wrote: please make a patch then we will apply it. johan On 8/28/06, *Tomer Mevorach* [EMAIL PROTECTED] mailto:[EMAIL

Re: [Wicket-user] trying to initialize wickets date picker with server time

2006-08-28 Thread Tomer Mevorach
Thanks. Eelco Hillenius wrote: Applied. Cheers, Eelco On 8/28/06, Tomer Mevorach [EMAIL PROTECTED] wrote: in calendar-setup.js (wicket-extensions-1.2.2): replace line 158 (if (dateEl)) with if (dateEl (dateEl.value || dateEl.innerHTML)). Regards, Tomer Johan Compagner wrote

Re: [Wicket-user] body onload contributors

2006-08-22 Thread Tomer Mevorach
It is not ajax refreshes that makes onload and onunload attributes huge but regular links and data sorting. Regards, Tomer Nili Adoram wrote: We have issued bug number 1544413 about this. However, is there a workaround for this? Currently, after a few ajax refreshes the onLoad attribute is

[Wicket-user] trying to initialize wickets date picker with server time

2006-08-22 Thread Tomer Mevorach
hi, I have a DatePicker in my application and it works fine when its initialized with client machine time. I have problems initializing it with server time. in order to initialize it with server time i use the following DatePickerSettings and DateConverter: private static final DateFormat