> 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 Aja
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,
> 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,
How about an AjaxBehavior with the onChange event?
On Jun 11, 2014, at 9:10 AM, Lucio Crusca 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 solved. o
> 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 key
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:
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 wrot
> 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 in the
$(document).ready(), so that when the page loads the is not visible
to the user and it becomes visible on some other event.
--
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 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 are inside
> 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?
---
Hi,
On Thu, Jun 5, 2014 at 9:26 PM, Lucio Crusca wrote:
> I need to make a calculator like this:
>
> x =
> x =
> ... 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 input text fields to update themselves
11 matches
Mail list logo