OK. This is what you mean by highlighting. I imagined something else.
In this case you can use JavaScript to accomplish this without using Wicket:
$(document).on('focusin', '#yourTableId td input', function()
{$(this).select();})
Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Jun 16, 2015 at 5:09 PM, sorinev <[email protected]> wrote:
> I don't have the code at hand this very moment, but it goes something like
> this.
>
> The TextField above the table does the onblur like:
>
> tf.add(new AjaxEventBehavior("onBlur", {override onEvent here along with a
> target.addComponent(table)} ...
>
> Then for the table, there is a DataView with a populate item. In populate
> item, those TextFields get setup like:
>
> item.add(new SimpleAttributeModifier("onfocus", "this.select(); return
> true;");
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/TextField-AjaxEventBehavior-onBlur-onEvent-tp4671150p4671194.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>