Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loosing focus on a inputText box?

viswanath yadav
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody !

I am loosing the focus of the Text box when i tabbed out from one text box to another. I had a code like this,

<h:inputText id="BUField" value="#{}" size="12" onchange="submit()" valueChangeListener="#{distribLines.modifyBuVCL}" styleClass="#{}" >

<h:inputText id="account" value="#{}" size="6" onchange="submit()" valueChangeListener="#{distribLines.modifyAccountVCL}" styleClass="#{}" >

In the above code, while i am tabbing out from first filed to second field, i am not getting the focus of the curosr, the focus is going to some where else.

Please give me a solution to get the focus of the cursor as for the order of the inputText boxes.

Thanks in Advance,


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic