How about an AjaxBehavior with the onChange event?
Assuming you mean AjaxEventBehavior (because I couldn't find any
AjaxBehavior class), I tried with change, onChange and onchange
strings as event, but none of them seemed to work: the onEvent method was
never called.
On Jun 11, 2014, at 9:10
OnChangeAjaxBehavior is the right way.
It uses either 'input' event when supported or 'cut'+'paste'+'keydown' when
'input' is not supported by the browser.
Which browser do you use ?
You can always use AjaxFormComponentUpdatingBehavior(keyup) but it will
fire even when you use keys like ESC, F2,
OnChangeAjaxBehavior is the right way.
It uses either 'input' event when supported or 'cut'+'paste'+'keydown'
when
'input' is not supported by the browser.
Which browser do you use ?
Tested with IceWeasel 24.4.0, Chrome 33 for Linux and Firefox 27 for Windows.
You can always use
Well, by hidden do you mean an input type of hidden or not present on the
DOM?
I mean that I used jQuery to slideUp() the containing div in the
$(document).ready(), so that when the page loads the div is not visible
to the user and it becomes visible on some other event.
Is there a request made by the browser to the server when you type
something in these input fields ?
we need more information to find out where is the problem - at the client
side or at the server
Martin Grigorov
Wicket Training and Consulting
On Wed, Jun 11, 2014 at 11:34 AM, Lucio Crusca
Martin was right, there were Javascript errors, but for some reason the
webconsole didn't display them the first time I looked at it.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
Martin was right, there were Javascript errors, but for some reason the
webconsole didn't display them the first time I looked at it.
However the problem is only partially solved. onUpdate() now gets called,
but only when the TextField looses focus. I need it to be called on every
single
How about an AjaxBehavior with the onChange event?
On Jun 11, 2014, at 9:10 AM, Lucio Crusca lu...@sulweb.org wrote:
Martin was right, there were Javascript errors, but for some reason the
webconsole didn't display them the first time I looked at it.
However the problem is only partially
everything looks OK to me
check whether there are any JS errors in the browser's Dev Tools console.
No errors. Can the fact that the input fields are inside a div that is
initially hidden and then slid down via jQuery make a difference?
Well, by hidden do you mean an input type of hidden or not present on the DOM?
On Jun 10, 2014, at 7:03 PM, Lucio Crusca lu...@sulweb.org wrote:
everything looks OK to me
check whether there are any JS errors in the browser's Dev Tools console.
No errors. Can the fact that the input fields
I need to make a calculator like this:
input text field x some fixed float value = the result
input text field x some other fixed float value = the other result
... and so on for a variable number of rows...
I need the user to input a number in one of the input text fields.
I need the other
Hi,
On Thu, Jun 5, 2014 at 9:26 PM, Lucio Crusca lu...@sulweb.org wrote:
I need to make a calculator like this:
input text field x some fixed float value = the result
input text field x some other fixed float value = the other result
... and so on for a variable number of rows...
I need
12 matches
Mail list logo