• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Loosing focus on a inputText box?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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="#{DATA_ROW.data.glUnit}" size="12" onchange="submit()" valueChangeListener="#{distribLines.modifyBuVCL}" styleClass="#{DATA_ROW.data.buStyle}" >

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

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,


A.Viswanath

 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic