commandButton get always focus

UI Components for JSF
Post Reply
kanikman
Posts: 111
Joined: 20 Nov 2009, 02:53
Location: Poland
Contact:

31 Mar 2011, 02:40

There is a problem with comadndbutton. I have command buttons to call action on selected row. The problem occurs when i select row. after that first commandButton in tool bar get focus. I use inplace in dataTable, when row is selected and inplace input is edited you want to press enter to submit value but commandButton has focus and action is called binding to the button. Every row selection and action on web site makes focus on commandButton.

In browser like firefox or ie focus is invisible but (you see it after selecting row in a table or click everywhere on site and press enter ;)) when i run my application in eclipse focus is visible as a commandButton black border. (eclipse uses own internal browser).

Is it possible to get rid of such behfavior of commandButton?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests