• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

reply
    Bookmark Topic Watch Topic
  • New Topic